• 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: Get selected NSManagedObject from a NSPopUpButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Get selected NSManagedObject from a NSPopUpButton
      • From: Niko Matsakis <email@hidden>
References: 
 >Get selected NSManagedObject from a NSPopUpButton (From: Gian Marc Cadosch <email@hidden>)

  • Prev by Date: Core Data notifications
  • Next by Date: Programmatic -setHidden
  • Previous by thread: Get selected NSManagedObject from a NSPopUpButton
  • Next by thread: Re: Get selected NSManagedObject from a NSPopUpButton
  • Index(es):
    • Date
    • Thread