On 22/09/2009, at 10:40 PM, BareFeet wrote:

        NSLog(@"setDataRows: count == %@", [newDataRows count]);

Once I removed the NSLog line (or just the [newDataRows count] method), it works fine.

Two followup questions:

1. Why can't I use the array count in the NSlog like that?


[<collection> count] returns an NSUInteger, not an object, so the %@ format specifier is incorrect - you want %d. I expect that was causing some mangling.

--Graham


_______________________________________________

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