FROM : Jens Alfke
DATE : Sat May 24 23:11:03 2008
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".
—Jens
DATE : Sat May 24 23:11:03 2008
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".
—Jens
| 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

