Contents

init(accessAllowed:)

Creates a result for an access-checking operation.

Declaration

init?(accessAllowed: Bool)

Parameters

  • accessAllowed:

    A Boolean value indicating whether the file system grants the requested access to the item. Pass true (Swift) or YES (Obj-C) to allow access, false (Swift) or NO (Obj-C) to deny access.

Return Value

A populated result instance, or nil if validation fails.