Enumeration

NSURLBookmarkResolutionOptions

Options used when resolving bookmark data.

Declaration

typedef enum NSURLBookmarkResolutionOptions : NSUInteger {
    ...
} NSURLBookmarkResolutionOptions;

Overview

When resolving a bookmark, use bitwise OR operators to combine the options you want to specify, and provide them to the options parameter of the URLByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error: method.

Version-Notes

Security-scoped bookmarks are not available in versions of macOS prior to OS X 10.7.3.

Topics

Constants

NSURLBookmarkResolutionWithoutUI

Specifies that no UI feedback should accompany resolution of the bookmark data.

NSURLBookmarkResolutionWithoutMounting

Specifies that no volume should be mounted during resolution of the bookmark data.

NSURLBookmarkResolutionWithSecurityScope

Specifies that the security scope, applied to the bookmark when it was created, should be used during resolution of the bookmark data.

See Also

Working with Bookmark Data

+ bookmarkDataWithContentsOfURL:error:

Initializes and returns bookmark data derived from an alias file pointed to by a specified URL.

- bookmarkDataWithOptions:includingResourceValuesForKeys:relativeToURL:error:

Returns a bookmark for the URL, created with specified options and resource values.

+ resourceValuesForKeys:fromBookmarkData:

Returns the resource values for properties identified by a specified array of keys contained in specified bookmark data.

+ writeBookmarkData:toURL:options:error:

Creates an alias file on disk at a specified location with specified bookmark data.

- startAccessingSecurityScopedResource

In an app that has adopted App Sandbox, makes the resource pointed to by a security-scoped URL available to the app.

- stopAccessingSecurityScopedResource

In an app that adopts App Sandbox, revokes access to the resource pointed to by a security-scoped URL.

NSURLBookmarkFileCreationOptions

Options used when creating file bookmark data

NSURLBookmarkCreationOptions

Options used when creating bookmark data.