use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct UIOpenURLContext;
unsafe impl ClassType for UIOpenURLContext {
type Super = NSObject;
type Mutability = MainThreadOnly;
}
);
unsafe impl NSObjectProtocol for UIOpenURLContext {}
extern_methods!(
unsafe impl UIOpenURLContext {
#[method_id(@__retain_semantics New new)]
pub unsafe fn new(mtm: MainThreadMarker) -> Retained<Self>;
#[method_id(@__retain_semantics Init init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
#[method_id(@__retain_semantics Other URL)]
pub unsafe fn URL(&self) -> Retained<NSURL>;
#[cfg(feature = "UISceneOptions")]
#[method_id(@__retain_semantics Other options)]
pub unsafe fn options(&self) -> Retained<UISceneOpenURLOptions>;
}
);