• 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: How to: Address Book-like text UI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to: Address Book-like text UI


  • Subject: Re: How to: Address Book-like text UI
  • From: Uli Kusterer <email@hidden>
  • Date: Wed, 5 Sep 2007 12:24:15 +0200

On 05.09.2007, at 09:38, Kai BrĂ¼ning wrote:
I want to create a view with similar behavior to the Address Book card view: text blocks are positioned in the view under program control, but can be selected as a continuous text (unless in edit mode). Of course I want to use the Cocoa text system.

My understanding so far is as follows:

To enable the continuous selection, all text has to be in a single NSTextStorage object.

I don't think address book actually does continuous selection. At least it doesn't work reliably. So my guess would be that they're probably using NSTextAttachments for the edit fields (or whatever the class was named that does in-line images etc.), and have a separate text view for the fields that aren't focused that is only selectable.


Cheers,
-- M. Uli Kusterer
http://www.zathras.de



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


References: 
 >How to: Address Book-like text UI (From: Kai BrĂ¼ning <email@hidden>)

  • Prev by Date: How to: Address Book-like text UI
  • Next by Date: Using an empty string as the default value for a Core Data attribute in the XCode modeller
  • Previous by thread: How to: Address Book-like text UI
  • Next by thread: Re: How to: Address Book-like text UI
  • Index(es):
    • Date
    • Thread