pub unsafe trait UIContentConfiguration:
NSObjectProtocol
+ NSCopying
+ MainThreadOnly {
// Provided methods
unsafe fn makeContentView(&self) -> Retained<UIView>
where Self: Sized + Message { ... }
unsafe fn updatedConfigurationForState(
&self,
state: &ProtocolObject<dyn UIConfigurationState>,
) -> Retained<Self>
where Self: Sized + Message { ... }
}
Available on crate feature
UIContentConfiguration
only.Expand description
Provided Methods§
Sourceunsafe fn makeContentView(&self) -> Retained<UIView>
Available on crate features UIResponder
and UIView
only.
unsafe fn makeContentView(&self) -> Retained<UIView>
UIResponder
and UIView
only.Initializes and returns a new instance of the content view using this configuration.
Sourceunsafe fn updatedConfigurationForState(
&self,
state: &ProtocolObject<dyn UIConfigurationState>,
) -> Retained<Self>
Available on crate feature UIConfigurationState
only.
unsafe fn updatedConfigurationForState( &self, state: &ProtocolObject<dyn UIConfigurationState>, ) -> Retained<Self>
UIConfigurationState
only.Returns a copy of the configuration updated for the specified state, by applying the configuration’s default values for that state to any properties that have not been customized.
Trait Implementations§
Source§impl ProtocolType for dyn UIContentConfiguration
impl ProtocolType for dyn UIContentConfiguration
impl<T> ImplementedBy<T> for dyn UIContentConfiguration
Implementations on Foreign Types§
impl<T> UIContentConfiguration for ProtocolObject<T>where
T: ?Sized + UIContentConfiguration,
Implementors§
impl UIContentConfiguration for UIListContentConfiguration
Available on crate feature
UIListContentConfiguration
only.