use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[unsafe(super(NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct BETextAlternatives;
);
extern_conformance!(
unsafe impl NSObjectProtocol for BETextAlternatives {}
);
impl BETextAlternatives {
extern_methods!(
#[unsafe(method(primaryString))]
#[unsafe(method_family = none)]
pub unsafe fn primaryString(&self) -> Retained<NSString>;
#[unsafe(method(alternativeStrings))]
#[unsafe(method_family = none)]
pub unsafe fn alternativeStrings(&self) -> Retained<NSArray<NSString>>;
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new(&self) -> Retained<Self>;
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
impl BETextAlternatives {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new_class() -> Retained<Self>;
);
}