I have an iOS app in the app store. I’m working on some new features for it. Some code i’ve hand crafted, other bits of pieced together from answers on this wonderful site, however I feel like my code is a bit ugly, and could be improved. When I see something below this, I don’t full understand how it is used automatically, and how it implies a loop exactly. So i’m wondering what would be some good reading material to learn more about objective-c before maybe working on my app more.
I’ve been surfing some articles on the ios dev center website, but if you guys can suggest some specifics to look at, i’d be grateful. I do have an understanding of heap & stack memory management from when I did C++, but I have to admit im not as solid on how objective-c does it.
- (void)tableView:(UITableView *)aTableView
commitEditingStyle:(UITableViewCellEditingStyle)editingStyle
forRowAtIndexPath:(NSIndexPath *)indexPath { ... }
For a thorough general understanding of iOS & ObjC, I’d suggest a book or two:
And/or following the Stanford iOS course on iTunes U. There are a few good blogs for tutorials & explanations out there, too: Ray Wenderlich’s and Cocoa is my Girlfriend are the first to come to mind.
For something more specific to table views or other subsystems, the Programming Guides in Apple’s developer documentation aren’t bad.