Clarification on custom NSFormatter
Clarification on custom NSFormatter
- Subject: Clarification on custom NSFormatter
- From: Erg Consultant <email@hidden>
- Date: Tue, 19 May 2009 20:43:05 -0700 (PDT)
I have my own objects I store in an NSOutlineView. Each object has a name property.
When I implement my custom NSFormatter to tell the table how to draw cells, do I create a separate subclass of NSFormatter, or can I make my existing data class subclass from NSFormatter and then use the data objects for both data and as the NSFormatter? It seems silly to have to create separate objects just to do the formatting when I am already storing the data objects in the table to begin with.
Erg
_______________________________________________
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