Re: (no subject)
Re: (no subject)
Because *type != @"NSApplicationFileType" (they're not the same
object), but maybe
[*type isEqual:@"NSApplicationFileType"]
-- Dan
On Monday, April 14, 2003, at 03:18 PM, Georges Engelmann wrote:
Hi
can anyone tell me why this isnt working? (error 10)
NSString **appName;
NSString **type;
if([ws getInfoForFile:@"/Some/Path" application:appName type:type] ==
TRUE)
{
NSLog(*type);
if(*type == @"NSApplicationFileType")
some action
}
Thanks!
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: | |
| >(no subject) (From: Georges Engelmann <email@hidden>) |