pub unsafe trait UIContentView: NSObjectProtocol + MainThreadOnly {
// Provided methods
unsafe fn configuration(
&self,
) -> Retained<ProtocolObject<dyn UIContentConfiguration>>
where Self: Sized + Message { ... }
unsafe fn setConfiguration(
&self,
configuration: &ProtocolObject<dyn UIContentConfiguration>,
)
where Self: Sized + Message { ... }
unsafe fn supportsConfiguration(
&self,
configuration: &ProtocolObject<dyn UIContentConfiguration>,
) -> bool
where Self: Sized + Message { ... }
}
Available on crate feature
UIContentConfiguration
only.Expand description
Provided Methods§
Sourceunsafe fn configuration(
&self,
) -> Retained<ProtocolObject<dyn UIContentConfiguration>>
unsafe fn configuration( &self, ) -> Retained<ProtocolObject<dyn UIContentConfiguration>>
Returns the current configuration of the view. Setting this property applies the new configuration to the view.
Sourceunsafe fn setConfiguration(
&self,
configuration: &ProtocolObject<dyn UIContentConfiguration>,
)
unsafe fn setConfiguration( &self, configuration: &ProtocolObject<dyn UIContentConfiguration>, )
Setter for configuration
.
Sourceunsafe fn supportsConfiguration(
&self,
configuration: &ProtocolObject<dyn UIContentConfiguration>,
) -> bool
unsafe fn supportsConfiguration( &self, configuration: &ProtocolObject<dyn UIContentConfiguration>, ) -> bool
Whether this view is compatible with the provided configuration, meaning the view supports
it being set to the configuration
property and is capable of updating itself for the
configuration. If not implemented, the view is assumed to be compatible with configuration
classes that match the class of the view’s existing configuration.
Trait Implementations§
Source§impl ProtocolType for dyn UIContentView
impl ProtocolType for dyn UIContentView
impl<T> ImplementedBy<T> for dyn UIContentView
Implementations on Foreign Types§
impl<T> UIContentView for ProtocolObject<T>where
T: ?Sized + UIContentView,
Implementors§
impl UIContentView for UIListContentView
Available on crate feature
UIListContentConfiguration
only.