Re: App names
Re: App names
- Subject: Re: App names
- From: Marcus <email@hidden>
- Date: Sun, 31 Aug 2008 22:40:24 +0200
31 aug 2008 kl. 22.14 skrev John Joyce:
When dealing with applications (application bundles) by name or path,
in Cocoa, when does it make a difference whether you use
App Name.app
example:
Front Row.app
or:
/Applications/Front Row.app
versus
App Name
example:
Front Row
or:
/Applications/Front Row
This seems to be pretty important, and I'm curious when and to what
degree I should be cautious about the naming used in code.
At this time I am mainly concerned about Apple apps themselves that
should normally be in the system.
Subsequently, is there any difference concerning 10.3 / 10.4 / 10.5 ?
The difference is that App Name.app can be any App Name.app, whether
or not it lies inside your bundle, the same directory as you bundle,
or in a directory that is searched for bundles. /Applications/Front
Row.app is /Applications/Front Row.app, and no other Front Row.app,
even if there's a Front Row.app lying somewhere else where your
application may look for them.
From what I know, there's no difference in the way the above works
between different versions of Mac OS X.
Marcus
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
References: | |
| >App names (From: John Joyce <email@hidden>) |