• 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: Subclassing NSWindowController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subclassing NSWindowController


  • Subject: Re: Subclassing NSWindowController
  • From: Jérôme Laurens <email@hidden>
  • Date: Tue, 10 Dec 2002 11:07:46 +0100

Le lundi, 9 dic 2002, ` 14:30 Europe/Zurich, Chaffinch a icrit :


But I have one more question, the Cocoa docs have an article titled
"Assembling the Text System by Hand" which shows how to create the
TextStorage, Container and LayoutManager. Is this the procedire I should
follow or am I over complicating things.



Once your nib has been loaded by the UI controller you can send

[[myTextView layoutManager] replaceTextStorage: theTextStorageOwnedByMyDocument];
_______________________________________________
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.
References: 
 >Re: Subclassing NSWindowController (From: Chaffinch <email@hidden>)

  • Prev by Date: Re: Difference between Main and Key attribute for a window
  • Next by Date: Simulating key presses and mouse movements
  • Previous by thread: Re: Subclassing NSWindowController
  • Next by thread: Re: Subclassing NSWindowController
  • Index(es):
    • Date
    • Thread