• 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
Test for typeName failing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Test for typeName failing


  • Subject: Test for typeName failing
  • From: Walker Argendeli <email@hidden>
  • Date: Mon, 19 Jan 2009 19:01:27 -0500

In my readFromURL:ofType:error: method, I'm testing to see if typeName is equal to a string representing zip, and then taking action based off of that. The problem is that even when I load a zip, the statement fails. I logged tpeName to the console to get what it was for zip, so I don't understand why, when I test for that, it fails. What's going on?
Here's the code:
if (typeName == @"public.zip-archive")
[task setLaunchPath:@"/usr/bin/zipinfo"];


Thanks,
- Walker Argendeli

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Test for typeName failing
      • From: "Stephen J. Butler" <email@hidden>
  • Prev by Date: CoreData entity mutability
  • Next by Date: Re: Test for typeName failing
  • Previous by thread: Re: CoreData entity mutability
  • Next by thread: Re: Test for typeName failing
  • Index(es):
    • Date
    • Thread