Re: AddressBook card view
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