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 (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com