• 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
Clarification on custom NSFormatter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Clarification on custom NSFormatter
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: Better to chain key path dependencies, or list explicitly?
  • Next by Date: Debugging ineffective binding?
  • Previous by thread: Re: Only One Reason to ever use Transient Properties in Core Data
  • Next by thread: Re: Clarification on custom NSFormatter
  • Index(es):
    • Date
    • Thread