• 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: Problems with custom NSView subclass, IBPalette, and bindings support
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with custom NSView subclass, IBPalette, and bindings support


  • Subject: Re: Problems with custom NSView subclass, IBPalette, and bindings support
  • From: "Sean McBride" <email@hidden>
  • Date: Wed, 26 Jan 2005 09:40:32 -0500
  • Organization: Rogue Research

On 2005-01-25 14:12, mmalcolm crawford said:

>> Now in IB, I see all my items listed automatically in the bindings part
>> of the 'Show Info' window (Cmd-4).  I set one of them up, but as soon
>> as
>> I did the disclosure triangle closed up and the binding item is now
>> greyed out.  I've tried rebooting, rebuilding the palette, but I just
>> can't get the thing to be enabled.
>> Anyone seen this before?
>
>In your implementation of bind:... have you called super?

Doh!  Adding that fixed it.  Thanks a million mmalc!

Should I call super at the beginning or end of my implementation?

Do I also need to call super for unbind? valueClassForBinding?
observeValueForKeyPath:...?

Am I blind, or is this not documented?  Your GraphicsView.m and
JoystickView.m classes in you GraphicsBindings example also do not call
super.  Is doing so only needed if one is making an IBPalette?

(Forgive all the questions :) )

Thanks!

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Problems with custom NSView subclass, IBPalette, and bindings support
      • From: mmalcolm crawford <email@hidden>
References: 
 >Re: Problems with custom NSView subclass, IBPalette, and bindings support (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: How to insert text on button click?
  • Next by Date: Arrow-keys as Key Equivalents in IB
  • Previous by thread: Re: Problems with custom NSView subclass, IBPalette, and bindings support
  • Next by thread: Re: Problems with custom NSView subclass, IBPalette, and bindings support
  • Index(es):
    • Date
    • Thread