Re: NSLayerStack/NSArrayController/NSButton action puzzle
site_archiver@lists.apple.com Delivered-To: Cocoa-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=9k18945FJCzoQT2H+0G7DYttOPo9+a2cwJ5RrhBGCyA=; b=N4CoVs8cKh7K+jF2LEULbfP8Bo5xggu4xeOayRuS9wPsn6Y0QPj9EkF5OrU0aMn36z 10bQWQxdQRnP2aCRNyrROQvWMROg9p//qs/+ct7yLwiWglRQJYmzp86yKUY+5KIVrADX aRekLekLpWb31FGnDtP2viDlnwc1nJmeXP9uA= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=nNuWihXBBZ+ufZE5gpQtUQ85SumL11xY9/aVuCiRP68CcUC8yK52YTWEgD4b7Mbc2o lTKhqpEAmSGwT1HtyhISnEI8bLrdPUjkCs8MfP00QGyv3/6v4QWHNC4RI9VoK2D6eUwI VRzH0lodEyr4LtGNVAazP8bgNjTmRBlzZNZTk= On Thu, Apr 1, 2010 at 11:25 AM, vincent habchi <vince@macports.org> 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 (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/site_archiver%40lists.apple... This email sent to site_archiver@lists.apple.com
participants (1)
-
Kyle Sluder