Re: Odd binding issue
Re: Odd binding issue
- Subject: Re: Odd binding issue
- From: mmalcolm crawford <email@hidden>
- Date: Fri, 12 Mar 2004 18:37:45 -0800
On Mar 12, 2004, at 5:55 PM, Scott Anguish wrote:
sorry, but this is not correct.
value expects an NSString
data expects an NSData
value is available only when it is a single font text view
I'm not sure why nobody will believe me on this.
Sorry, I do believe you -- I clapped my hands and everything :-) (*)
-- the first "value" was a "typo", it should have read "data"...
On Mar 12, 2004, at 11:42 AM, mmalcolm crawford wrote:
NSTextView's 'value' binding expects an NSData object. You can bind
an NSString to an NSTextView's 'value' binding by turning off the
view's "Multiple fonts allowed" attribute -- the 'value' binding then
appears in the Bindings Inspector. Note that if you had previously
made a binding to data, it will persist (it shows up as a Parameter
binding at the bottom of the Bindings Inspector) -- you must unbind
it otherwise you'll get a runtime error.
mmalc
(*) I suspect the irony here will be apparent to a very few...
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.