On Mar 10, 2008, at 20:14, Mr. Gecko wrote:
Well I have a global that is set in a header file. In my
awakeFromNib I have it set the globals to the path of an command
line tool in the applications resource
Don't do this.
To find an executable in your bundle, use NSBundle.
For example:
NSString *toolPath = [[NSBundle mainBundle]
pathForResource:@"mytool" ofType:@""];
Best Regards,
Nir Soffer
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]