resolving alias
resolving alias
- Subject: resolving alias
- From: "Jan E. Schotsman" <email@hidden>
- Date: Wed, 22 Jul 2015 15:14:21 +0200
Hello,
I am converting a Carbon program.
When resolving an alias, it t really necessary to call
URLByResolvingSymlinksInPath first or is this just defensive coding?
Second problem: if I do this:
options = NSURLBookmarkResolutionWithoutUI |
NSURLBookmarkResolutionWithoutMounting
fileObject = NSURL.URLByResolvingBookmarkData( bookmarkData,
options:options,
relativeToURL:nil, bookmarkDataIsStale:&isStale, error:&err )
I get this message from the analyzer: Use of unresolved identifier
NSURLBookmarkResolutionWithoutMounting
These BookmarkResolution options constants seem to have disappeared.
What is the recommended code path these days?
Jan E.
Xcode 6.3
_______________________________________________
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