Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSArrayController (or NSObjectController) in Entity Mode



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >NSArrayController (or NSObjectController) in Entity Mode (From: Andrew Kimpton <email@hidden>)
 >Re: NSArrayController (or NSObjectController) in Entity Mode (From: mmalc crawford <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.