Well, its a rather complex control panel using 100% bindings through a
number of generic object controllers and some fairly long binding paths.
Plus, I have never figured out how to pass ³self² with a bound action,
except that in one case I put in a link to from my window controller to a
button just so I could bind the button view argument to position the
popover.  (The docks lie.  You don¹t automatically get the sender using a
bound action. It comes through as nil.)


On 12/1/12 3:14 PM, "Kyle Sluder" <k...@ksluder.com> wrote:

> On Dec 1, 2012, at 1:09 PM, Gordon Apple <g...@ed4u.com> wrote:
> 
>> Re: Strange observer problem (solved) Apparently, you are right.  You¹re not
>> going to believe the solution I came up with.  I added another button to the
>> view with the same binding, linked the view to it instead of the original
>> one, then hid the new button.  Now, everything works correctly. If you can¹t
>> skin a cat one way...
> 
> The recommended solution would be to bind your button to a controller object
> instead‹or better yet, stop using bindings and go back to target/action.
> 
> --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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to