Re: Strange observer problem (solved)
Re: Strange observer problem (solved)
- Subject: Re: Strange observer problem (solved)
- From: Gordon Apple <email@hidden>
- Date: Sat, 01 Dec 2012 15:32:01 -0600
- Thread-topic: Strange observer problem (solved)
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" <email@hidden> wrote:
> On Dec 1, 2012, at 1:09 PM, Gordon Apple <email@hidden> 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
> insteador better yet, stop using bindings and go back to target/action.
>
> --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