On Nov 21, 2009, at 3:49 PM, Shane wrote:

> So I looked at 'records' and the retain count
> is always 0, yet 'records' in my other method 'createDictionary' which
> populates the table is always 1.

There's no such thing as an object with retain count 0; the object would have 
been dealloc'ed the instant its retain count dropped below 1, and after that  
any use of a pointer to it will crash. 

What you're seeing is an object pointer with a value of nil. (Messaging nil 
always returns 0 / false / nil.) So you need to look at why your instance 
variable 'count' has a nil value at that point. Try setting breakpoints.

—Jens_______________________________________________

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

Reply via email to