• 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
Overriding NSCell's editWithFrame:...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Overriding NSCell's editWithFrame:...


  • Subject: Overriding NSCell's editWithFrame:...
  • From: David Aames <email@hidden>
  • Date: Tue, 3 Oct 2006 02:26:56 +0100

Hello all,

I'm writing my own NSCell and I want to be able to edit my cell so I would like to learn the proper way of implementing this method (editWithFrame:inView:editor:delegate:event:). I cannot really understand what this method is supposed to do. I'm deliberately not subclassing NSTextFieldCell to use it's implementation of this method. So what am I supposed to do in this method? I can get the text for this cell and also modify the rectangle to match my text but how do I display the editing rectangle and everything else? Has anyone actually overridden this method without using the super implementation?

Thanks,
David
_______________________________________________
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: Overriding NSCell's editWithFrame:...
      • From: Mike Abdullah <email@hidden>
  • Prev by Date: Invalid SQL produced by CoreData
  • Next by Date: Help: Data Modelling, NSTreeController and NSBrowser
  • Previous by thread: Re: Invalid SQL produced by CoreData
  • Next by thread: Re: Overriding NSCell's editWithFrame:...
  • Index(es):
    • Date
    • Thread