• 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: NSSegmentedControl Display Bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSegmentedControl Display Bug?


  • Subject: Re: NSSegmentedControl Display Bug?
  • From: glenn andreas <email@hidden>
  • Date: Wed, 3 Aug 2005 15:38:30 -0500


On Aug 3, 2005, at 3:25 PM, Philip Dow wrote:

Todd,

This bit of code works great on 10.4.2, but on a 10.3.9 system it crashes:

2005-08-01 13:38:02.685 Journler[371] *** -[NSSegmentedCell _setSegmentedCellStyle:]: selector not recognized
2005-08-01 13:38:02.686 Journler[371] An uncaught exception was raised
2005-08-01 13:38:02.693 Journler[371] *** -[NSSegmentedCell _setSegmentedCellStyle:]: selector not recognized
2005-08-01 13:38:02.693 Journler[371] *** Uncaught exception: <NSInvalidArgumentException> *** -[NSSegmentedCell _setSegmentedCellStyle:]: selector not recognized


Do you know what's up?

You're using undocumented calls (_setSegmentCellStyle:).

This is one of the many reasons you shouldn't use undocumented calls - they may not exist (or work different) between different OS versions.

Undocumented calls - just say no.


Glenn Andreas email@hidden <http://www.gandreas.com/> wicked fun! Widgetarium | the quickest path to widgets

_______________________________________________
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: NSSegmentedControl Display Bug?
      • From: Todd Yandell <email@hidden>
References: 
 >Re: NSSegmentedControl Display Bug? (From: Philip Dow <email@hidden>)

  • Prev by Date: NSMatrix prototype
  • Next by Date: NSOutlineView bug?
  • Previous by thread: NSMatrix prototype
  • Next by thread: Re: NSSegmentedControl Display Bug?
  • Index(es):
    • Date
    • Thread