|
Jun
15 |
|
awarded | Notable Question |
|
Jun
13 |
|
awarded | Notable Question |
|
Jun
5 |
|
comment |
How to check whether directories with a given extension are shown by the Finder as a package? Thanks for confirming the "kext" example and for your help! For future reference, I've edited the test in my question to reflect the extra examples we discussed, in case someone comes up with another implementation approach (which should at least pass this test). For now, I'll stick to the “hack” implementation. |
|
Jun
5 |
|
revised |
How to check whether directories with a given extension are shown by the Finder as a package? Added additional examples to testIsPackageExtension |
|
Jun
5 |
|
comment |
How to check whether directories with a given extension are shown by the Finder as a package? Extensions for which the “temporary directory” and UTI implementations give the same result: rtf, rtfd, app, txt. Extensions with different results (first implementation YES, second NO): esproj, dtps, kext. For these three UTTypeCreateAllIdentifiersForTag returns an array with a single element, a string which starts with "dyn.". Can you confirm the same behavior on your machine for "kext"? It does not require any app to be installed ("kext" = Kernel extension). |
|
Jun
5 |
|
comment |
How to check whether directories with a given extension are shown by the Finder as a package? I tried editing the code to also check against kUTTypeBundle but it still returns NO for "esproj". I added an NSLog for UTI and found that it starts with "dyn."; which, if I understand the documentation correctly, means UTTypeCreatePreferredIdentifierForTag did not find a matching UTI and just created a “fake” dynamic one. Can you confirm this behavior after installing Espresso 2.0.5? |
|
Jun
5 |
|
comment |
How to check whether directories with a given extension are shown by the Finder as a package? Thanks for the answer. I tested your implementation and found that it gives a different result for the extension "esproj" (I have Espresso 2.0.5 installed, macrabbit.com/espresso): the “temporary directory” implementation returns YES (corresponding to the Finder's behavior) while the UTI implementation returns NO. Do you have some idea why that may be? |
|
Jun
5 |
|
asked | How to check whether directories with a given extension are shown by the Finder as a package? |
|
Jun
4 |
|
awarded | Enlightened |
|
Jun
4 |
|
awarded | Nice Answer |
|
May
31 |
|
awarded | Yearling |
|
May
31 |
|
asked | Is there any standard for negotiating token-based authentication in HTTP? |
|
May
27 |
|
awarded | Notable Question |
|
May
23 |
|
awarded | Necromancer |
|
May
22 |
|
awarded | Popular Question |
|
Apr
29 |
|
awarded | Student |
|
Apr
13 |
|
awarded | Popular Question |
|
Apr
8 |
|
awarded | Notable Question |
|
Mar
18 |
|
awarded | Popular Question |
|
Mar
3 |
|
awarded | Popular Question |