• 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
Laying out complex text objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Laying out complex text objects


  • Subject: Laying out complex text objects
  • From: Thomas Davie <email@hidden>
  • Date: Sun, 3 Dec 2006 16:56:34 +0000

Hi,
My program needs to display a cross between a bullet list of text, and an outline view, in that each bullet in the list should be a disclosure triangle, that can be closed or opened. Bullets should be draggable and rearangable, but in the mean time the text in each section should be many lines long.


I've been thinking about using an NSLayoutManager for this, but it doesn't seem quite appropriate for the task, in that it requires all the text to be enclosed within a single NSTextStorage object, while I need to maintain an explicit tree structure (and several seperate NSTextStroage objects for each node in the tree).

Can anyone think of an appropriate way of doing this?

Help much appreciated.

Thanks

Tom Davie
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


  • Follow-Ups:
    • Re: Laying out complex text objects
      • From: Kevin <email@hidden>
  • Prev by Date: Re: AppleScript opens a doc, handleOpenScriptCommand: raises exception
  • Next by Date: Trouble Writing to File With NSFileHandle
  • Previous by thread: Re: nscombobox and nextkeyview
  • Next by thread: Re: Laying out complex text objects
  • Index(es):
    • Date
    • Thread