use core::ffi::*;
use core::ptr::NonNull;
use objc2::__framework_prelude::*;
#[cfg(feature = "objc2-core-foundation")]
use objc2_core_foundation::*;
use crate::*;
extern_class!(
#[unsafe(super(NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct SKOverlayTransitionContext;
);
extern_conformance!(
unsafe impl NSObjectProtocol for SKOverlayTransitionContext {}
);
impl SKOverlayTransitionContext {
extern_methods!(
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
#[cfg(feature = "block2")]
#[unsafe(method(addAnimationBlock:))]
#[unsafe(method_family = none)]
pub unsafe fn addAnimationBlock(&self, block: &block2::DynBlock<dyn Fn()>);
#[cfg(feature = "objc2-core-foundation")]
#[unsafe(method(startFrame))]
#[unsafe(method_family = none)]
pub unsafe fn startFrame(&self) -> CGRect;
#[cfg(feature = "objc2-core-foundation")]
#[unsafe(method(endFrame))]
#[unsafe(method_family = none)]
pub unsafe fn endFrame(&self) -> CGRect;
);
}