Re: Problems with custom NSView subclass, IBPalette, and bindings support
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