• 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: NSSlider and NSSliderCell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSlider and NSSliderCell


  • Subject: Re: NSSlider and NSSliderCell
  • From: "I. Savant" <email@hidden>
  • Date: Mon, 15 Jan 2007 20:01:27 -0500

On Jan 15, 2007, at 6:55 PM, Michael Watson wrote:

When the slider wakes up from the nib, those two methods are called. None of the methods in CustomSliderCell are, though. I still end up with the standard slider bar/knob look. So, I figure I still need to override -(id)initWithFrame:, create the custom cell, and call -setCell: to complete the process, so I do just that. But - initWithFrame: is never called.

You should not have to override -initWithFrame: to do this. This may be a regarded as a silly question, but did you set the class of your slider in IB to your custom slider class? Click to select your slider, then press Cmd-5 in IB and make sure your custom class is selected.


--
I.S.


_______________________________________________

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: NSSlider and NSSliderCell
      • From: Michael Watson <email@hidden>
References: 
 >NSSlider and NSSliderCell (From: Michael Watson <email@hidden>)
 >Re: NSSlider and NSSliderCell (From: "I. Savant" <email@hidden>)
 >Re: NSSlider and NSSliderCell (From: Michael Watson <email@hidden>)

  • Prev by Date: Re: Transparently en-/decrypt package resources
  • Next by Date: Re: NSSlider and NSSliderCell
  • Previous by thread: Re: NSSlider and NSSliderCell
  • Next by thread: Re: NSSlider and NSSliderCell
  • Index(es):
    • Date
    • Thread