• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Trouble with array controller -> array
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Trouble with array controller -> array
      • From: email@hidden
  • Prev by Date: Re: Special Characters Edit Menu Item
  • Next by Date: Re: Binding/KVO question
  • Previous by thread: Re: Setting NSTableView column header with Cocoa bindings
  • Next by thread: Re: Trouble with array controller -> array
  • Index(es):
    • Date
    • Thread