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

Re: NSSegmentedControl


  • Subject: Re: NSSegmentedControl
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 03 Aug 2011 11:59:00 -0700

On Aug 3, 2011, at 11:51 AM, koko wrote:

> I have a NSSegmentedControl as an item in a toolbar.  There are 4 segments each with a different image.
> When I build, create an installer package and install on my system the control draws as expected.
> Using the same installer package on a remote system the control does not draw the image for segments 0 and 3.  Inspecting the Resources folder in the App bundle shows the images for segments 0 and 3 to be present.

When I get an only-works-on-my-machine problem, the first thing I do is check for hardcoded absolute paths. I.e. did the segmented control’s image names somehow get set to absolute paths instead of names?

It’s also worth checking capitalization of the image names, in case the remote system has a case-sensitive filesystem (unlikely but possible.)

Beyond that, I’d start using fs_usage to track what files the app tries to open on launch.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

  • Follow-Ups:
    • Re: NSSegmentedControl
      • From: koko <email@hidden>
References: 
 >NSSegmentedControl (From: koko <email@hidden>)

  • Prev by Date: NSSegmentedControl
  • Next by Date: draggingEntered Not Working As Expected
  • Previous by thread: NSSegmentedControl
  • Next by thread: Re: NSSegmentedControl
  • Index(es):
    • Date
    • Thread