How to tell if NSArrayController has a selected CoreData instance?
How to tell if NSArrayController has a selected CoreData instance?
- Subject: How to tell if NSArrayController has a selected CoreData instance?
- From: Timothy Reaves <email@hidden>
- Date: Mon, 28 Sep 2009 16:28:58 -0500
When you call [anArrayController selection] for an Entity-backed
NSArrayController, you always get an instance of
_NSControllerObjectProxy back. Even when there is no object
selected. It's not until you send a message to that proxy that you
get unrecognized selector error.
What is the correct way to determine if that proxy represents an
actual entity?
Thanks!
_______________________________________________
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