<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<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; Topic: I&#039;m sharing some of my source code ...</title>
		<link>http://www.cocos2d-iphone.org/forum/topic/4475</link>
		<description>A fast, easy to use, free, and community supported 2D game engine</description>
		<language>en-US</language>
		<pubDate>Wed, 08 Sep 2010 12:20:47 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</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/topic/4475" rel="self" type="application/rss+xml" />

		<item>
			<title>cocos0d on "I&#039;m sharing some of my source code ..."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/4475#post-36922</link>
			<pubDate>Mon, 10 May 2010 14:42:04 +0000</pubDate>
			<dc:creator>cocos0d</dc:creator>
			<guid isPermaLink="false">36922@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;Got it sorted - should've realized that 'itemLimit' referred to the number of rows OR columns depending on your fillStyle. Cheers.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cocos0d on "I&#039;m sharing some of my source code ..."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/4475#post-36901</link>
			<pubDate>Mon, 10 May 2010 12:14:13 +0000</pubDate>
			<dc:creator>cocos0d</dc:creator>
			<guid isPermaLink="false">36901@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;Sorry, newbie here - but I'm playing around with MenuGrid and I can only seem to display either the rows or the columns. Ideally, I'd like to display a grid of rows and columns centered on the screen, but I'm not sure how.&#60;/p&#62;
&#60;p&#62;Here is my code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// Init the array
NSMutableArray *itemArray = [[NSMutableArray alloc] initWithCapacity:kItemCount];

// Add an image for each menu item
for (int i = 0; i &#38;lt; kItemCount; ++i) {
 CCMenuItemImage *item = [CCMenuItemImage itemFromNormalImage:@&#38;quot;someImage.png&#38;quot; selectedImage:@&#38;quot;someImage.png&#38;quot; target:self selector: @selector(doSomething:)];
			 [itemArray addObject:item];
}

// Create the grid
MenuGrid *newGrid = [MenuGrid menuWithArray: itemArray fillStyle: kMenuGridFillColumnsFirst itemLimit: kItemCount padding: padding];

// Position the grid and add it to layer
newGrid setPosition:ccp(size.width/10,size.height/1.25)];
[self addChild:newGrid];&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Any help is greatly appreciated!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Narinder on "I&#039;m sharing some of my source code ..."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/4475#post-36625</link>
			<pubDate>Fri, 07 May 2010 17:00:08 +0000</pubDate>
			<dc:creator>Narinder</dc:creator>
			<guid isPermaLink="false">36625@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;I am able to display mail in landscape mode using code mentioned by gaminghorror. Just add the following code in your scene&#60;br /&#62;
    SendMail *sendMail = [[SendMail alloc] init];&#60;br /&#62;
    sendMail.isHTMLBody = YES;&#60;br /&#62;
    [sendMail displayMailComposer];&#60;br /&#62;
    [[[CCDirector sharedDirector] openGLView] addSubview:sendMail.view];&#60;br /&#62;
    [sendMail presentModalViewController:sendMail animated:YES];&#60;br /&#62;
    [sendMail release];       &#60;/p&#62;
&#60;p&#62;and comment the following code in mailComposeController:(MFMailComposeViewController*)controller didFinishWithResult: methood in SendMail.&#60;/p&#62;
&#60;p&#62;//	[self dismissModalViewControllerAnimated:NO];
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Narinder on "I&#039;m sharing some of my source code ..."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/4475#post-36601</link>
			<pubDate>Fri, 07 May 2010 12:41:10 +0000</pubDate>
			<dc:creator>Narinder</dc:creator>
			<guid isPermaLink="false">36601@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;Anyone able to display mail in landscape ? i have tried all as mentioned in this post. But its not working properly in landscape mode.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Macdude93 on "I&#039;m sharing some of my source code ..."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/4475#post-35927</link>
			<pubDate>Fri, 30 Apr 2010 17:22:23 +0000</pubDate>
			<dc:creator>Macdude93</dc:creator>
			<guid isPermaLink="false">35927@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;Ah . . . It worked beautifully.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jd on "I&#039;m sharing some of my source code ..."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/4475#post-35895</link>
			<pubDate>Fri, 30 Apr 2010 12:03:37 +0000</pubDate>
			<dc:creator>jd</dc:creator>
			<guid isPermaLink="false">35895@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;Try children_.  cocos2d ivars now have _ appended to the end.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Macdude93 on "I&#039;m sharing some of my source code ..."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/4475#post-35866</link>
			<pubDate>Fri, 30 Apr 2010 05:25:13 +0000</pubDate>
			<dc:creator>Macdude93</dc:creator>
			<guid isPermaLink="false">35866@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;Has anyone had problems using MenuGrid?  I get errors with the &#34;children&#34; in the for loop?  How do I fix this to update it with the latest cocos2d?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>hm50 on "I&#039;m sharing some of my source code ..."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/4475#post-31942</link>
			<pubDate>Mon, 29 Mar 2010 02:21:17 +0000</pubDate>
			<dc:creator>hm50</dc:creator>
			<guid isPermaLink="false">31942@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;@&#60;a href='http://www.cocos2d-iphone.org/forum/profile/212'&#62;Shivaz&#60;/a&#62;, THANK YOU for replying. I have it working, except for the rotation to landscape, that only happens in the iPad sim. Also do you experience a long delay with the email fields being filled on the device? I am not using the pause layer, as I am using the email from my main menu anyway. &#60;/p&#62;
&#60;p&#62;It would be really nice to have it in landscape obviously, but the delay filling the fields is bothersome.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>shivaz on "I&#039;m sharing some of my source code ..."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/4475#post-31869</link>
			<pubDate>Sun, 28 Mar 2010 14:13:51 +0000</pubDate>
			<dc:creator>shivaz</dc:creator>
			<guid isPermaLink="false">31869@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;For those who are interested in NSNotification - here is another quick post outlining my understanding and how I use it in my app.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.cocos2d-iphone.org/forum/topic/5334#post-31868&#34; rel=&#34;nofollow&#34;&#62;http://www.cocos2d-iphone.org/forum/topic/5334#post-31868&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>shivaz on "I&#039;m sharing some of my source code ..."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/4475#post-31866</link>
			<pubDate>Sun, 28 Mar 2010 13:55:33 +0000</pubDate>
			<dc:creator>shivaz</dc:creator>
			<guid isPermaLink="false">31866@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;Okay, well I didn't get any response - but I have been asked if I did get it working, and if I could share. So for those who are struggling with joining the dots - here is what I have. Didn't quite go with above, though I am sure I used some of it, and I didn't quite go with stuff from other posts - though there were a few really good helps out there. Gathered a bit off Apple directly, and made some up. Maybe not the best way to do it - but maybe it will be helpful for some. Note, I have recently discovered the joys of NSNotification - and I am probably over using it - but it does make what I was trying to do here easier. If you have not seen them used - they are really worth it. Though I have not tested on a device yet - so I maybe completely disappointed with performance hit.&#60;/p&#62;
&#60;p&#62;Files:&#60;br /&#62;
MailViewController.h/m&#60;br /&#62;
EmailScene.h/m&#60;br /&#62;
PauseMenuLayer.h/m&#60;/p&#62;
&#60;p&#62;MailViewController is required so that your UIViewController rotates to Landscape mode. Somehow I had this all working without doing that, but then when I came to submit my app - it stopped working! So after a bit of trial and error - this finally worked for me.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;//  MailViewController.h
#&#60;a href='http://www.cocos2d-iphone.org/forum/tags/import'&#62;import&#60;/a&#62; &#38;lt;Foundation/Foundation.h&#38;gt;
@interface MailViewController : UIViewController {
}
@end&#60;/code&#62;&#60;/pre&#62;
&#60;pre&#62;&#60;code&#62;//  MailViewController.m
#&#60;a href='http://www.cocos2d-iphone.org/forum/tags/import'&#62;import&#60;/a&#62; &#38;quot;MailViewController.h&#38;quot;
@implementation MailViewController
- (id) init {
    self = [super init];
    return self;
}

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
	return YES;
}
@end&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;EmailScene is the heart of the solution&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;//  EmailScene.h
#&#60;a href='http://www.cocos2d-iphone.org/forum/tags/import'&#62;import&#60;/a&#62; &#38;quot;cocos2d.h&#38;quot;
#&#60;a href='http://www.cocos2d-iphone.org/forum/tags/import'&#62;import&#60;/a&#62; &#38;lt;Foundation/Foundation.h&#38;gt;
#&#60;a href='http://www.cocos2d-iphone.org/forum/tags/import'&#62;import&#60;/a&#62; &#38;lt;UIKit/UIKit.h&#38;gt;
#&#60;a href='http://www.cocos2d-iphone.org/forum/tags/import'&#62;import&#60;/a&#62; &#38;lt;MessageUI/MessageUI.h&#38;gt;
#&#60;a href='http://www.cocos2d-iphone.org/forum/tags/import'&#62;import&#60;/a&#62; &#38;lt;MessageUI/MFMailComposeViewController.h&#38;gt;

@class MailViewController;

@interface EmailScene : CCScene &#38;lt;MFMailComposeViewControllerDelegate&#38;gt;
{
	UILabel *message;
	MFMailComposeViewController *picker;
	UIImage *emailImage;
	MailViewController* emailController;
}

@property (nonatomic, retain) UILabel *message;
@property (nonatomic, retain) UIImage *emailImage;
-(void)displayComposerSheet;
- (id) initWithImage:(UIImage *)myImage;

@end&#60;/code&#62;&#60;/pre&#62;
&#60;pre&#62;&#60;code&#62;//  EmailScene.m

#&#60;a href='http://www.cocos2d-iphone.org/forum/tags/import'&#62;import&#60;/a&#62; &#38;quot;EmailScene.h&#38;quot;
#&#60;a href='http://www.cocos2d-iphone.org/forum/tags/import'&#62;import&#60;/a&#62; &#38;quot;MainMenuScene.h&#38;quot;
#&#60;a href='http://www.cocos2d-iphone.org/forum/tags/import'&#62;import&#60;/a&#62; &#38;quot;MailViewController.h&#38;quot;

@implementation EmailScene

@synthesize message,emailImage;

- (id) init {
    self = [super init];
    if (self != nil) {
		[self displayComposerSheet];
    }
    return self;
}

- (id) initWithImage:(UIImage *)myImage
{
    self = [super init];
    if (self != nil) {
		self.emailImage = myImage;
		[self displayComposerSheet];
    }
    return self;
}

// Displays an email composition interface inside the application. Populates all the Mail fields.
-(void)displayComposerSheet
{
	[[CCDirector sharedDirector] pause];
	emailController = [[MailViewController alloc] init];
	[emailController setView:[[CCDirector sharedDirector] openGLView]];

	picker = [[MFMailComposeViewController alloc] init];
	picker.mailComposeDelegate = self;

	//Fill in the email as you see fit
	[picker setSubject:@&#38;quot;Subject of Email&#38;quot;];

	// Attach an image to the email
	NSData *myData = [NSData dataWithData:UIImagePNGRepresentation(self.emailImage)];
	[picker addAttachmentData:myData mimeType:@&#38;quot;image/png&#38;quot; fileName:@&#38;quot;myimage&#38;quot;];

	// Fill out the email body text
	NSString *emailBody = @&#38;quot;My email, from me to you!&#38;quot;;
	[picker setMessageBody:emailBody isHTML:NO];

	//display the view
	[[[CCDirector sharedDirector] openGLView] addSubview:picker.view];
	[emailController presentModalViewController:picker animated:YES];
	[picker release];
}

// Dismisses the email composition interface when users tap Cancel or Send. Proceeds to update the message field with the result of the operation.
- (void)mailComposeController:(MFMailComposeViewController*)controller didFinishWithResult:(MFMailComposeResult)result error:(NSError*)error
{
	NSLog();

	[[CCDirector sharedDirector] resume];

	//dismiss view after otherwise the code is not executed
	NSLog();
	[picker.view.superview removeFromSuperview];
	[picker dismissModalViewControllerAnimated:YES];
	NSLog();
	//return to previous scene
	[[NSNotificationCenter defaultCenter] postNotificationName:@&#38;quot;returnToScene&#38;quot; object:self];
}

@end&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;PauseMenuLayer is my layer that calls the email - and returns to the scene I was working on.&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;//  PauseMenuLayer.h

#&#60;a href='http://www.cocos2d-iphone.org/forum/tags/import'&#62;import&#60;/a&#62; &#38;quot;cocos2d.h&#38;quot;
#&#60;a href='http://www.cocos2d-iphone.org/forum/tags/import'&#62;import&#60;/a&#62; &#38;quot;EmailScene.h&#38;quot;
#&#60;a href='http://www.cocos2d-iphone.org/forum/tags/import'&#62;import&#60;/a&#62; &#38;lt;UIKit/UIKit.h&#38;gt;

@interface MySceneLayer : CCLayer {
	CCColorLayer* layer;
}

-(void)onEmail:(id)sender;
-(void)returnToScene:(NSNotification *)notification;
-(void)togglePauseMenu;

@end&#60;/code&#62;&#60;/pre&#62;
&#60;pre&#62;&#60;code&#62;//  PauseMenuLayer.m
#&#60;a href='http://www.cocos2d-iphone.org/forum/tags/import'&#62;import&#60;/a&#62; &#38;quot;PauseMenuLayer.h&#38;quot;

@implementation PauseMenuLayer
-(id) init
{
	if( (self=[super init] )) {
		CGSize windowSize = [[CCDirector sharedDirector] winSize];
		layer = [CCColorLayer layerWithColor: ccc4(0x1B, 0x1B, 0x1F, 0x0)
													 width: windowSize.width
													height: windowSize.height];
		layer.isRelativeAnchorPoint =  YES;
		layer.position = ccp(-windowSize.width,-windowSize.height);
		[self addChild: layer z:1 tag:1];

		CCMenuItem *tbEmail = [CCMenuItemFont itemFromString:@&#38;quot;Email&#38;quot; target:self selector:@selector(onEmail:)];
		CCMenu *menu = [CCMenu menuWithItems:tbEmail,nil];
		[layer addChild:menu z:4];

		[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(returnToScene:) name:@&#38;quot;returnToScene&#38;quot; object:nil];
	}
	return self;
}

-(void)returnToScene:(NSNotification *)notification
{
	[self togglePauseMenu];
}

-(void)onEmail:(id)sender
{
	UIImage * theImage = [self.target getUIImageFromBuffer];
	EmailScene *emailScene = [[EmailScene alloc] initWithImage:theImage];
}

- (void) togglePauseMenu
{
	CGSize s = [[CCDirector sharedDirector] winSize];
	CGFloat showPositionX = s.width/2;
	CGFloat showPositionY = s.height/2;
	if (layer.position.y == showPositionY)
	{
		// Layer is in show position, so hide it
		layer.position = ccp(showPositionX, -showPositionY);
	}
	else {
		// layer is in hidden position, so show it
		layer.position = ccp(showPositionX, showPositionY);
		[layer setOpacity:0xD0];
	}
}
@end&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Just as an added bonus :) You can add the PauseMenuLayer to your own app by adding the following in the right places to your scene:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;//In the .h file Import it
#&#60;a href='http://www.cocos2d-iphone.org/forum/tags/import'&#62;import&#60;/a&#62; &#38;quot;PauseMenuLayer.h&#38;quot;
// Create a variable for it
	PauseMenuLayer *pauseMenuLayer;
// and a property
@property (nonatomic, retain) PauseMenuLayer *pauseMenuLayer;

//In the .m file synthesize it
@synthesize pauseMenuLayer;

// in the init method - initalize it
		pauseMenuLayer = [[PauseMenuLayer alloc] init];
		[self addChild:pauseMenuLayer z:5];

// When you want to pause or unpause - send it the toggle signal
-(void)onPause:(id)sender
{
	[pauseMenuLayer togglePauseMenu];
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Okay, hope that helps someone - let me know if you need more info.&#60;/p&#62;
&#60;p&#62;Justin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>shivaz on "I&#039;m sharing some of my source code ..."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/4475#post-27918</link>
			<pubDate>Thu, 25 Feb 2010 01:09:30 +0000</pubDate>
			<dc:creator>shivaz</dc:creator>
			<guid isPermaLink="false">27918@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;Hello gamingHorror&#60;/p&#62;
&#60;p&#62;This stuff looks really great. I really want to get the sendMail stuff working - my only issue is that I am struggling to integrate it into my game. Can you give a quick outline how you would initialise it?&#60;/p&#62;
&#60;p&#62;I tried:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;CocoaHelper *cocoaHelper = [[CocoaHelper alloc] init];
		SendMail *sendMail = [[SendMail alloc] init];
		[cocoaHelper showUIViewController:sendMail];&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;after adding&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;#&#60;a href='http://www.cocos2d-iphone.org/forum/tags/import'&#62;import&#60;/a&#62; &#38;quot;CocoaHelper.h&#38;quot;
#&#60;a href='http://www.cocos2d-iphone.org/forum/tags/import'&#62;import&#60;/a&#62; &#38;quot;SendMail.h&#38;quot;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;to my file. But get the following errors - and I am pretty sure that is not the best way to go!&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;/Users/xxxx/Classes/cocoahelper/CocoaHelper.m:21:0 /Users/xxxx/Classes/cocoahelper/CocoaHelper.m:21: error: &#38;#39;CCDirector&#38;#39; undeclared (first use in this function)&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I am using the latest version of cocos2d.&#60;/p&#62;
&#60;p&#62;Any help appreciated - or a push in the right direction.&#60;/p&#62;
&#60;p&#62;Thanks!&#60;/p&#62;
&#60;p&#62;Justin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>riq on "I&#039;m sharing some of my source code ..."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/4475#post-26684</link>
			<pubDate>Mon, 15 Feb 2010 01:10:43 +0000</pubDate>
			<dc:creator>riq</dc:creator>
			<guid isPermaLink="false">26684@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;@&#60;a href='http://www.cocos2d-iphone.org/forum/profile/1238'&#62;mhussa&#60;/a&#62;: yes, the idea is to have only 1 recipes/cookbook/tips&#38;amp;tricks wiki page. If you have any suggestions regarding how to write recipes/tips&#38;amp;tricks, please, post it here: &#60;a href=&#34;http://www.cocos2d-iphone.org/forum/topic/4473&#34; rel=&#34;nofollow&#34;&#62;http://www.cocos2d-iphone.org/forum/topic/4473&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mhussa on "I&#039;m sharing some of my source code ..."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/4475#post-26683</link>
			<pubDate>Mon, 15 Feb 2010 01:08:36 +0000</pubDate>
			<dc:creator>mhussa</dc:creator>
			<guid isPermaLink="false">26683@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;ok, its seems like there are quite a few competing ideas there.  I'll wait for the dust to settle (if ever) ;)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>riq on "I&#039;m sharing some of my source code ..."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/4475#post-26682</link>
			<pubDate>Mon, 15 Feb 2010 01:00:05 +0000</pubDate>
			<dc:creator>riq</dc:creator>
			<guid isPermaLink="false">26682@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;@&#60;a href='http://www.cocos2d-iphone.org/forum/profile/1238'&#62;mhussa&#60;/a&#62;: Oops, sorry. I meant this post: &#60;a href=&#34;http://www.cocos2d-iphone.org/forum/topic/4473&#34; rel=&#34;nofollow&#34;&#62;http://www.cocos2d-iphone.org/forum/topic/4473&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mhussa on "I&#039;m sharing some of my source code ..."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/4475#post-26681</link>
			<pubDate>Mon, 15 Feb 2010 00:58:04 +0000</pubDate>
			<dc:creator>mhussa</dc:creator>
			<guid isPermaLink="false">26681@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;^ ok thanks for mentioning that post, I'll see what form it takes before duplicating &#34;recipes&#34;.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>riq on "I&#039;m sharing some of my source code ..."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/4475#post-26680</link>
			<pubDate>Mon, 15 Feb 2010 00:51:35 +0000</pubDate>
			<dc:creator>riq</dc:creator>
			<guid isPermaLink="false">26680@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;@&#60;a href='http://www.cocos2d-iphone.org/forum/profile/1238'&#62;mhussa&#60;/a&#62;: Feel free to the edit the wiki.&#60;br /&#62;
Please, read this post 1st to avoid duplicating the pages: &#60;a href=&#34;http://www.cocos2d-iphone.org/forum/topic/4416&#34; rel=&#34;nofollow&#34;&#62;http://www.cocos2d-iphone.org/forum/topic/4416&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mhussa on "I&#039;m sharing some of my source code ..."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/4475#post-26678</link>
			<pubDate>Mon, 15 Feb 2010 00:40:12 +0000</pubDate>
			<dc:creator>mhussa</dc:creator>
			<guid isPermaLink="false">26678@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;@riq:  I've seen it before in other projects, seemed useful to have them for reference/re-use.  I can imagine having to manage a directory like that wouldn't be easy.  &#60;/p&#62;
&#60;p&#62;Having a section on the wiki is a good idea, it Just needs the right people to be reading this so that they can add links to their stuff there.&#60;/p&#62;
&#60;p&#62;If you add a section, then I'll add some links to the stuff mentioned in the forum to get it started.  Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>riq on "I&#039;m sharing some of my source code ..."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/4475#post-26676</link>
			<pubDate>Mon, 15 Feb 2010 00:19:44 +0000</pubDate>
			<dc:creator>riq</dc:creator>
			<guid isPermaLink="false">26676@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;@muhussa: I'm not a big fan of having a contrib directorty. Actually cocos2d has one (/extras), and the problem with it is that it usually is outdated, and it can be difficult to understand the features of each class. &#60;/p&#62;
&#60;p&#62;I think it would be better to have a directory of 3rd party classes on the wiki. It is easier to maintain.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Questor on "I&#039;m sharing some of my source code ..."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/4475#post-26664</link>
			<pubDate>Sun, 14 Feb 2010 20:28:32 +0000</pubDate>
			<dc:creator>Questor</dc:creator>
			<guid isPermaLink="false">26664@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;GamingHorror,&#60;/p&#62;
&#60;p&#62;Great idea.    My only suggestion would be to include in the archive a copy of the webpage info as a README file, as it would be a nice summary to keep with the files.  You could include the URL of your webpage in the readme as well so people will know where to check for possible updates/corrections in the future.&#60;/p&#62;
&#60;p&#62;Nice job and thanks for sharing.&#60;/p&#62;
&#60;p&#62;Regards,&#60;br /&#62;
Q
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mhussa on "I&#039;m sharing some of my source code ..."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/4475#post-26655</link>
			<pubDate>Sun, 14 Feb 2010 18:40:26 +0000</pubDate>
			<dc:creator>mhussa</dc:creator>
			<guid isPermaLink="false">26655@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;Thanks for sharing your code.&#60;/p&#62;
&#60;p&#62;@riq: On a broader note, is it possible to get these classes put into the svn repository?&#60;/p&#62;
&#60;p&#62;Something like a &#34;contrib&#34; directory containing username directories with the contributed code.  Lam's contributions would fit there nicely as well.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Joao Caxaria on "I&#039;m sharing some of my source code ..."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/4475#post-26644</link>
			<pubDate>Sun, 14 Feb 2010 15:50:08 +0000</pubDate>
			<dc:creator>Joao Caxaria</dc:creator>
			<guid isPermaLink="false">26644@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;Very cool... thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gaminghorror on "I&#039;m sharing some of my source code ..."</title>
			<link>http://www.cocos2d-iphone.org/forum/topic/4475#post-26641</link>
			<pubDate>Sun, 14 Feb 2010 15:40:44 +0000</pubDate>
			<dc:creator>gaminghorror</dc:creator>
			<guid isPermaLink="false">26641@http://www.cocos2d-iphone.org/forum/</guid>
			<description>&#60;p&#62;... and to be fair: a lot of this code was originally created by others and i've only taken on the job to modify it, improve it, fix it. I give credit wherever possibly, if you think i missed to mention someone please let me know. Some of the code was found here, most was spread over the Internet. It took me time to collect and find the code and in some cases (eg In-App Mail) i put a lot of work into getting it right as well. I hope it'll be useful to many cocos2d developers.&#60;/p&#62;
&#60;p&#62;I also put up some useful links and will continue to add to this cocos2d iPhone resources page of mine as i learn more. At the time of this writing i'm sharing these classes/methods:&#60;/p&#62;
&#60;p&#62;AlertPrompt, CocoaHelper, LayoutHelper, LocaleHelper, MenuGrid, PlayMusicAction, Screenshot, SendMail, ShakeHelper, Utilities&#60;/p&#62;
&#60;p&#62;Read the webpage above to learn more about them. Get the source code here:&#60;br /&#62;
&#60;a href=&#34;http://www.gaminghorror.net/cocos2d-iphone-resources/&#34; rel=&#34;nofollow&#34;&#62;http://www.gaminghorror.net/cocos2d-iphone-resources/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
