[][src]Trait uikit_sys::IUIDocument

pub trait IUIDocument: Sized + Deref {
    unsafe fn initWithFileURL_(self, url: NSURL) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn openWithCompletionHandler_(
        self,
        completionHandler: _bindgen_ty_id_162185
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn closeWithCompletionHandler_(
        self,
        completionHandler: _bindgen_ty_id_162190
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn loadFromContents_ofType_error_(
        self,
        contents: id,
        typeName: NSString,
        outError: *mut NSError
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn contentsForType_error_(
        self,
        typeName: NSString,
        outError: *mut NSError
    ) -> id
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn disableEditing(self)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn enableEditing(self)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn updateChangeCount_(self, change: UIDocumentChangeKind)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn changeCountTokenForSaveOperation_(
        self,
        saveOperation: UIDocumentSaveOperation
    ) -> id
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn updateChangeCountWithToken_forSaveOperation_(
        self,
        changeCountToken: id,
        saveOperation: UIDocumentSaveOperation
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn saveToURL_forSaveOperation_completionHandler_(
        self,
        url: NSURL,
        saveOperation: UIDocumentSaveOperation,
        completionHandler: _bindgen_ty_id_162207
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn autosaveWithCompletionHandler_(
        self,
        completionHandler: _bindgen_ty_id_162212
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn fileNameExtensionForType_saveOperation_(
        self,
        typeName: NSString,
        saveOperation: UIDocumentSaveOperation
    ) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn writeContents_andAttributes_safelyToURL_forSaveOperation_error_(
        self,
        contents: id,
        additionalFileAttributes: NSDictionary,
        url: NSURL,
        saveOperation: UIDocumentSaveOperation,
        outError: *mut NSError
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn writeContents_toURL_forSaveOperation_originalContentsURL_error_(
        self,
        contents: id,
        url: NSURL,
        saveOperation: UIDocumentSaveOperation,
        originalContentsURL: NSURL,
        outError: *mut NSError
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn fileAttributesToWriteToURL_forSaveOperation_error_(
        self,
        url: NSURL,
        saveOperation: UIDocumentSaveOperation,
        outError: *mut NSError
    ) -> NSDictionary
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn readFromURL_error_(
        self,
        url: NSURL,
        outError: *mut NSError
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn performAsynchronousFileAccessUsingBlock_(
        self,
        block: _bindgen_ty_id_162247
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn handleError_userInteractionPermitted_(
        self,
        error: NSError,
        userInteractionPermitted: BOOL
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn finishedHandlingError_recovered_(
        self,
        error: NSError,
        recovered: BOOL
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn userInteractionNoLongerPermittedForError_(self, error: NSError)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn revertToContentsOfURL_completionHandler_(
        self,
        url: NSURL,
        completionHandler: _bindgen_ty_id_162259
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn fileURL(self) -> NSURL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn localizedName(self) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn fileType(self) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn fileModificationDate(self) -> NSDate
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setFileModificationDate_(self, fileModificationDate: NSDate)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn documentState(self) -> UIDocumentState
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn progress(self) -> NSProgress
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn undoManager(self) -> NSUndoManager
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setUndoManager_(self, undoManager: NSUndoManager)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn hasUnsavedChanges(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn savingFileType(self) -> NSString
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn initWithFileURL_(self, url: NSURL) -> instancetype where
    Self::Target: Message + Sized

unsafe fn openWithCompletionHandler_(
    self,
    completionHandler: _bindgen_ty_id_162185
) where
    Self::Target: Message + Sized

unsafe fn closeWithCompletionHandler_(
    self,
    completionHandler: _bindgen_ty_id_162190
) where
    Self::Target: Message + Sized

unsafe fn loadFromContents_ofType_error_(
    self,
    contents: id,
    typeName: NSString,
    outError: *mut NSError
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn contentsForType_error_(
    self,
    typeName: NSString,
    outError: *mut NSError
) -> id where
    Self::Target: Message + Sized

unsafe fn disableEditing(self) where
    Self::Target: Message + Sized

unsafe fn enableEditing(self) where
    Self::Target: Message + Sized

unsafe fn updateChangeCount_(self, change: UIDocumentChangeKind) where
    Self::Target: Message + Sized

unsafe fn changeCountTokenForSaveOperation_(
    self,
    saveOperation: UIDocumentSaveOperation
) -> id where
    Self::Target: Message + Sized

unsafe fn updateChangeCountWithToken_forSaveOperation_(
    self,
    changeCountToken: id,
    saveOperation: UIDocumentSaveOperation
) where
    Self::Target: Message + Sized

unsafe fn saveToURL_forSaveOperation_completionHandler_(
    self,
    url: NSURL,
    saveOperation: UIDocumentSaveOperation,
    completionHandler: _bindgen_ty_id_162207
) where
    Self::Target: Message + Sized

unsafe fn autosaveWithCompletionHandler_(
    self,
    completionHandler: _bindgen_ty_id_162212
) where
    Self::Target: Message + Sized

unsafe fn fileNameExtensionForType_saveOperation_(
    self,
    typeName: NSString,
    saveOperation: UIDocumentSaveOperation
) -> NSString where
    Self::Target: Message + Sized

unsafe fn writeContents_andAttributes_safelyToURL_forSaveOperation_error_(
    self,
    contents: id,
    additionalFileAttributes: NSDictionary,
    url: NSURL,
    saveOperation: UIDocumentSaveOperation,
    outError: *mut NSError
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn writeContents_toURL_forSaveOperation_originalContentsURL_error_(
    self,
    contents: id,
    url: NSURL,
    saveOperation: UIDocumentSaveOperation,
    originalContentsURL: NSURL,
    outError: *mut NSError
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn fileAttributesToWriteToURL_forSaveOperation_error_(
    self,
    url: NSURL,
    saveOperation: UIDocumentSaveOperation,
    outError: *mut NSError
) -> NSDictionary where
    Self::Target: Message + Sized

unsafe fn readFromURL_error_(self, url: NSURL, outError: *mut NSError) -> BOOL where
    Self::Target: Message + Sized

unsafe fn performAsynchronousFileAccessUsingBlock_(
    self,
    block: _bindgen_ty_id_162247
) where
    Self::Target: Message + Sized

unsafe fn handleError_userInteractionPermitted_(
    self,
    error: NSError,
    userInteractionPermitted: BOOL
) where
    Self::Target: Message + Sized

unsafe fn finishedHandlingError_recovered_(
    self,
    error: NSError,
    recovered: BOOL
) where
    Self::Target: Message + Sized

unsafe fn userInteractionNoLongerPermittedForError_(self, error: NSError) where
    Self::Target: Message + Sized

unsafe fn revertToContentsOfURL_completionHandler_(
    self,
    url: NSURL,
    completionHandler: _bindgen_ty_id_162259
) where
    Self::Target: Message + Sized

unsafe fn fileURL(self) -> NSURL where
    Self::Target: Message + Sized

unsafe fn localizedName(self) -> NSString where
    Self::Target: Message + Sized

unsafe fn fileType(self) -> NSString where
    Self::Target: Message + Sized

unsafe fn fileModificationDate(self) -> NSDate where
    Self::Target: Message + Sized

unsafe fn setFileModificationDate_(self, fileModificationDate: NSDate) where
    Self::Target: Message + Sized

unsafe fn documentState(self) -> UIDocumentState where
    Self::Target: Message + Sized

unsafe fn progress(self) -> NSProgress where
    Self::Target: Message + Sized

unsafe fn undoManager(self) -> NSUndoManager where
    Self::Target: Message + Sized

unsafe fn setUndoManager_(self, undoManager: NSUndoManager) where
    Self::Target: Message + Sized

unsafe fn hasUnsavedChanges(self) -> BOOL where
    Self::Target: Message + Sized

unsafe fn savingFileType(self) -> NSString where
    Self::Target: Message + Sized

Loading content...

Implementors

impl IUIDocument for UIDocument[src]

impl IUIDocument for UIManagedDocument[src]

Loading content...