• 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: koko <email@hidden>
  • Date: Wed, 03 Aug 2011 13:30:38 -0600

The path type for the images for segments 0 and 3 and segments 1 and 2 is "Relative to Enclosing Group".

The images names all lower case. The remote systems is running OSXv10.5.8.

Looking at fs_usage now.


On Aug 3, 2011, at 12:59 PM, Jens Alfke wrote:

>
> 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

_______________________________________________

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: Jens Alfke <email@hidden>
References: 
 >NSSegmentedControl (From: koko <email@hidden>)
 >Re: NSSegmentedControl (From: Jens Alfke <email@hidden>)

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