• 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
NSImageView and custom cells....
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSImageView and custom cells....


  • Subject: NSImageView and custom cells....
  • From: Teunis Peters <email@hidden>
  • Date: Thu, 26 May 2005 00:52:00 -0700

Am trying to replace cell in an NSImageView subclass. I don't think the cell code much matters here - here's the image code.
No matter what I do, all I get is
*** -[NSImageCell setImageCell:]: selector not recognized
Exception raised during posting of notification. Ignored. exception: *** -[NSImageCell setImageCell:]: selector not recognized

ideas? I'm just about to rewrite the whole thing into a custom control (ick). The cell incidentally works just fine in an NSMatrix control, just for what it's worth.

OSX 10.3, xCode 1.5. Have been searching archives last 2 hours, no leads. This is the best I've gotten so far.

@implementation WGDBImageView
+ (Class) cellClass { return [WGDBImageCell class]; }
+ (void)initialize {
if (self == [WGDBImageView class]) { [self setCellClass:[WGDBImageCell class]]; }
}

-setImageCell:(id)_link {
WGDBImageView* qc = [self cell];
return [qc setImageCell:_link];
};

-(id)imageCell{
WGDBImageView* qc = [self cell];
return [qc imageCell];
};
@end
 _______________________________________________
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: NSImageView and custom cells....
      • From: "John C. Randolph" <email@hidden>
  • Prev by Date: Re: nsbundle and nspersistentdocument
  • Next by Date: Re: nsbundle and nspersistentdocument
  • Previous by thread: Re: List of QuickTime File Types
  • Next by thread: Re: NSImageView and custom cells....
  • Index(es):
    • Date
    • Thread