• 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: AddressBook card view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AddressBook card view


  • Subject: Re: AddressBook card view
  • From: Vince DeMarco <email@hidden>
  • Date: Tue, 18 Jan 2005 13:55:47 -0800


On Jan 18, 2005, at 1:50 PM, Eric Friedman wrote:

Can anyone hazard a guess as to how the view that displays/edits cards
in AddressBook works?  It looks like more than a matrix of composite
cells.

If you were to build a similar view, what approach would you take?



Its a NSTextView subclass that puts markers in the text to know where the ends of ranges etc. are. It over rides TextView,TextStorage, LayoutManager etc.. to get the job done.

It isn't using any private API to do its thing.

Vince

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >AddressBook card view (From: Eric Friedman <email@hidden>)

  • Prev by Date: Re: AddressBook card view
  • Next by Date: Re: AddressBook card view
  • Previous by thread: Re: AddressBook card view
  • Next by thread: Re: AddressBook card view
  • Index(es):
    • Date
    • Thread