use core::ptr::NonNull;
use objc2::__framework_prelude::*;
#[cfg(feature = "objc2-core-foundation")]
use objc2_core_foundation::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[unsafe(super(NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
pub struct TVTopShelfInsetContent;
);
extern_conformance!(
unsafe impl NSObjectProtocol for TVTopShelfInsetContent {}
);
#[cfg(feature = "TVTopShelfContent")]
extern_conformance!(
unsafe impl TVTopShelfContent for TVTopShelfInsetContent {}
);
impl TVTopShelfInsetContent {
extern_methods!(
#[cfg(all(feature = "TVTopShelfItem", feature = "TVTopShelfObject"))]
#[unsafe(method(items))]
#[unsafe(method_family = none)]
pub unsafe fn items(&self) -> Retained<NSArray<TVTopShelfItem>>;
#[cfg(feature = "objc2-core-foundation")]
#[unsafe(method(imageSize))]
#[unsafe(method_family = none)]
pub unsafe fn imageSize() -> CGSize;
#[cfg(all(feature = "TVTopShelfItem", feature = "TVTopShelfObject"))]
#[unsafe(method(initWithItems:))]
#[unsafe(method_family = init)]
pub unsafe fn initWithItems(
this: Allocated<Self>,
items: &NSArray<TVTopShelfItem>,
) -> Retained<Self>;
#[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>;
);
}