Skip to main content

SKCloudServiceSetupViewControllerDelegate

Trait SKCloudServiceSetupViewControllerDelegate 

Source
pub unsafe trait SKCloudServiceSetupViewControllerDelegate: NSObjectProtocol {
    // Provided method
    unsafe fn cloudServiceSetupViewControllerDidDismiss(
        &self,
        cloud_service_setup_view_controller: &SKCloudServiceSetupViewController,
    )
       where Self: Sized + Message { ... }
}
👎Deprecated:

Use the musicSubscriptionOffer(isPresented:options:onLoadCompletion:) SwiftUI View Modifier from MusicKit

Available on crate feature SKCloudServiceSetupViewController only.
Expand description

Provided Methods§

Source

unsafe fn cloudServiceSetupViewControllerDidDismiss( &self, cloud_service_setup_view_controller: &SKCloudServiceSetupViewController, )
where Self: Sized + Message,

👎Deprecated:

Use the musicSubscriptionOffer(isPresented:options:onLoadCompletion:) SwiftUI View Modifier from MusicKit

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

Sent when the view controller was dismissed.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn SKCloudServiceSetupViewControllerDelegate

Source§

impl ProtocolType for dyn SKCloudServiceSetupViewControllerDelegate

Source§

const NAME: &'static str = "SKCloudServiceSetupViewControllerDelegate"

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> SKCloudServiceSetupViewControllerDelegate for ProtocolObject<T>

Implementors§