> On 22 Jul 2015, at 21:14, Jan E. Schotsman <[email protected]> wrote: > > 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. >
If the constants had disappeared it wouldn’t compile. Those constants are alive, well, kicking and not deprecated. I have no idea what the analzyer is whining about. _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
