<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>cocos2d for iPhone &#187; Tag: mail - Recent Posts</title>
		<link>http://www.cocos2d-iphone.org/forum/tags/mail</link>
		<description>A fast, easy to use, free, and community supported 2D game engine</description>
		<language>en-US</language>
		<pubDate>Fri, 10 Feb 2012 01:14:11 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.cocos2d-iphone.org/forum/search.php</link>
		</textInput>
		<atom:link href="http://www.cocos2d-iphone.org/forum/rss/tags/mail" rel="self" type="application/rss+xml" />

		<item>
			<title>knightkrows on "I&#039;m sharing some of my source code ..."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/4475#post-138927</link>
			<pubDate>Tue, 10 Jan 2012 16:22:48 +0000</pubDate>
			<dc:creator>knightkrows</dc:creator>
			<guid isPermaLink="false">138927@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Sharekit is awesome...</p>
<p>Just only a little correction on sharekit...</p>
<p>replace below three lines in SHKTwitter.m (if they are like as below)</p>
<p>self.authorizeURL = [NSURL URLWithString:@"https://twitter.com/oauth/authorize"];<br />
self.requestURL = [NSURL URLWithString:@"https://twitter.com/oauth/request_token"];<br />
self.accessURL = [NSURL URLWithString:@"https://twitter.com/oauth/access_token"]; </p>
<p>WITH</p>
<p>self.authorizeURL = [NSURL URLWithString:@"https://api.twitter.com/oauth/authorize"];<br />
self.requestURL = [NSURL URLWithString:@"https://api.twitter.com/oauth/request_token"];<br />
self.accessURL = [NSURL URLWithString:@"https://api.twitter.com/oauth/access_token"]; </p>
<p>Thanks,<br />
knightkrows
</p></description>
		</item>
		<item>
			<title>hactar on "I&#039;m sharing some of my source code ..."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/4475#post-138925</link>
			<pubDate>Tue, 10 Jan 2012 16:17:11 +0000</pubDate>
			<dc:creator>hactar</dc:creator>
			<guid isPermaLink="false">138925@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Google sharekit. Its probably what you're looking for.
</p></description>
		</item>
		<item>
			<title>elsevero on "I&#039;m sharing some of my source code ..."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/4475#post-138921</link>
			<pubDate>Tue, 10 Jan 2012 15:53:17 +0000</pubDate>
			<dc:creator>elsevero</dc:creator>
			<guid isPermaLink="false">138921@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Guys, anyone had to deal with public APIs for image sharing? Trying to find some public APIs (e.g. TinyPic, ImageShack and many others) for storing my screenShot image to them and post the image link to FB wall...</p>
<p>Thanks! :)
</p></description>
		</item>
		<item>
			<title>abitofcode on "send email from my game"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/21934#post-121944</link>
			<pubDate>Tue, 18 Oct 2011 19:52:14 +0000</pubDate>
			<dc:creator>abitofcode</dc:creator>
			<guid isPermaLink="false">121944@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Probably worth clarifying which version of cocos2d you're working with. I'd assumed an earlier version prior to the rootViewController being added (which as @<a href='http://www.cocos2d-iphone.org/forum/profile/12422'>clarus</a> points out would make life a lot simpler).</p>
<p>The version number is in the file cocos2d.m as an NSString.</p>
<p>It's probably worth getting the latest version if you've not already got it, creating a new project from the hello world template and adding Mail functionality to that to test that everything works as it should.
</p></description>
		</item>
		<item>
			<title>clarus on "send email from my game"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/21934#post-121942</link>
			<pubDate>Tue, 18 Oct 2011 19:32:32 +0000</pubDate>
			<dc:creator>clarus</dc:creator>
			<guid isPermaLink="false">121942@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>&#62;&#62; @<a href='http://www.cocos2d-iphone.org/forum/profile/48863'>cocosgame</a> HOW????how can i use the rootViewcontroller ?? </p>
<p>You display the MFMailComposeController modally in the view controller. I assume you've read all the docs at Apple on that and looked over the examples at Apple and on the web. Are you having trouble integrating those?</p>
<p>Go to Apple and read about UIViewControllers, AppDelegates and properties and then use the root UIViewController as I said 9 posts up. This is trivial if you understand the pieces you're working with. There's no need to use a view controller other than root or mess with views. If this is gibberish, you simply need to read some Apple docs.
</p></description>
		</item>
		<item>
			<title>abitofcode on "send email from my game"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/21934#post-121929</link>
			<pubDate>Tue, 18 Oct 2011 17:58:16 +0000</pubDate>
			<dc:creator>abitofcode</dc:creator>
			<guid isPermaLink="false">121929@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>This is from an old version of a project but it may help (not sure which bit you're having trouble with). I had a cocos2d view with a separate interface using UIKit controls over the top. These controls were handled by my interfaceViewController and in here I handled the opening and closing of the Mail composer, I've attached what I think are the relevant bits. I made interfaceViewController a property of the app delegate.</p>
<p>It was all a bit messy but it was a prototype.</p>
<pre><code>glView = [EAGLView viewWithFrame:[window bounds]
								   pixelFormat:kEAGLColorFormatRGB565	// kEAGLColorFormatRGBA8
								   depthFormat:0						// GL_DEPTH_COMPONENT16_OES
							preserveBackbuffer:NO];

	// attach the openglView to the director
	[director setOpenGLView:glView];

        ...

	interfaceViewController = [[InterfaceViewController alloc] init]; // calls above method
	interfaceViewController.wantsFullScreenLayout = YES;

	[glView addSubview: [interfaceViewController view]];
	[[interfaceViewController view] setMultipleTouchEnabled:YES];
	[window addSubview: glView];</code></pre></description>
		</item>
		<item>
			<title>cocosGame on "send email from my game"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/21934#post-121923</link>
			<pubDate>Tue, 18 Oct 2011 17:33:45 +0000</pubDate>
			<dc:creator>cocosGame</dc:creator>
			<guid isPermaLink="false">121923@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>@<a href='http://www.cocos2d-iphone.org/forum/profile/1222'>abitofcode</a> thanks for replay :D</p>
<p>Actually yes i saw it yesterday , but i fall in the same problem,</p>
<p>Really i know how to implement MFMailComposeController but the problem begins when<br />
the user click on + singe to add emails..., the view for adding mails (choose email from contact) appears in<br />
bad way and some time it dose not appears :)
</p></description>
		</item>
		<item>
			<title>abitofcode on "send email from my game"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/21934#post-121921</link>
			<pubDate>Tue, 18 Oct 2011 17:26:12 +0000</pubDate>
			<dc:creator>abitofcode</dc:creator>
			<guid isPermaLink="false">121921@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Have you seen this post? -&#62; hhttp://www.cocos2d-iphone.org/forum/topic/3887#post-23263
</p></description>
		</item>
		<item>
			<title>cocosGame on "send email from my game"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/21934#post-121920</link>
			<pubDate>Tue, 18 Oct 2011 17:21:25 +0000</pubDate>
			<dc:creator>cocosGame</dc:creator>
			<guid isPermaLink="false">121920@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>@<a href='http://www.cocos2d-iphone.org/forum/profile/17627'>cocos</a> Shame!!!<br />
when the form being for your own you can told to me like you did :)<br />
i never ever wanaa to put any bad word because i appreciate this forum  :)</p>
<p>To know im very beginner and this is my first game :)<br />
thanks
</p></description>
		</item>
		<item>
			<title>cocos on "send email from my game"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/21934#post-121918</link>
			<pubDate>Tue, 18 Oct 2011 17:15:23 +0000</pubDate>
			<dc:creator>cocos</dc:creator>
			<guid isPermaLink="false">121918@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>@<a href='http://www.cocos2d-iphone.org/forum/profile/48863'>cocosGame</a> do not shame the nick name! There are plenty examples posted on this forum. Use the search box.
</p></description>
		</item>
		<item>
			<title>cocosGame on "send email from my game"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/21934#post-121915</link>
			<pubDate>Tue, 18 Oct 2011 17:08:37 +0000</pubDate>
			<dc:creator>cocosGame</dc:creator>
			<guid isPermaLink="false">121915@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>i did, all the articls i saw was very nice,<br />
i try to use the view controller but the error is  [EAGLView swapBuffers]<br />
!!
</p></description>
		</item>
		<item>
			<title>cocos on "send email from my game"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/21934#post-121914</link>
			<pubDate>Tue, 18 Oct 2011 17:04:04 +0000</pubDate>
			<dc:creator>cocos</dc:creator>
			<guid isPermaLink="false">121914@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>@<a href='http://www.cocos2d-iphone.org/forum/profile/48863'>cocosGame</a> use google first
</p></description>
		</item>
		<item>
			<title>cocosGame on "send email from my game"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/21934#post-121913</link>
			<pubDate>Tue, 18 Oct 2011 17:02:21 +0000</pubDate>
			<dc:creator>cocosGame</dc:creator>
			<guid isPermaLink="false">121913@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>HOW????how can i use the rootViewcontroller ??
</p></description>
		</item>
		<item>
			<title>clarus on "send email from my game"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/21934#post-121906</link>
			<pubDate>Tue, 18 Oct 2011 16:49:43 +0000</pubDate>
			<dc:creator>clarus</dc:creator>
			<guid isPermaLink="false">121906@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Add a view controller if you don't have one, but you may already have one. Check your app delegate. There's probably a root ViewController being used. If so, use that. If not, add a view controller.
</p></description>
		</item>
		<item>
			<title>cocosGame on "send email from my game"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/21934#post-121904</link>
			<pubDate>Tue, 18 Oct 2011 16:38:57 +0000</pubDate>
			<dc:creator>cocosGame</dc:creator>
			<guid isPermaLink="false">121904@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Hi all..<br />
i need way to let my game send email<br />
i used MFMailComposeController<br />
BUT it need view controller to display and dismiss and i do not have one !!</p>
<p>how can i built this in my game ??</p>
<p>Thanks
</p></description>
		</item>
		<item>
			<title>sascsedu on "Sending an email in game with MessageUI"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/3887#post-119217</link>
			<pubDate>Sun, 02 Oct 2011 08:01:16 +0000</pubDate>
			<dc:creator>sascsedu</dc:creator>
			<guid isPermaLink="false">119217@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>I have done everything that are described here. But still my view opens with portrait view in Landscape mode. I  am not getting my problem. Can anyone help me in this regard?</p>
<p>Here is my Code. DO i need to change anything more. I have linked MessageUI framework in my project.</p>
<pre><code>-(void) mailCallback: (id) sender {
    //self = [super init];
    NSLog(@&#34;I am in mail callback&#34;);
    [self displayComposerSheet];

}

-(void) displayComposerSheet
{
    NSLog(@&#34;Now I am in the ComposeSheet funtion&#34;);
    NSArray *toRecipients = [NSArray arrayWithObject:@&#34;sajeebcsedu@gmail.com&#34;];
    [[CCDirector sharedDirector] pause];
    [[CCDirector sharedDirector] stopAnimation];
    emailController = [[UIViewController alloc] init];
    [emailController setView:[[CCDirector sharedDirector] openGLView]];
    picker =[[MFMailComposeViewController alloc] init];
    picker.mailComposeDelegate=self;
    [picker setToRecipients:toRecipients];
    [picker setSubject:@&#34;TEST&#34;];
    [picker setMessageBody:@&#34;JAJAJA&#34; isHTML:YES];

    [emailController presentModalViewController:picker animated:YES];
    [picker release];
}

-(void)mailComposeController:(MFMailComposeViewController *)controller didFinishWithResult:(MFMailComposeResult)result error:(NSError *)error
{
    [[CCDirector sharedDirector] resume];
    [[CCDirector sharedDirector] startAnimation];

    [[CCDirector sharedDirector] replaceScene: [CCTransitionFadeDown transitionWithDuration:1.0f scene:[HelloWorldLayer node]]];
    [controller dismissModalViewControllerAnimated:NO];
}</code></pre></description>
		</item>
		<item>
			<title>SUPERMANDT on "Sending an email in game with MessageUI"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/3887#post-106894</link>
			<pubDate>Mon, 25 Jul 2011 12:32:44 +0000</pubDate>
			<dc:creator>SUPERMANDT</dc:creator>
			<guid isPermaLink="false">106894@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>This works perfect for me:</p>
<p>-(void)displayComposerSheet<br />
{</p>
<p>	[[CCDirector sharedDirector] pause];<br />
	[[CCDirector sharedDirector] stopAnimation];</p>
<p>	MFMailComposeViewController *picker = [[MFMailComposeViewController alloc] init];<br />
	picker.mailComposeDelegate = self;<br />
	[picker setSubject:@"T-Rex Math Stomper Report"];<br />
	[picker setMessageBody:@"results will go here" isHTML:YES];<br />
	CGAffineTransform landscapeTransform = CGAffineTransformMakeRotation( 1.570796327 ); // 90 degrees in radian<br />
	[picker.view setTransform:landscapeTransform];</p>
<p>	[emailController presentModalViewController:picker animated:YES];<br />
	[picker release];</p>
<p>}<br />
- (void)mailComposeController:(MFMailComposeViewController*)controller didFinishWithResult:(MFMailComposeResult)result error:(NSError*)error<br />
{<br />
	[[CCDirector sharedDirector] resume];<br />
	[[CCDirector sharedDirector] startAnimation];<br />
	[controller dismissModalViewControllerAnimated:NO];</p>
<p>}</p>
<p><a href="http://www.DashyApps.com" rel="nofollow">http://www.DashyApps.com</a>
</p></description>
		</item>
		<item>
			<title>KingIsulgard on "Mailing from within iPhone/iPad application with an (PDF) attachment"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/16931#post-95396</link>
			<pubDate>Wed, 25 May 2011 12:08:49 +0000</pubDate>
			<dc:creator>KingIsulgard</dc:creator>
			<guid isPermaLink="false">95396@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Ok I've been looking on the internet and I found a solution. It's fairly easy actually.</p>
<p>You should just do like this.</p>
<pre><code>NSString *filePath = [[NSBundle mainBundle] pathForResource: @&#34;file&#34; ofType: @&#34;pdf&#34;];
    NSData *pdfData = [NSData dataWithContentsOfFile: filePath];
    [mailController addAttachmentData: pdfData mimeType:@&#34;application/pdf&#34; fileName:@&#34;file.pdf&#34;];</code></pre>
<p>This works with any kind of filetype. Just make sure you set the right mimetype: <a href="http://www.w3schools.com/media/media_mimeref.asp" rel="nofollow">http://www.w3schools.com/media/media_mimeref.asp</a>
</p></description>
		</item>
		<item>
			<title>KingIsulgard on "Mailing from within iPhone/iPad application with an (PDF) attachment"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/16931#post-95383</link>
			<pubDate>Wed, 25 May 2011 09:49:30 +0000</pubDate>
			<dc:creator>KingIsulgard</dc:creator>
			<guid isPermaLink="false">95383@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Hi all, </p>
<p>I want to know how to mail a PDF file by email with my iPhone/iPad app based on a resource URL.</p>
<p>I guess it would be something like<br />
<pre><code>MFMailComposeViewController *mailController = [[MFMailComposeViewController alloc] init];
        mailController.mailComposeDelegate = self;

        [mailController setSubject:@&#34;Subject&#34;];

        [mailController addAttachmentData:pdfData
                                 mimeType:@&#34;application/pdf&#34;
                                 fileName:@&#34;file.pdf&#34;];

        [mailController setMessageBody:@&#34;Body&#34; isHTML:NO];
        [self presentModalViewController:mailController animated:YES];
        [mailController release];</code></pre>
<p>But I don't now how to create the pdfData.
</p></description>
		</item>
		<item>
			<title>eviljack on "Sending an email in game with MessageUI"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/3887#post-78618</link>
			<pubDate>Fri, 25 Feb 2011 22:33:27 +0000</pubDate>
			<dc:creator>eviljack</dc:creator>
			<guid isPermaLink="false">78618@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>cybergreg you sir, rock.
</p></description>
		</item>
		<item>
			<title>Mochibits on "Sending an email in game with MessageUI"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/3887#post-78178</link>
			<pubDate>Wed, 23 Feb 2011 16:58:16 +0000</pubDate>
			<dc:creator>Mochibits</dc:creator>
			<guid isPermaLink="false">78178@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>@<a href='http://www.cocos2d-iphone.org/forum/profile/559'>cybergreg</a>: thanks for the blog post. works great.
</p></description>
		</item>
		<item>
			<title>gangcil on "Sending an email in game with MessageUI"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/3887#post-68880</link>
			<pubDate>Thu, 30 Dec 2010 10:44:45 +0000</pubDate>
			<dc:creator>gangcil</dc:creator>
			<guid isPermaLink="false">68880@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>@<a href='http://www.cocos2d-iphone.org/forum/profile/559'>cybergreg</a>: thanks for you nice blog and sample code.........it really works for me...
</p></description>
		</item>
		<item>
			<title>Joethemonkey101 on "Trouble with UIViewController and Integrating Mail"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/10757#post-62207</link>
			<pubDate>Sat, 06 Nov 2010 13:46:04 +0000</pubDate>
			<dc:creator>Joethemonkey101</dc:creator>
			<guid isPermaLink="false">62207@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>Thanks! The only thing is that in the app delegate, I get a warning saying EAGLView may not respond to this line.<br />
	<code>EAGLView *glView = [EAGLView viewWithFrame:[window bounds] pixelFormat:kEAGLColorFormatRGBA8 depthFormat:GL_DEPTH_COMPONENT24_OES preserveBackBuffer:NO];</code></p>
<p>And also, how do I add the viewController to the CCLayer?
</p></description>
		</item>
		<item>
			<title>Benihana on "Trouble with UIViewController and Integrating Mail"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/10757#post-62181</link>
			<pubDate>Sat, 06 Nov 2010 02:48:52 +0000</pubDate>
			<dc:creator>Benihana</dc:creator>
			<guid isPermaLink="false">62181@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>I can't find the article and I have to run. Until then, you can see if this code works for you. I'm not using the cutting edge cocos2d in this project, so there might be issues with yours (specifically autorotation or scaling):</p>
<p>STViewController.h<br />
<pre><code>#<a href='http://www.cocos2d-iphone.org/forum/tags/import'>import</a> &#60;UIKit/UIKit.h&#62;
#<a href='http://www.cocos2d-iphone.org/forum/tags/import'>import</a> &#34;cocos2d.h&#34;

@interface STViewController : UIViewController {

	// weak reference
	EAGLView *glView;
}

@end:</code></pre>
<p>STViewController.m<br />
<pre><code>#<a href='http://www.cocos2d-iphone.org/forum/tags/import'>import</a> &#34;STViewController.h&#34;

@implementation STViewController

// Rotate manually using CCDirector
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
	// IMPORTANT:
	// InterfaceOrientation is the opposite of DeviceOrientation
	if( interfaceOrientation == UIInterfaceOrientationLandscapeLeft ) {
		[[CCDirector sharedDirector] setDeviceOrientation: kCCDeviceOrientationLandscapeRight];
	} else if( interfaceOrientation == UIInterfaceOrientationLandscapeRight) {
		[[CCDirector sharedDirector] setDeviceOrientation: kCCDeviceOrientationLandscapeLeft];
	}

	// MUST return NO.
	return NO;
}

- (void)didReceiveMemoryWarning {
    // Releases the view if it doesn&#39;t have a superview.
    [super didReceiveMemoryWarning];

    // Release any cached data, images, etc that aren&#39;t in use.
}

- (void)viewDidUnload {
    [super viewDidUnload];
    // Release any retained subviews of the main view.
    // e.g. self.myOutlet = nil;
}

- (void)dealloc {
    [super dealloc];
}

@end</code></pre>
<p>Then in your delegate:<br />
<pre><code>window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];

	CCDirector *director = [CCDirector sharedDirector];

	// Init the UI View Controller
	viewController = [[STViewController alloc] initWithNibName:nil bundle:nil];
	viewController.wantsFullScreenLayout = YES;

	EAGLView *glView = [EAGLView viewWithFrame:[window bounds]
								   pixelFormat:kEAGLColorFormatRGBA8
								   depthFormat:GL_DEPTH_COMPONENT24_OES
							preserveBackbuffer:NO];

	// attach the openglView to the director
	[director setOpenGLView:glView];

	// Set the initial orientation. eg: Landscape Left
	[director setDeviceOrientation:kCCDeviceOrientationLandscapeLeft];

	// make the OpenGLView a child of the view controller
	[viewController setView:glView];

	// make the View Controller a child of the main window
	[window addSubview: viewController.view];

	[window makeKeyAndVisible];</code></pre>
<p>plus your runWithScene call at the end of applicationDidFinishLaunching.
</p></description>
		</item>
		<item>
			<title>Joethemonkey101 on "Trouble with UIViewController and Integrating Mail"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/10757#post-62177</link>
			<pubDate>Sat, 06 Nov 2010 02:33:43 +0000</pubDate>
			<dc:creator>Joethemonkey101</dc:creator>
			<guid isPermaLink="false">62177@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>I've been searching around, and I couldn't find anything on declaring view controllers with cocos2d/without IB. Could you point me in the right direction?
</p></description>
		</item>
		<item>
			<title>Joethemonkey101 on "Trouble with UIViewController and Integrating Mail"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/10757#post-62170</link>
			<pubDate>Sat, 06 Nov 2010 01:59:06 +0000</pubDate>
			<dc:creator>Joethemonkey101</dc:creator>
			<guid isPermaLink="false">62170@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>@<a href='http://www.cocos2d-iphone.org/forum/profile/16943'>Benihana</a>, I didn't know ObjC doesn't support multi-inheritance. Thanks. Also, I didn't know how to use view controllers. I'll search it up on Youtube and Google :)</p>
<p>Thanks
</p></description>
		</item>
		<item>
			<title>Benihana on "Trouble with UIViewController and Integrating Mail"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/10757#post-62166</link>
			<pubDate>Sat, 06 Nov 2010 01:21:31 +0000</pubDate>
			<dc:creator>Benihana</dc:creator>
			<guid isPermaLink="false">62166@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>It sounds like you're trying to do multiple inheritance, which Objective-C does not support. Also note that if you used a protocol, you'd be responsible for implementing all the code from UIViewController, as a protocol only specifies what methods an object will implement, not the implementation itself.</p>
<p>Is there some reason you need the CCLayer to also be a UIViewController, and can't just declare a view controller, and add the CCLayer to it?
</p></description>
		</item>
		<item>
			<title>Joethemonkey101 on "Trouble with UIViewController and Integrating Mail"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/10757#post-62160</link>
			<pubDate>Sat, 06 Nov 2010 00:51:54 +0000</pubDate>
			<dc:creator>Joethemonkey101</dc:creator>
			<guid isPermaLink="false">62160@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>@<a href='http://www.cocos2d-iphone.org/forum/profile/3916'>liquidfire</a> I know, but as I said, ClassName : UIViewController doesn't work either, because I need it to be CCLayer.
</p></description>
		</item>
		<item>
			<title>liquidfire on "Trouble with UIViewController and Integrating Mail"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/10757#post-62154</link>
			<pubDate>Fri, 05 Nov 2010 23:07:28 +0000</pubDate>
			<dc:creator>liquidfire</dc:creator>
			<guid isPermaLink="false">62154@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>That's because <code>UIViewController</code> is a class, not a protocol.
</p></description>
		</item>
		<item>
			<title>Joethemonkey101 on "Trouble with UIViewController and Integrating Mail"</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/10757#post-62144</link>
			<pubDate>Fri, 05 Nov 2010 21:25:12 +0000</pubDate>
			<dc:creator>Joethemonkey101</dc:creator>
			<guid isPermaLink="false">62144@http://www.cocos2d-iphone.org/forum/</guid>
			<description><p>I tried to do this<br />
<pre><code>@interface ClassName : CCLayer &#60;MFMailComposeViewControllerDelegate, UINavigationControllerDelegate, UIViewController&#62; {</code></pre>
<p>But I get 4 errors saying Cannot find protocol declaration for UIViewController.
</p></description>
		</item>

	</channel>
</rss>

