• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Strange observer problem (solved)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
> instead‹or 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


References: 
 >Re: Strange observer problem (solved) (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Strange observer problem (solved)
  • Next by Date: NSUserUnixTask and com.apple.foundation.UserScriptService crash
  • Previous by thread: Re: Strange observer problem (solved)
  • Next by thread: Re: FileWrapper & iCloud
  • Index(es):
    • Date
    • Thread