Re: NSRuleEditor rows binding
Re: NSRuleEditor rows binding
- Subject: Re: NSRuleEditor rows binding
- From: Jerry Krinock <email@hidden>
- Date: Fri, 4 Dec 2009 15:50:21 -0800
On 2009 Dec 04, at 13:08, Carter R. Harrison wrote:
> Apple's documentation for NSRuleEditor indicates that it exposes a binding named "rows". When I drag an NSRuleEditor onto my NSWindow in IB, I flip over to the Bindings tab of the inspector and I don't see any bindings named "rows". Anybody else manage to setup an NSRuleEditor with bindings?
No, but you should be able to bind to it in code using bind:toObject:withKeyPath:options:. See the NSKeyValueBindingCreation Informal Protocol.
Also, it wouldn't surprise me that the binding is not available in Interface Builder. Steve Jobs has referred to the Apple TV as a "hobby" project. In my experience with NSPredicateEditor and NSRuleEditor, I have gotten the impression that these must similarly be "hobby" projects. Innovative and actually quite powerful if you can figure out how to use them, but poorly documented, many unfinished features, and not many developers use them, so not much interest in finishing them.
Sincerely,
Jerry Krinock
_______________________________________________
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