• 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
Re: Trouble with array controller -> array
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble with array controller -> array


  • Subject: Re: Trouble with array controller -> array
  • From: email@hidden
  • Date: Wed, 03 Dec 2008 20:48:08 -0500

Ne'er mind, it somehow fixed itself...

And I didn't change the code...

Weird...


Quoting email@hidden:

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



_______________________________________________

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


References: 
 >Trouble with array controller -> array (From: email@hidden)

  • Prev by Date: Re: "Live" image preview, huge memory usage...
  • Next by Date: Insertion bug in NSTreeController?
  • Previous by thread: Trouble with array controller -> array
  • Next by thread: Adding an application to the login items
  • Index(es):
    • Date
    • Thread