[][src]Trait uikit_sys::INSItemProvider

pub trait INSItemProvider: Sized + Deref {
    unsafe fn init(self) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn registerDataRepresentationForTypeIdentifier_visibility_loadHandler_(
        self,
        typeIdentifier: NSString,
        visibility: NSItemProviderRepresentationVisibility,
        loadHandler: _bindgen_ty_id_143984
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_(
        self,
        typeIdentifier: NSString,
        fileOptions: NSItemProviderFileOptions,
        visibility: NSItemProviderRepresentationVisibility,
        loadHandler: _bindgen_ty_id_143998
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn registeredTypeIdentifiersWithFileOptions_(
        self,
        fileOptions: NSItemProviderFileOptions
    ) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn hasItemConformingToTypeIdentifier_(
        self,
        typeIdentifier: NSString
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn hasRepresentationConformingToTypeIdentifier_fileOptions_(
        self,
        typeIdentifier: NSString,
        fileOptions: NSItemProviderFileOptions
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn loadDataRepresentationForTypeIdentifier_completionHandler_(
        self,
        typeIdentifier: NSString,
        completionHandler: _bindgen_ty_id_144019
    ) -> NSProgress
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn loadFileRepresentationForTypeIdentifier_completionHandler_(
        self,
        typeIdentifier: NSString,
        completionHandler: _bindgen_ty_id_144031
    ) -> NSProgress
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn loadInPlaceFileRepresentationForTypeIdentifier_completionHandler_(
        self,
        typeIdentifier: NSString,
        completionHandler: _bindgen_ty_id_144043
    ) -> NSProgress
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithObject_(self, object: *mut u64) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn registerObject_visibility_(
        self,
        object: *mut u64,
        visibility: NSItemProviderRepresentationVisibility
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn registerObjectOfClass_visibility_loadHandler_(
        self,
        aClass: *mut u64,
        visibility: NSItemProviderRepresentationVisibility,
        loadHandler: _bindgen_ty_id_144061
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn canLoadObjectOfClass_(self, aClass: *mut u64) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn loadObjectOfClass_completionHandler_(
        self,
        aClass: *mut u64,
        completionHandler: _bindgen_ty_id_144077
    ) -> NSProgress
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithItem_typeIdentifier_(
        self,
        item: *mut u64,
        typeIdentifier: NSString
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithContentsOfURL_(self, fileURL: NSURL) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn registerItemForTypeIdentifier_loadHandler_(
        self,
        typeIdentifier: NSString,
        loadHandler: NSItemProviderLoadHandler
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn loadItemForTypeIdentifier_options_completionHandler_(
        self,
        typeIdentifier: NSString,
        options: NSDictionary,
        completionHandler: NSItemProviderCompletionHandler
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn registeredTypeIdentifiers(self) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn suggestedName(self) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setSuggestedName_(self, suggestedName: NSString)
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn init(self) -> instancetype where
    Self::Target: Message + Sized

unsafe fn registerDataRepresentationForTypeIdentifier_visibility_loadHandler_(
    self,
    typeIdentifier: NSString,
    visibility: NSItemProviderRepresentationVisibility,
    loadHandler: _bindgen_ty_id_143984
) where
    Self::Target: Message + Sized

unsafe fn registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_(
    self,
    typeIdentifier: NSString,
    fileOptions: NSItemProviderFileOptions,
    visibility: NSItemProviderRepresentationVisibility,
    loadHandler: _bindgen_ty_id_143998
) where
    Self::Target: Message + Sized

unsafe fn registeredTypeIdentifiersWithFileOptions_(
    self,
    fileOptions: NSItemProviderFileOptions
) -> NSArray where
    Self::Target: Message + Sized

unsafe fn hasItemConformingToTypeIdentifier_(
    self,
    typeIdentifier: NSString
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn hasRepresentationConformingToTypeIdentifier_fileOptions_(
    self,
    typeIdentifier: NSString,
    fileOptions: NSItemProviderFileOptions
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn loadDataRepresentationForTypeIdentifier_completionHandler_(
    self,
    typeIdentifier: NSString,
    completionHandler: _bindgen_ty_id_144019
) -> NSProgress where
    Self::Target: Message + Sized

unsafe fn loadFileRepresentationForTypeIdentifier_completionHandler_(
    self,
    typeIdentifier: NSString,
    completionHandler: _bindgen_ty_id_144031
) -> NSProgress where
    Self::Target: Message + Sized

unsafe fn loadInPlaceFileRepresentationForTypeIdentifier_completionHandler_(
    self,
    typeIdentifier: NSString,
    completionHandler: _bindgen_ty_id_144043
) -> NSProgress where
    Self::Target: Message + Sized

unsafe fn initWithObject_(self, object: *mut u64) -> instancetype where
    Self::Target: Message + Sized

unsafe fn registerObject_visibility_(
    self,
    object: *mut u64,
    visibility: NSItemProviderRepresentationVisibility
) where
    Self::Target: Message + Sized

unsafe fn registerObjectOfClass_visibility_loadHandler_(
    self,
    aClass: *mut u64,
    visibility: NSItemProviderRepresentationVisibility,
    loadHandler: _bindgen_ty_id_144061
) where
    Self::Target: Message + Sized

unsafe fn canLoadObjectOfClass_(self, aClass: *mut u64) -> BOOL where
    Self::Target: Message + Sized

unsafe fn loadObjectOfClass_completionHandler_(
    self,
    aClass: *mut u64,
    completionHandler: _bindgen_ty_id_144077
) -> NSProgress where
    Self::Target: Message + Sized

unsafe fn initWithItem_typeIdentifier_(
    self,
    item: *mut u64,
    typeIdentifier: NSString
) -> instancetype where
    Self::Target: Message + Sized

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

unsafe fn registerItemForTypeIdentifier_loadHandler_(
    self,
    typeIdentifier: NSString,
    loadHandler: NSItemProviderLoadHandler
) where
    Self::Target: Message + Sized

unsafe fn loadItemForTypeIdentifier_options_completionHandler_(
    self,
    typeIdentifier: NSString,
    options: NSDictionary,
    completionHandler: NSItemProviderCompletionHandler
) where
    Self::Target: Message + Sized

unsafe fn registeredTypeIdentifiers(self) -> NSArray where
    Self::Target: Message + Sized

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

unsafe fn setSuggestedName_(self, suggestedName: NSString) where
    Self::Target: Message + Sized

Loading content...

Implementors

impl INSItemProvider for NSItemProvider[src]

Loading content...