• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: (no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (no subject)


  • Subject: Re: (no subject)
  • From: Dan Bernstein <cocoa-dev%email@hidden>
  • Date: Mon, 14 Apr 2003 15:30:03 +0300

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>)

  • Prev by Date: (no subject)
  • Next by Date: real newbie question, go easy on me, please ;-)
  • Previous by thread: (no subject)
  • Next by thread: Re: (no subject)
  • Index(es):
    • Date
    • Thread