Null value from NSMutableArray
Null value from NSMutableArray
Is there a way to display/view data inside an Arraylist.
trying to use:
RandomObj *fooObj = [[RandomObj alloc]init];
NSEnumerator *enumerator = [fooArray objectEnumerator];
id obj;
while ( obj = [enumerator nextObject] ) {
NSLog( @"%@", obj);
NSLog( @"%d", fooObj.id);
NSLog( @"%@", fooObj.name);
}
I get memory slots + values when im runing this from same method as the
imported data from a sqliteDB. But when im calling the same Object but from
example in Appdelegate (where i have the arraylist) i get the memory slot but
values in id and name become 0 and null.
- Martin
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden