• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Controller Layer, Bindings...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Controller Layer, Bindings...


  • Subject: Re: Controller Layer, Bindings...
  • From: Marco Binder <email@hidden>
  • Date: Sun, 2 Nov 2003 09:58:31 +0100

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.

  • Follow-Ups:
    • Re: Controller Layer, Bindings...
      • From: Scott Anguish <email@hidden>
    • Re: Controller Layer, Bindings...
      • From: Dustin Voss <email@hidden>
References: 
 >Controller Layer, Bindings... (From: Marco Binder <email@hidden>)

  • Prev by Date: Anyone have an SVGImageRep?
  • Next by Date: Where does Xcode put the executable?
  • Previous by thread: Controller Layer, Bindings...
  • Next by thread: Re: Controller Layer, Bindings...
  • Index(es):
    • Date
    • Thread