Re: Aliases or Links in Contents/Resources?
Re: Aliases or Links in Contents/Resources?
- Subject: Re: Aliases or Links in Contents/Resources?
- From: Daniel Jalkut <email@hidden>
- Date: Mon, 26 Dec 2005 19:42:45 -0500
Will the "host application" always be running before the "agent
application" needs access to its resources?
Once the application is running, you can use the
"bundleWithIdentifier" method of NSBundle to locate it, and then ask
for resources from within that bundle.
E.g.:
[[NSBundle bundleWithIdentifier:@"com.red-sweater.HappyApp"]
pathForResource:@"SmileyFace" ofType:@"jpg"];
That seems preferable to using links or aliases, which add build-time
complexity to your release process.
Daniel
On Dec 23, 2005, at 2:16 PM, Jerry Krinock wrote:
This seems like a question that might have correct answer and many
almost-correct answers which will bite me later. Is there a proper
way to
do this cross-reference resources within a compound package?
_______________________________________________
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