Trait objc2_ui_kit::UIDropSession
source · pub unsafe trait UIDropSession: NSProgressReporting + UIDragDropSession + IsMainThreadOnly {
// Provided methods
unsafe fn localDragSession(
&self
) -> Option<Retained<ProtocolObject<dyn UIDragSession>>>
where Self: Sized + Message { ... }
unsafe fn progressIndicatorStyle(
&self
) -> UIDropSessionProgressIndicatorStyle
where Self: Sized + Message { ... }
unsafe fn setProgressIndicatorStyle(
&self,
progress_indicator_style: UIDropSessionProgressIndicatorStyle
)
where Self: Sized + Message { ... }
unsafe fn loadObjectsOfClass_completion(
&self,
a_class: &AnyClass,
completion: &Block<dyn Fn(NonNull<NSArray<ProtocolObject<dyn NSItemProviderReading>>>)>
) -> Retained<NSProgress>
where Self: Sized + Message { ... }
}
Available on crate feature
UIDragSession
only.Provided Methods§
unsafe fn localDragSession( &self ) -> Option<Retained<ProtocolObject<dyn UIDragSession>>>
unsafe fn progressIndicatorStyle(&self) -> UIDropSessionProgressIndicatorStyle
unsafe fn setProgressIndicatorStyle( &self, progress_indicator_style: UIDropSessionProgressIndicatorStyle )
unsafe fn loadObjectsOfClass_completion( &self, a_class: &AnyClass, completion: &Block<dyn Fn(NonNull<NSArray<ProtocolObject<dyn NSItemProviderReading>>>)> ) -> Retained<NSProgress>
Available on crate feature
block2
only.