cocos2d-iphone-issues
[Prev] Thread [Next] | [Prev] Date [Next]
Issue 411 in cocos2d-iphone: sdk 3.0 cocosnode @property children compiling error codesite-noreply Fri Jun 19 08:00:55 2009
Status: New Owner: ---- Labels: Type-Defect Priority-Medium New issue 411 by cacaty: sdk 3.0 cocosnode @property children compiling error http://code.google.com/p/cocos2d-iphone/issues/detail?id=411 What steps will reproduce the problem? 1. AtlasSpriteManager *mgr=(AtlasSpriteManager *)[self getChildByTag: 99]; 2. for (CocosNode *child in mgr.children) cause compiling error: type of accessor dose not match the type of property 'children' I find a solution: CocosNode.h: Change this : @property (readonly) NSArray *children; to : @property (readonly) NSMutableArray *children; What is the expected output? What do you see instead? What cocos2d version / SVN revision are you using ? 0.7.3 What iPhoneSDK are you using ? SDK 3.0 Debug or Release ? Debug Does this happens on device ? or on the simulator ? or on both ? both Please provide any additional information below. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cocos2d-iphone-issues" group. To post to this group, send email to [EMAIL PROTECTED] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cocos2d-iphone-issues?hl=en -~----------~----~----~----~------~----~------~--~---