Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Program Signatures & desktop DB

Program Signatures & desktop DB
Thread Tools
Mac Enthusiast
Join Date: Feb 2000
Location: Storrs,Connecticut, USA
Status: Offline
Reply With Quote
Mar 2, 2001, 09:29 AM
 
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?
     
ali
Forum Regular
Join Date: Sep 2000
Status: Offline
Reply With Quote
Mar 2, 2001, 08:09 PM
 
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
     
Dalgo  (op)
Mac Enthusiast
Join Date: Feb 2000
Location: Storrs,Connecticut, USA
Status: Offline
Reply With Quote
Mar 8, 2001, 09:24 AM
 
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?
     
ali
Forum Regular
Join Date: Sep 2000
Status: Offline
Reply With Quote
Mar 8, 2001, 11:50 AM
 
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

     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:30 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2