• 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
NSFormatter how to use ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSFormatter how to use ?


  • Subject: NSFormatter how to use ?
  • From: Robert Miller <email@hidden>
  • Date: Mon, 28 Oct 2002 12:03:23 -0500

Hello,

I hope someone can help me. I'm trying to use an NSDateFormatter in my table and I'm calling the NSCell setFormatter: method for the data cell of a particular column of the table. My data source for the table is a custom class which returns strings and in this case simply the row and column of the cell for debug display. When I set the column cell's formatter the data in the cells disappears from display once the table is updated, (I guess as expected because the initial cell data is invalid). But, then if I type a valid date into a cell fro the date column, as I tab out the cell becomes empty again, although clicking into the cell briefly displays the text entered previously. has anyone else seen this behavior ? Is there some trick to getting a formatter to work properly for a table cell ?

Thanks for any info in advance,
Regards,
Bob M.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: NSString Parsing
  • Next by Date: How to implement font bigger/smaller buttons?
  • Previous by thread: Re: Tree for NSOutlineView?
  • Next by thread: Re: NSFormatter how to use ?
  • Index(es):
    • Date
    • Thread