Re: resolving alias
Re: resolving alias
- Subject: Re: resolving alias
- From: Roland King <email@hidden>
- Date: Wed, 22 Jul 2015 21:38:05 +0800
> On 22 Jul 2015, at 21:14, Jan E. Schotsman <email@hidden> 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@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