• 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: Customizing the "Not Applicable" marker in a tableview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Customizing the "Not Applicable" marker in a tableview


  • Subject: Re: Customizing the "Not Applicable" marker in a tableview
  • From: Mark Dalrymple <email@hidden>
  • Date: Mon, 11 Jul 2005 16:40:31 -0400

Greetings,

This is follow-up for the archives about customizing the "Not Applicable" marker in a tableview (particularly for columns with numeric formatters, where you can't enter a string into IB's marker fields for the binding)

Add this in a convenient place:

+ (void) initialize
{
    [NSTextFieldCell setDefaultPlaceholder: @"hello"
                               forMarker: NSNotApplicableMarker
                             withBinding: NSValueBinding];
} // initialize

(or in my case, I use @"" to not show anything in columns with non- applicable bindings.)

Thanks to Scott Anguish and Ron Lue-Sang for the solution.
++Mark Dalrymple, email@hidden
  http://borkware.com

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Customizing the "Not Applicable" marker in a tableview (From: Mark Dalrymple <email@hidden>)

  • Prev by Date: Re: Inserting Special Characters into a String
  • Next by Date: Re: Why does this leak memory?
  • Previous by thread: Customizing the "Not Applicable" marker in a tableview
  • Next by thread: Core Data - binding entities to UI
  • Index(es):
    • Date
    • Thread