On 17 Jun '08, at 5:02 PM, Daniel Richman wrote:

I get no error, but the object isn't added. If I try to do
[myArray objectAtIndex:0];
I get (null)

That's a tip-off that the array pointer is nil, by the way — - objectAtIndex: *never* returns nil, because it's not legal to store nil values in an NSArray. (Same goes for objectForKey: in NSDictionary.)

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to