Re: NSArrayController (or NSObjectController) in Entity Mode
Re: NSArrayController (or NSObjectController) in Entity Mode
- Subject: Re: NSArrayController (or NSObjectController) in Entity Mode
- From: Andrew Kimpton <email@hidden>
- Date: Thu, 06 Sep 2007 15:05:01 -0400
Quoting mmalc crawford <email@hidden>:
On Sep 2, 2007, at 10:41 AM, Andrew Kimpton wrote:
I'd like to programmatically create an NSArrayController that
fetches a specific entity from my Managed Object Context.
[...]
However if I get the description of the
mFutureRecordingsArrayController in gdb it says :
Printing description of mFutureRecordingsArrayController:
<NSArrayController: 0x3ee2d0>[object class: NSMutableDictionary,
number of selected objects: 0]
The description is misleading if the controller was not created in IB.
Is the controller not working in any other way?
Ahhh.... having seen the bad description I 'gave up' and didn't pursue
things further. Debugging bindings is tricky enough - 'knowing' I had
a bad controller didn't inspire me with any confidence to proceed
further.
I'll replace the IB reated Controller with one created in code and
'just see what happens'.
Does anyone recall if this misleading description logged as a bug ? If
not I'll write it up.
mmalc
Andrew 8-)
_______________________________________________
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