Viewing entries tagged Objective-C
by Dave Wood
Dave Wood
Owner/President of Cerebral Gardens
User is currently offline
Saturday, 17 December 2011 15:11
Category iDevBlogADay
Today I'm going to follow up on some interesting comments to my previous tip regarding enumerating NSMutableArray's.
I had suggested to make a copy of the mutable array before enumerating, in order to prevent another thread from modifying the array you're working on and causing a crash.
It was mentioned in the comments that making that copy is itself an enumeration and so we were just moving the crash point. So, I did some digging.
Tags: Tips & Tricks, Objective-C, XCode, iOS, iDevBlogADay
by Dave Wood
Dave Wood
Owner/President of Cerebral Gardens
User is currently offline
Saturday, 03 December 2011 20:15
Category iDevBlogADay
As you may be aware, I went full time indie a couple of months ago. I've been working almost as many hours as I can stay awake for clients, and spending whatever extra time I can find on a new game that I hope will be finished and submitted to the App Store before my next blog! I can't wait to tell you guys all about it.
With all this work though, I've been slacking in the blog department. Today I start to correct that. Here's a quick tip for today that may save you from a few crashes tomorrow.
Tags: Tips & Tricks, Objective-C, XCode, iOS, iDevBlogADay
by Dave Wood
Dave Wood
Owner/President of Cerebral Gardens
User is currently offline
Sunday, 16 January 2011 22:01
Category iDevBlogADay
For today's iDevBlogADay post, I'm going to cover some useful tips and tricks. These are presented in no particular order, and are pretty much unrelated to each other. Hopefully you'll find some, or all of them useful.
Tags: iDevBlogADay, iOS, iPhone, Apple, XCode, iPad, Objective-C, Tips & Tricks, Property, Multilingual, NSLog, DebugLog, dSYM, Push Notifications, Retain/Release, App Store