On 8 apr 2010, at 08.37, Patrick M. Rutkowski wrote: > Another mistake was self.array being initialized as > self.array = [[NSMutableArray alloc] init] > > when it should have been > self.array = [NSMutableArray array] > > I'm still somewhat new to this :-) > > I totally get what's going on, I'm just not good at spotting the usual > mistakes yet; and I'm a bit sleepy at the moment.
If you're using Xcode 3.2 (requires Mac OS X 10.6), you should be using the static analyzer. It is good at finding problems like these. j o a r _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com