UIPageControlTimerProgressDelegate

Trait UIPageControlTimerProgressDelegate 

Source
pub unsafe trait UIPageControlTimerProgressDelegate: UIPageControlProgressDelegate {
    // Provided methods
    fn pageControlTimerProgressDidChange(
        &self,
        progress: &UIPageControlTimerProgress,
    )
       where Self: Sized + Message { ... }
    fn pageControlTimerProgress_shouldAdvanceToPage(
        &self,
        progress: &UIPageControlTimerProgress,
        page: NSInteger,
    ) -> bool
       where Self: Sized + Message { ... }
}
Available on crate feature UIPageControlProgress only.
Expand description

Provided Methods§

Source

fn pageControlTimerProgressDidChange( &self, progress: &UIPageControlTimerProgress, )
where Self: Sized + Message,

Called when the progress has changed from the time interval progress.

Source

fn pageControlTimerProgress_shouldAdvanceToPage( &self, progress: &UIPageControlTimerProgress, page: NSInteger, ) -> bool
where Self: Sized + Message,

Determines if the time interval progress should advance to the next page upon progress completion of the current page’s duration. Default is YES.

Trait Implementations§

Source§

impl ProtocolType for dyn UIPageControlTimerProgressDelegate

Source§

const NAME: &'static str = "UIPageControlTimerProgressDelegate"

The name of the Objective-C protocol that this type represents. Read more
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 UIPageControlTimerProgressDelegate

Implementations on Foreign Types§

Source§

impl<T> UIPageControlTimerProgressDelegate for ProtocolObject<T>

Implementors§