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
<michael.suess...@utanet.at> 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 (Cocoa-dev@lists.apple.com)
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/archive%40mail-archive.com
This email sent to arch...@mail-archive.com