Trouble with array controller -> array
Trouble with array controller -> array
- Subject: Trouble with array controller -> array
- From: email@hidden
- Date: Wed, 03 Dec 2008 18:30:19 -0500
Namaste!
OK, I'm confounded...
I've got an outlet (tblUser) that's an NSArrayController. It is
pointing at an Array Controller in my NIB called tblUser. That is
point at an Entity called tblUser. The MOC is set up correctly.
In my code, I've assigned an (NSArray *) aUser to [tblUser
arrangedObjects]. I then proceed to get a count of objects from the
array ([aUser count]). For some reason, I get a value of zero. Yet,
in another screen, same app, same instance, the count is correct at 1.
Same bits of code, only the names are a little different, but the
syntax is the same.
Anyone care to posit theories as to why this might be happening? Did
I miss an intermediate step somewhere?
Thanks!
Peace, Love, and Light,
/s/ Jon C. Munson II
_______________________________________________
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