Hi Jason

-(BOOL)createDirectoryAtPath:(NSString*)path withIntermediateDirectories:(BOOL)createIntermediates attributes: (NSDictionary*)attributes error:(NSError**)error;

I saw this, but if I have to deploy on 10.4, will this call fail on 10.4 since it is new in 10.5?

No, it won't. You could check programmatically for 10.5 and call it (at least then, if it fails on 10.5 you will know why) and fall back to the other call on 10.4.

I was thinking about this, but I dont quite get what #if I would use. I know there is #if (MAC_OS_X_VERSION_10_3) as example, but would I have to check like min MAC_OS_X_VERSION_10_4 max MAC_OS_X_VERSION_10_4_11 (Where there .11 releases or .6?) and then another conditional of greater MAC_OS_X_VERSION_10_5?

See what I mean?

-Jason

_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to