Declaration

func importNative(_ url: URL) throws

Declaration

- (BOOL) importNative:(NSURL *) url error:(NSError **) error;

Declaration

importNative_error_(url: NSURL) -> tuple[bool, NSError]

Parameters

error

On output, a pointer to an error object that describes why the method failed, or nil if no error occurred. If you are not interested in the error information, pass nil for this parameter.

Discussion

This is the import primitive, not the NSDocument entry point: it performs no beta expiry check. See GSDocument (MainApplication).

Return Value

YES if the method succeeded, otherwise NO.

Discussion

This is the import primitive, not the NSDocument entry point: it performs no beta expiry check. See GSDocument (MainApplication).