 |
 |
Program Signatures & desktop DB
|
 |
|
 |
|
Mac Enthusiast
Join Date: Feb 2000
Location: Storrs,Connecticut, USA
Status:
Offline
|
|
In was wondering what a program's signature was used for in OS X. I'm using Cocoa and I am almost finished with a program which doesn't make any documents. I was thinking that the signature could be like the creator code in OS 9, which is used to keep track of icons, but since OS X has no real desktop database I can't think of what the signature is used for. Do I have to register a signature with Apple, for OS X, if my program doesn't save anything? Also, how are icons kept tracked of in X? I can't seem to find anything anywhere that tells me what has taken the place of the dekstop file. What happens if this new way of keeping track of icons becomes corrupt? For example, a while ago all of my nib packages began to appear as folders. After about two weeks they began to appear correctly again. How do I rebuild the desktop per se in order to make stuff appear normally again?
|
|
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Sep 2000
Status:
Offline
|
|
You do not need creators in most cases. One reason to have it is to assure your app can be targetted by InternetConfig (however, if you don't open any docs, probably don't need to worry about this.) Another is if you're creating a Carbon app which also needs to run on 9.
Just make sure you have CFBundleIdentifier (use a Java-like naming convention), which is used to uniquely identify your app or bundle...
In X, icon information is parsed from your Info.plist file, and cached away in files in the user's Library folder. If the files are lost, the system will automatically build them. This stuff had some problems in Public Beta, but should be in much better shape in the final release.
Ali
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Feb 2000
Location: Storrs,Connecticut, USA
Status:
Offline
|
|
So in OSX there is no need for a signiture if my app doesn't save anything so I can just leave the signature as ????. The question that I have left is, since it looks like I'll need to make a CFBundleIdentifier is where do I register it with Apple?
|
|
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Sep 2000
Status:
Offline
|
|
I do not believe there is a mechanism for registering those with Apple. Apple recommends using a Java-style package name, so if you can come up with one of those that is fairly unique, you're in good shape. For companies this is fairly straightforward (com.apple.subsystem.whatever) but I am not sure how individuals are supposed to come up with these. Maybe something like youremailaddress.applications.appname? I'm sure you wouldn't want your social security number there. 8-)
Another option might be to generate some universally unique ID (like from Windows) and use that as a part of your name.
Ali
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|