Please do not post the same thing multiple times. The board software automatically flags certain posts as needing moderator attention. This happens the most often for new users. I'm pretty sure this is made clear at the time you attempt to post. Posting the same thing over and over again just makes that many more posts the moderators have to weed through later. This makes us sad. Don't make us sad. If your post/thread doesn't appear, just wait a while. Don't post it again. If it hasn't shown up by the next day, then you can try again. I normally go through posts in the mornings, and try to check a few times throughout the day, but I'm not here 24/7. There will typically be a significant delay before posts are approved. Just be patient.
So I've got the following code, and it seems as though when I try to add the local currentOrganism object to the self.currentGeneration array it's not working correctly and I can't figure out why, when I walk through it with the debugger, currentOrganism is being populated right, but then the xcode log shows that self.currentGeneration objectAtIndex:0 is empty. Oh and the log shows that the memory address of self.currentGeneration is 0x6a224b0, not 0x0, so I'm assuming that means it's initialized correctly? Any help would be greatly appreciated!! :)
-(void)initializeDefaultOrganisms{ int organism; int gene;
So I've got the following code, and it seems as though when I try to add the local currentOrganism object to the self.currentGeneration array it's not working correctly and I can't figure out why, when I walk through it with the debugger, currentOrganism is being populated right, but then the xcode log shows that self.currentGeneration objectAtIndex:0 is empty. Oh and the log shows that the memory address of self.currentGeneration is 0x6a224b0, not 0x0, so I'm assuming that means it's initialized correctly? Any help would be greatly appreciated!! :)
-(void)initializeDefaultOrganisms{ int organism; int gene;
Replies
New app - See screenshots and details at www.globaclock.com.
If you want to
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like AwesomeWhy do you have the line in bold red above? What do you expect it to do?
Duncan C
WareTo
Animated GIF created with Face Dancer, available for free in the app store.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome