Marcus Zarra's Core Data Stack

There's an unfortunate but understandable tendency to avoid Core Data in the iOS developer community. Follow the correct patterns though, and Core Data can help you build a reliable, performant data model. And there's no better person to talk about Core Data than Marcus Zarra. Take a look at his…

CocoaLove Conference

There's a new conference coming this fall I'm excited about. It's called CocoaLove, October 24th-26th in Philadelphia. Like any good event, it has a great lineup of speakers I'm looking forward to meeting. But the focus at CocoaLove isn't technical topics, it's people and community. Technical conferences are fun. It's…

Objective-C Tricks: Scope your Assignments

There's a new Objective-C pattern I've been experimenting with lately, which looks like this: - (void)viewDidLoad; { [super viewDidLoad]; self.shareButton = ({ CGFloat xPos = self.view.width - 80.0f; CGFloat yPos = self.view.bottom - 44.0f; CGRect frame = CGRectMake( xPos, yPos, 70.0f, 44.0f ); UIButton *button = [[UIButton alloc…

Brent Simmons Talks about Sync

If you don't follow Brent Simmons' blog, you're missing an excellent series of posts about Core Data and syncing as he writes the sync engine for Vesper. If you've ever wondered exactly why syncing is a hard problem to solve, even for experienced developers, this is a must read. Check…

NSCache

If you're the type of developer who's always digging into the Cocoa frameworks to find the stuff that makes your life easier, you're probably using NSCache. It's a great class after all. Just store your temporary objects in an NSCache instead of an NSMutableDictionary, and you won't have to worry…

Seven Deadly Sins of Modern Objective-C

I've had this post cooking for a long time, and I think it's ready to unveil. If you code Objective-C, this is going to offend you and that's good. If you aren't offended, then you don't care, and that's bad. This list isn't about stylistic things like which line new…