pub unsafe trait UIContentContainer: NSObjectProtocol + MainThreadOnly {
// Provided methods
unsafe fn preferredContentSize(&self) -> CGSize
where Self: Sized + Message { ... }
unsafe fn preferredContentSizeDidChangeForChildContentContainer(
&self,
container: &ProtocolObject<dyn UIContentContainer>,
)
where Self: Sized + Message { ... }
unsafe fn systemLayoutFittingSizeDidChangeForChildContentContainer(
&self,
container: &ProtocolObject<dyn UIContentContainer>,
)
where Self: Sized + Message { ... }
unsafe fn sizeForChildContentContainer_withParentContainerSize(
&self,
container: &ProtocolObject<dyn UIContentContainer>,
parent_size: CGSize,
) -> CGSize
where Self: Sized + Message { ... }
unsafe fn viewWillTransitionToSize_withTransitionCoordinator(
&self,
size: CGSize,
coordinator: &ProtocolObject<dyn UIViewControllerTransitionCoordinator>,
)
where Self: Sized + Message { ... }
unsafe 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§
unsafe fn preferredContentSize(&self) -> CGSize
Available on crate feature
objc2-core-foundation only.unsafe fn preferredContentSizeDidChangeForChildContentContainer( &self, container: &ProtocolObject<dyn UIContentContainer>, )
unsafe fn systemLayoutFittingSizeDidChangeForChildContentContainer( &self, container: &ProtocolObject<dyn UIContentContainer>, )
unsafe fn sizeForChildContentContainer_withParentContainerSize( &self, container: &ProtocolObject<dyn UIContentContainer>, parent_size: CGSize, ) -> CGSize
Available on crate feature
objc2-core-foundation only.unsafe fn viewWillTransitionToSize_withTransitionCoordinator( &self, size: CGSize, coordinator: &ProtocolObject<dyn UIViewControllerTransitionCoordinator>, )
Available on crate features
UIViewControllerTransitionCoordinator and objc2-core-foundation only.unsafe 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 features
UIResponder and UIActivityViewController only.impl UIContentContainer for UIAlertController
Available on crate features
UIResponder and UIAlertController only.impl UIContentContainer for UICloudSharingController
Available on crate features
UIResponder and UICloudSharingController only.impl UIContentContainer for UICollectionViewController
Available on crate features
UIResponder and UICollectionViewController only.impl UIContentContainer for UIColorPickerViewController
Available on crate features
UIResponder and UIColorPickerViewController only.impl UIContentContainer for UIDocumentBrowserViewController
Available on crate features
UIResponder and UIDocumentBrowserViewController only.impl UIContentContainer for UIDocumentMenuViewController
Available on crate features
UIResponder and UIDocumentMenuViewController only.impl UIContentContainer for UIDocumentPickerExtensionViewController
Available on crate features
UIResponder and UIDocumentPickerExtensionViewController only.impl UIContentContainer for UIDocumentPickerViewController
Available on crate features
UIResponder and UIDocumentPickerViewController only.impl UIContentContainer for UIDocumentViewController
Available on crate features
UIResponder and UIDocumentViewController only.impl UIContentContainer for UIFontPickerViewController
Available on crate features
UIResponder and UIFontPickerViewController only.impl UIContentContainer for UIImagePickerController
Available on crate features
UINavigationController and UIResponder and UIImagePickerController only.impl UIContentContainer for UIInputViewController
Available on crate features
UIResponder and UIInputViewController only.impl UIContentContainer for UIPageViewController
Available on crate features
UIResponder and UIPageViewController only.impl UIContentContainer for UIPopoverPresentationController
Available on crate features
UIPresentationController and UIPopoverPresentationController only.impl UIContentContainer for UIPresentationController
Available on crate feature
UIPresentationController only.impl UIContentContainer for UIReferenceLibraryViewController
Available on crate features
UIResponder and UIReferenceLibraryViewController only.impl UIContentContainer for UISearchContainerViewController
Available on crate features
UIResponder and UISearchContainerViewController only.impl UIContentContainer for UISearchController
Available on crate features
UIResponder and UISearchController only.impl UIContentContainer for UISheetPresentationController
Available on crate features
UIPresentationController and UISheetPresentationController only.impl UIContentContainer for UISplitViewController
Available on crate features
UIResponder and UISplitViewController only.impl UIContentContainer for UITabBarController
Available on crate features
UIResponder and UITabBarController only.impl UIContentContainer for UITableViewController
Available on crate features
UIResponder and UITableViewController only.impl UIContentContainer for UITextFormattingViewController
Available on crate features
UIResponder and UITextFormattingViewController only.impl UIContentContainer for UIVideoEditorController
Available on crate features
UINavigationController and UIResponder and UIVideoEditorController only.impl UIContentContainer for UIViewController
Available on crate feature
UIResponder only.