GKAchievementViewControllerDelegate

Trait GKAchievementViewControllerDelegate 

Source
pub unsafe trait GKAchievementViewControllerDelegate: NSObjectProtocol {
    // Provided method
    unsafe fn achievementViewControllerDidFinish(
        &self,
        view_controller: Option<&GKAchievementViewController>,
    )
       where Self: Sized + Message { ... }
}
👎Deprecated
Available on crate feature GKAchievementViewController only.
Expand description

Optional delegate

See also Apple’s documentation

Provided Methods§

Source

unsafe fn achievementViewControllerDidFinish( &self, view_controller: Option<&GKAchievementViewController>, )
where Self: Sized + Message,

👎Deprecated
Available on crate feature GKGameCenterViewController and crate feature objc2-app-kit and macOS only.

The achievement view has finished

§Safety

view_controller might not allow None.

Trait Implementations§

Source§

impl ProtocolType for dyn GKAchievementViewControllerDelegate

Source§

const NAME: &'static str = "GKAchievementViewControllerDelegate"

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 GKAchievementViewControllerDelegate

Implementations on Foreign Types§

Source§

impl<T> GKAchievementViewControllerDelegate for ProtocolObject<T>

Implementors§