Re: Controller Layer, Bindings...
Re: Controller Layer, Bindings...
- Subject: Re: Controller Layer, Bindings...
- From: Dustin Voss <email@hidden>
- Date: Sun, 2 Nov 2003 11:42:31 -0800
I don't think it is documented anywhere. You can post doc feedback at
<
http://developer.apple.com/documentation/techpubsfeedback.html>.
I think it might be possible to use the NSKeyValueBindingCreation
protocol to determine what bindings are exposed and what class they
take, but I haven't had any luck with that yet.
On 2 Nov, 2003, at 12:58 AM, Marco Binder wrote:
OK. After a while of playing around, my NIB file totally broke so I
did it again and, viola, the "data" property binding gave nice RTF. I
cant say what was wrong in the first attempt: if I looked at the bytes
the binding gave me then and printed them out as chars, the data said
"typedstream[somebyteshere] NSMutableData". I dont know what that
was...
Anyway, it works now, but still I wonder where the documentation for
it is. am I supposed to figure it out myself?
Marco
Am 02.11.2003 um 09:05 schrieb Marco Binder:
Hi list,
after a while of abstinence, I m back to Cocoa to try out Panther,
XCode, etc. The Controller Layer seems very promising to me,
especially the key-value-binding subaspect.
However, one question: where are the exposed properties of cocoa view
classes documented? More spevifically, NSTextView exposes a property
key "data" and the tool-tip says its the NSTextStorage. But in fact,
it is a NSConcreteMutabledata object I get and I found no way of
getting it back into something useful. I cant unarchive it, I cant
use it as RTF data, I m clueless. And there are many more exposed
properties in each NSView subclass, some of which are obvious, some
not.
Any help?
Marco
_______________________________________________
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.
_______________________________________________
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.
_______________________________________________
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.