Re: NSSegmentedControl
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