Re: Get selected NSManagedObject from a NSPopUpButton
Re: Get selected NSManagedObject from a NSPopUpButton
- Subject: Re: Get selected NSManagedObject from a NSPopUpButton
- From: "Marcus S. Zarra" <email@hidden>
- Date: Sat, 8 Oct 2005 08:25:18 -0600
Make sure you have a reference to the NSArrayController then you can
call selectedObjects on the array controller which will give you the
selected objects as an array.
On 10/8/05, Gian Marc Cadosch <email@hidden> wrote:
> I've found lots of good information for programming core data
> applications. But now I have a problem for which I haven't found a
> solution yet:
>
> I'd like to get the managed object which is selected in a popupmenu.
> The popup menu is bound to an NSArrayController which receives the
> data from core data.
>
> Thanks for helping.
>
> Marc
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden