• 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: DateFormatter in a table?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DateFormatter in a table?


  • Subject: Re: DateFormatter in a table?
  • From: Bill Cheeseman <email@hidden>
  • Date: Sun, 29 Sep 2002 14:27:53 -0400

on 02-09-29 12:09 PM, Keith Pritchard at email@hidden wrote:

> so if tablecolumn doesn't respond to it, what object does?

NSTableColumn's dataCell method returns a reusable data cell that the column
uses to display each of its cell values. As an NSCell object, it responds to
setFormatter:. So in your awakeFromNib method, or wherever, write something
like [[myTableColumn dataCell] setFormatter:myFormatter].

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont - http://members.valley.net/croquetvermont
_______________________________________________
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.

References: 
 >Re: DateFormatter in a table? (From: Keith Pritchard <email@hidden>)

  • Prev by Date: Re: DateFormatter in a table?
  • Next by Date: URLHandleUsingCache won't cache
  • Previous by thread: Re: DateFormatter in a table?
  • Next by thread: Re: DateFormatter in a table?
  • Index(es):
    • Date
    • Thread