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: Thu, 27 Jan 2005 13:47:22 -0500
- Organization: Rogue Research
On 2005-01-27 10:11, mmalcolm crawford said:
>> As I'm having problems getting my own class to work, I've decided to
>> instead start by making a palette for your GraphicsBindings example.
>> I'll send it to you when I'm done so you can make it public for others,
>> if you'd like...
>Oh, I already did that for the Joystick a while back...
>There was still an occasional crasher that I didn't track down that a
>quick test suggests is still there, but this might help anyway:
Thanks for sharing it... My implementation was basically the same. One
thing I could not figure out how to do, and I don't see anything in your
code that does it either, is how to get the
'NSAllowsEditingMultipleValuesSelection' option in IB.
In MyDocument.m you do:
NSMutableDictionary *options =
[NSMutableDictionary dictionaryWithObject:
[NSNumber numberWithBool:YES]
forKey:@"NSAllowsEditingMultipleValuesSelection"];
[shadowInspector bind: @"offset"
toObject: graphicsController
withKeyPath:@"selection.shadowOffset"
options:options];
But with your or my palette I don't see any checkbox for
'NSAllowsEditingMultipleValuesSelection'. For NSTextField I do see it.
How does one tell IB to make these options available?
--
____________________________________________________________
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