pub unsafe trait UIContentContainer: NSObjectProtocol + MainThreadOnly {
// Provided methods
fn preferredContentSize(&self) -> CGSize
where Self: Sized + Message { ... }
fn preferredContentSizeDidChangeForChildContentContainer(
&self,
container: &ProtocolObject<dyn UIContentContainer>,
)
where Self: Sized + Message { ... }
fn systemLayoutFittingSizeDidChangeForChildContentContainer(
&self,
container: &ProtocolObject<dyn UIContentContainer>,
)
where Self: Sized + Message { ... }
fn sizeForChildContentContainer_withParentContainerSize(
&self,
container: &ProtocolObject<dyn UIContentContainer>,
parent_size: CGSize,
) -> CGSize
where Self: Sized + Message { ... }
fn viewWillTransitionToSize_withTransitionCoordinator(
&self,
size: CGSize,
coordinator: &ProtocolObject<dyn UIViewControllerTransitionCoordinator>,
)
where Self: Sized + Message { ... }
fn willTransitionToTraitCollection_withTransitionCoordinator(
&self,
new_collection: &UITraitCollection,
coordinator: &ProtocolObject<dyn UIViewControllerTransitionCoordinator>,
)
where Self: Sized + Message { ... }
}Available on crate feature
UIViewController only.Expand description
Provided Methods§
fn preferredContentSize(&self) -> CGSize
Available on crate feature
objc2-core-foundation only.fn preferredContentSizeDidChangeForChildContentContainer( &self, container: &ProtocolObject<dyn UIContentContainer>, )
fn systemLayoutFittingSizeDidChangeForChildContentContainer( &self, container: &ProtocolObject<dyn UIContentContainer>, )
fn sizeForChildContentContainer_withParentContainerSize( &self, container: &ProtocolObject<dyn UIContentContainer>, parent_size: CGSize, ) -> CGSize
Available on crate feature
objc2-core-foundation only.fn viewWillTransitionToSize_withTransitionCoordinator( &self, size: CGSize, coordinator: &ProtocolObject<dyn UIViewControllerTransitionCoordinator>, )
Available on crate features
UIViewControllerTransitionCoordinator and objc2-core-foundation only.fn willTransitionToTraitCollection_withTransitionCoordinator( &self, new_collection: &UITraitCollection, coordinator: &ProtocolObject<dyn UIViewControllerTransitionCoordinator>, )
Available on crate features
UITraitCollection and UIViewControllerTransitionCoordinator only.Trait Implementations§
Source§impl ProtocolType for dyn UIContentContainer
impl ProtocolType for dyn UIContentContainer
impl<T> ImplementedBy<T> for dyn UIContentContainer
Implementations on Foreign Types§
impl<T> UIContentContainer for ProtocolObject<T>where
T: ?Sized + UIContentContainer,
Implementors§
impl UIContentContainer for UIActivityViewController
Available on crate feature
UIActivityViewController only.impl UIContentContainer for UIAlertController
Available on crate feature
UIAlertController only.impl UIContentContainer for UICloudSharingController
Available on crate feature
UICloudSharingController only.impl UIContentContainer for UICollectionViewController
Available on crate feature
UICollectionViewController only.impl UIContentContainer for UIColorPickerViewController
Available on crate feature
UIColorPickerViewController only.impl UIContentContainer for UIDocumentBrowserViewController
Available on crate feature
UIDocumentBrowserViewController only.impl UIContentContainer for UIDocumentMenuViewController
Available on crate feature
UIDocumentMenuViewController only.impl UIContentContainer for UIDocumentPickerExtensionViewController
Available on crate feature
UIDocumentPickerExtensionViewController only.impl UIContentContainer for UIDocumentPickerViewController
Available on crate feature
UIDocumentPickerViewController only.impl UIContentContainer for UIDocumentViewController
Available on crate feature
UIDocumentViewController only.impl UIContentContainer for UIFontPickerViewController
Available on crate feature
UIFontPickerViewController only.impl UIContentContainer for UIImagePickerController
Available on crate feature
UIImagePickerController only.impl UIContentContainer for UIInputViewController
Available on crate feature
UIInputViewController only.impl UIContentContainer for UIPageViewController
Available on crate feature
UIPageViewController only.impl UIContentContainer for UIPopoverPresentationController
Available on crate feature
UIPopoverPresentationController only.impl UIContentContainer for UIPresentationController
Available on crate feature
UIPresentationController only.impl UIContentContainer for UIReferenceLibraryViewController
Available on crate feature
UIReferenceLibraryViewController only.impl UIContentContainer for UISearchContainerViewController
Available on crate feature
UISearchContainerViewController only.impl UIContentContainer for UISearchController
Available on crate feature
UISearchController only.impl UIContentContainer for UISheetPresentationController
Available on crate feature
UISheetPresentationController only.impl UIContentContainer for UISplitViewController
Available on crate feature
UISplitViewController only.impl UIContentContainer for UITabBarController
Available on crate feature
UITabBarController only.impl UIContentContainer for UITableViewController
Available on crate feature
UITableViewController only.impl UIContentContainer for UITextFormattingViewController
Available on crate feature
UITextFormattingViewController only.impl UIContentContainer for UIVideoEditorController
Available on crate feature
UIVideoEditorController only.