Re: How to get the selected popupmenu item with core data
Re: How to get the selected popupmenu item with core data
- Subject: Re: How to get the selected popupmenu item with core data
- From: Michael Süssner <email@hidden>
- Date: Thu, 28 May 2009 21:36:19 +0200
I have found a solution.
By adding a property to the File's Owner I have been able to bind the
attribute to the PopupMenu and now it works fine.
I think that this implementation is according to the MCV-pattern,
isn't it.
Thanks, for the help
Am 28.05.2009 um 20:49 schrieb Kyle Sluder:
On Thu, May 28, 2009 at 11:16 AM, Michael Süssner
<email@hidden> wrote:
Now I have the problem how I can read the index of the currently
selected
object of the popupmenu.
This is typically indicative of a flawed design. You shouldn't be
asking the UI for this; bind one of the selection bindings to a
property of your controller and use that value.
--Kyle Sluder
_______________________________________________
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