Re: NSLayerStack/NSArrayController/NSButton action puzzle
Re: NSLayerStack/NSArrayController/NSButton action puzzle
- Subject: Re: NSLayerStack/NSArrayController/NSButton action puzzle
- From: Kyle Sluder <email@hidden>
- Date: Thu, 1 Apr 2010 13:24:38 -0700
On Thu, Apr 1, 2010 at 11:25 AM, vincent habchi <email@hidden> wrote:
> I have a NSLayerStack whose subviews represent a certain kind of object stored in a list controlled by a NSArrayController. Each of these subviews features two buttons, one is of the "Momentarily push-in" type, and the other is "Push-in push-out".
Um, what is an NSLayerStack?
> While I was able to bind the action of the "Momentarily push-in" button to some selector of the "representedObject", I cannot do that for the "Push-in Push-out": the option is lacking in IB. Do you have any idea of a workaround, or am I missing something?
Wire up the action to some other method that looks at the view's
represented object and does whatever it needs to do?
--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