FROM : Steve Christensen
DATE : Sat May 24 23:18:33 2008
On May 24, 2008, at 2:11 PM, Jens Alfke wrote:
> On 24 May '08, at 12:05 PM, Steve Christensen wrote:
>
>> Would something like this work better? It should deal with
>> localization or if the user renames iTunes for some reason.
> ...
>> if ([[applicationD objectForKey:@"NSApplicationPath"]
>> isEqualToString:iTunesPath])
>
> It would be simpler just to use the "NSApplicationBundleIdentifier"
> key, comparing it with "com.apple.iTunes".
I didn't see that in the headers but it is in the docs. Yes, that'd
work better.
DATE : Sat May 24 23:18:33 2008
On May 24, 2008, at 2:11 PM, Jens Alfke wrote:
> On 24 May '08, at 12:05 PM, Steve Christensen wrote:
>
>> Would something like this work better? It should deal with
>> localization or if the user renames iTunes for some reason.
> ...
>> if ([[applicationD objectForKey:@"NSApplicationPath"]
>> isEqualToString:iTunesPath])
>
> It would be simpler just to use the "NSApplicationBundleIdentifier"
> key, comparing it with "com.apple.iTunes".
I didn't see that in the headers but it is in the docs. Yes, that'd
work better.
| Related mails | Author | Date |
|---|---|---|
| Mr. Gecko | May 24, 00:01 | |
| Nick Zitzmann | May 24, 00:07 | |
| Mr. Gecko | May 24, 17:29 | |
| Steve Christensen | May 24, 21:05 | |
| Thomas Engelmeier | May 24, 22:22 | |
| Jens Alfke | May 24, 23:11 | |
| Steve Christensen | May 24, 23:13 | |
| Steve Christensen | May 24, 23:18 | |
| Mr. Gecko | May 25, 00:31 | |
| has | May 25, 00:40 |






Cocoa mail archive

