• 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: NSTableView cell editing begin / end notifications?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView cell editing begin / end notifications?


  • Subject: Re: NSTableView cell editing begin / end notifications?
  • From: Alexander Bokovikov <email@hidden>
  • Date: Tue, 28 Jul 2009 19:09:55 +0600

Hi, All,

As soon as I have no replies, I will try to reduce my problem scope...

As far as I can see now, there are no suitable messages/notifications in standard Cocoa classes, which could serve, as notifiers of the cell editor session start/stop. I've found a code snipped, showing, how to create my own cell editor subclass:
-(id) windowWillReturnFieldEditor:(NSWindow *)sender toObject: (id)anObject {
if ([anObject isKindOfClass:[NSTextField class]]) {
return [[[myCustomFieldEditor alloc] init] autorelease];
}
return nil;
}
I've assigned my AppController, as the main window delegate, then created my own cell editor, as a derivative from NSTextView, and am trying to create it, as it is shown above.
There is a problem - "if" operator, shown above, is never true. So, my cell editor is never created and the result of this method is always nil.
Am I missing something?
Thanks.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Cocoa Document-Based App v. Windows MDI App
  • Next by Date: NSPopUpButtonCell needs Extra Oomph to -display
  • Previous by thread: NSTableView cell editing begin / end notifications?
  • Next by thread: Re: NSTableView cell editing begin / end notifications?
  • Index(es):
    • Date
    • Thread