Re: AddressBook card view
Re: AddressBook card view
- Subject: Re: AddressBook card view
- From: Glen Simmons <email@hidden>
- Date: Wed, 19 Jan 2005 09:34:26 -0600
On 19 Jan, 2005, at 9:29 AM, Guy English wrote:
On Wed, 19 Jan 2005 08:56:18 +0100, Yann Bizeul <email@hidden> wrote:
You make me doubt. In fact I don't know if the label thing is not some
kind of custom NSControl, but I'm almost sure all the editable stuffs
are a single NSTextView.
Well Tim Lucas looked at it with F-Script so I'm guessing it *is* one
text view. The multivalue controls are probably attachement cells or
something. Either way, like Uli said, I wouldn't have done it that
way. But then again it turned out really nice. :)
Maybe Douglas can shed some light on how it was done?
Guy
Pay attention people. Vince DeMarco said it was an NSTextView subclass
yesterday:
From: Vince DeMarco <email@hidden>
Date: 18 January, 2005 3:55:47 PM CST
To: Eric Friedman <email@hidden>
Cc: email@hidden
Subject: Re: AddressBook card view
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