• 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
Selectively using formatter in table view text cell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Selectively using formatter in table view text cell


  • Subject: Selectively using formatter in table view text cell
  • From: Graham Cox <email@hidden>
  • Date: Wed, 24 Jun 2009 15:27:06 +1000

I have a table view that displays the contents of a dictionary.

The values can be string data or numeric data. For numeric, I want to use a formatter to make it nice and pretty, but for string data I want to display it verbatim. If I attach a formatter to the text cell it refuses to validate pure string input. Is there a way to set up the formatter this way, or do I need to either create a special formatter or apply the formatter selectively for different rows (if so, how?).

--Graham


_______________________________________________

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: Selectively using formatter in table view text cell
      • From: Quincey Morris <email@hidden>
  • Prev by Date: RE: Cocoa and email (SMTP/POP3)
  • Next by Date: Re: Cocoa and email (SMTP/POP3)
  • Previous by thread: Re: NSScrollView: special handling of subview's headerView?
  • Next by thread: Re: Selectively using formatter in table view text cell
  • Index(es):
    • Date
    • Thread