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

Re: NSFormatter how to use ?


  • Subject: Re: NSFormatter how to use ?
  • From: matt neuburg <email@hidden>
  • Date: Mon, 28 Oct 2002 12:40:09 -0800

On Mon, 28 Oct 2002 12:03:23 -0500, Robert Miller <email@hidden> said:

> 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

Well, there's your problem right there. An NSDateFormatter takes and returns an object value that is an NSDate - not a string. m.

matt neuburg, phd = email@hidden, http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
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: State image for NSMenuItem
  • Next by Date: compositeToPoint ignores DPI?
  • Previous by thread: NSFormatter how to use ?
  • Next by thread: How to implement font bigger/smaller buttons?
  • Index(es):
    • Date
    • Thread