Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Try in Multiple apps' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Try in Multiple apps
Authored by: ElectroMech on Jan 20, '02 04:33:43AM

I tried this tip in the Finder, Sys Prefs, Okito Composer, OmniWeb, etc. I got different results in different apps. Looks like an area Apple needs to standardize or add to UI guidelines.



[ Reply to This | # ]
Try in Multiple apps - Is Finder Cocoa?
Authored by: Mithrandir on Jan 20, '02 08:06:07AM

The Finder, unless I am mistaken, is not a Cocoa application and therefor does not behave as such. Apple was kind enough to 'fake' several Cocoa features but not all. Scroll Wheel action, which is a standard Cocoa feature, is one that they added to the Finder recently. 10.1 I think...

As for the others, check to see if they are Cocoa app. That may explain the different behaviors. Control click the app in question. If Show Package Contents is an option then it is almost certainly a Cocoa app, otherwise it's not.
OK, I just checked the Finder and it does allow Show Package Contents so my theory above may be flawed. Further inspection of its contents however still back up the part about it not being Cocoa. Anyone know for sure?

M



[ Reply to This | # ]
Try in Multiple apps - Is Finder Cocoa?
Authored by: drool_rockworm on Jan 20, '02 01:24:45PM

Hi

You are correct- Finder.app is Carbon.

Carbon apps can have same package structure as Cocoa apps.

drool



[ Reply to This | # ]
Try in Multiple apps - Is Finder Cocoa?
Authored by: toddsnc on Jan 20, '02 11:55:31PM

here's how to tell if an app is really Cocoa (adapted from Mac OS X, the Missing Manual):

Show Package Contents -> Contents -> Resources-> english.lproj

If there's a file in the .lproj folder with a .nib extension, it's Cocoa. (You may choose any language folder.)

Applications that don't have this structure were problably compiled with Codewarrior, like the Microsoft Office X suite. (this is my conjecture)

The Fnder is definitely *not* a Cocoa app.

As an aside, because these really are folders and files, not monolithic applications, if you're sure you're never going to need the danish localized resources you can Trash them. Use Sherlock to search for all <language>.lproj files and throw them out. Probably best to start with one or two to convince yourself that it does work.

cheers!
=t=



[ Reply to This | # ]
Try in Multiple apps - Is Finder Cocoa?
Authored by: smeger on Jan 22, '02 01:42:17AM

Actually, you can make a carbon app that uses .nib files. Check out the New Project menu item in Project Builder.



[ Reply to This | # ]