• 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: Customising the behaviour of an NSTextFieldCell in an NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Customising the behaviour of an NSTextFieldCell in an NSTableView


  • Subject: Re: Customising the behaviour of an NSTextFieldCell in an NSTableView
  • From: glenn andreas <email@hidden>
  • Date: Thu, 6 Jan 2005 19:09:38 -0600


On Jan 6, 2005, at 5:30 PM, Jake Macmullin wrote:

I'm just getting back in to Cocoa after a bit of a hiatus - and I'm still quite new to Objective-C, so please regard my questions in that light.

I'd like to customise the behaviour of an NSTextFieldCell that I'm using in an NSTableView. Basically, I want to do two things:

1). provide my own set of suggestions when complete: is called
2). call complete: after each key-stroke in the cell


This sounds a whole lot like a NSComboBoxCell - perhaps that might work better? After all, it already is a subclass of NSTextFieldCell, and effectively provides a list of things which can be used to complete the list (though the delegate methods to provide that list are normally used when NSComboBoxCell is in an NSComboBoxControl, and not embedded in an NSTableViewColumn - but you can always subclass NSComboBoxCell).




Glenn Andreas                      email@hidden 
 <http://www.gandreas.com/> oh my!
Mad, Bad, and Dangerous to Know

_______________________________________________
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


  • Follow-Ups:
    • Re: Customising the behaviour of an NSTextFieldCell in an NSTableView
      • From: Jake Macmullin <email@hidden>
References: 
 >Customising the behaviour of an NSTextFieldCell in an NSTableView (From: Jake Macmullin <email@hidden>)

  • Prev by Date: image wont display in custom nsview
  • Next by Date: Problems with NSTimer and NSRunLoop/CFRunLoop
  • Previous by thread: Re: Customising the behaviour of an NSTextFieldCell in an NSTableView
  • Next by thread: Re: Customising the behaviour of an NSTextFieldCell in an NSTableView
  • Index(es):
    • Date
    • Thread