Trait objc2_ui_kit::UIPopoverControllerDelegate

source ·
pub unsafe trait UIPopoverControllerDelegate: NSObjectProtocol + IsMainThreadOnly {
    // Provided methods
    unsafe fn popoverControllerShouldDismissPopover(
        &self,
        popover_controller: &UIPopoverController
    ) -> bool
       where Self: Sized + Message { ... }
    unsafe fn popoverControllerDidDismissPopover(
        &self,
        popover_controller: &UIPopoverController
    )
       where Self: Sized + Message { ... }
    unsafe fn popoverController_willRepositionPopoverToRect_inView(
        &self,
        popover_controller: &UIPopoverController,
        rect: NonNull<CGRect>,
        view: &mut Retained<UIView>
    )
       where Self: Sized + Message { ... }
}
Available on crate feature UIPopoverController only.

Provided Methods§

source

unsafe fn popoverControllerShouldDismissPopover( &self, popover_controller: &UIPopoverController ) -> bool
where Self: Sized + Message,

👎Deprecated
source

unsafe fn popoverControllerDidDismissPopover( &self, popover_controller: &UIPopoverController )
where Self: Sized + Message,

👎Deprecated
source

unsafe fn popoverController_willRepositionPopoverToRect_inView( &self, popover_controller: &UIPopoverController, rect: NonNull<CGRect>, view: &mut Retained<UIView> )
where Self: Sized + Message,

👎Deprecated
Available on crate features UIResponder and UIView only.

Trait Implementations§

source§

impl ProtocolType for dyn UIPopoverControllerDelegate

source§

const NAME: &'static str = "UIPopoverControllerDelegate"

The name of the Objective-C protocol that this type represents.
source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
source§

impl<T> ImplementedBy<T> for dyn UIPopoverControllerDelegate

Implementations on Foreign Types§

source§

impl<T> UIPopoverControllerDelegate for ProtocolObject<T>

Implementors§