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) orYES(Obj-C) to allow access,false(Swift) orNO(Obj-C) to deny access.
Return Value
A populated result instance, or nil if validation fails.