• 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
Call of super from a custom NSCell in a custom NSControl
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Call of super from a custom NSCell in a custom NSControl


  • Subject: Call of super from a custom NSCell in a custom NSControl
  • From: Nicolas Dudebout <email@hidden>
  • Date: Sat, 24 Feb 2007 12:50:33 +0100

I'm trying to add a few features to level indicators and decided to subclass NSLevelIndicator and NSLevelIndicatorCell to do so.

I instantiate my MyLevelIndicator programatically and call the test method that is supposed to print super's description but it crashes.

This is a problem to me because I need to use super to draw my custom cell.

I have made a minimal project to show this: http:// nicolasaujapon.free.fr/TestLevelIndicator.zip.

PS: I also tried it with NSSlider and NSSliderCell and got the same problem. I do not really understand what is going on here.

Thanks in advance for your help.

Nicolas Dudebout

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


  • Follow-Ups:
    • Re: Call of super from a custom NSCell in a custom NSControl
      • From: Ricky Sharp <email@hidden>
  • Prev by Date: Implementing Smart Collections
  • Next by Date: Re: Custom NSView That is iChat Chat Log Like
  • Previous by thread: RE: Implementing Smart Collections
  • Next by thread: Re: Call of super from a custom NSCell in a custom NSControl
  • Index(es):
    • Date
    • Thread