UIAppearance

Trait UIAppearance 

Source
pub unsafe trait UIAppearance: NSObjectProtocol + MainThreadOnly {
    // Provided methods
    unsafe fn appearance(mtm: MainThreadMarker) -> Retained<Self>
       where Self: Sized + ClassType { ... }
    unsafe fn appearanceWhenContainedInInstancesOfClasses(
        container_types: &NSArray<AnyClass>,
        mtm: MainThreadMarker,
    ) -> Retained<Self>
       where Self: Sized + ClassType { ... }
    unsafe fn appearanceForTraitCollection(
        trait: &UITraitCollection,
        mtm: MainThreadMarker,
    ) -> Retained<Self>
       where Self: Sized + ClassType { ... }
    unsafe fn appearanceForTraitCollection_whenContainedInInstancesOfClasses(
        trait: &UITraitCollection,
        container_types: &NSArray<AnyClass>,
        mtm: MainThreadMarker,
    ) -> Retained<Self>
       where Self: Sized + ClassType { ... }
}
Available on crate feature UIAppearance only.
Expand description

Provided Methods§

Source

unsafe fn appearance(mtm: MainThreadMarker) -> Retained<Self>
where Self: Sized + ClassType,

Source

unsafe fn appearanceWhenContainedInInstancesOfClasses( container_types: &NSArray<AnyClass>, mtm: MainThreadMarker, ) -> Retained<Self>
where Self: Sized + ClassType,

Source

unsafe fn appearanceForTraitCollection( trait: &UITraitCollection, mtm: MainThreadMarker, ) -> Retained<Self>
where Self: Sized + ClassType,

Available on crate feature UITraitCollection only.
Source

unsafe fn appearanceForTraitCollection_whenContainedInInstancesOfClasses( trait: &UITraitCollection, container_types: &NSArray<AnyClass>, mtm: MainThreadMarker, ) -> Retained<Self>
where Self: Sized + ClassType,

Available on crate feature UITraitCollection only.

Trait Implementations§

Source§

impl ProtocolType for dyn UIAppearance

Source§

const NAME: &'static str = "UIAppearance"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn UIAppearance
where T: ?Sized + Message + UIAppearance,

Implementations on Foreign Types§

Source§

impl<T> UIAppearance for ProtocolObject<T>
where T: ?Sized + UIAppearance,

Implementors§

Source§

impl UIAppearance for UIActionSheet

Available on crate feature UIActionSheet only.
Source§

impl UIAppearance for UIActivityIndicatorView

Available on crate feature UIActivityIndicatorView only.
Source§

impl UIAppearance for UIAlertView

Available on crate feature UIAlertView only.
Source§

impl UIAppearance for UIBarButtonItem

Available on crate feature UIBarButtonItem only.
Source§

impl UIAppearance for UIBarItem

Available on crate feature UIBarItem only.
Source§

impl UIAppearance for UIButton

Available on crate feature UIButton only.
Source§

impl UIAppearance for UICalendarView

Available on crate feature UICalendarView only.
Source§

impl UIAppearance for UICollectionReusableView

Available on crate feature UICollectionViewCell only.
Source§

impl UIAppearance for UICollectionView

Available on crate feature UICollectionView only.
Source§

impl UIAppearance for UICollectionViewCell

Available on crate feature UICollectionViewCell only.
Source§

impl UIAppearance for UICollectionViewListCell

Available on crate feature UICollectionViewListCell only.
Source§

impl UIAppearance for UIColorWell

Available on crate feature UIColorWell only.
Source§

impl UIAppearance for UIContentUnavailableView

Available on crate feature UIContentUnavailableView only.
Source§

impl UIAppearance for UIControl

Available on crate feature UIControl only.
Source§

impl UIAppearance for UIDatePicker

Available on crate feature UIDatePicker only.
Source§

impl UIAppearance for UIEventAttributionView

Available on crate feature UIEventAttributionView only.
Source§

impl UIAppearance for UIImageView

Available on crate feature UIImageView only.
Source§

impl UIAppearance for UIInputView

Available on crate feature UIInputView only.
Source§

impl UIAppearance for UILabel

Available on crate feature UILabel only.
Source§

impl UIAppearance for UIListContentView

Available on crate feature UIListContentConfiguration only.
Source§

impl UIAppearance for UINavigationBar

Available on crate feature UINavigationBar only.
Source§

impl UIAppearance for UIPageControl

Available on crate feature UIPageControl only.
Source§

impl UIAppearance for UIPasteControl

Available on crate feature UIPasteControl only.
Source§

impl UIAppearance for UIPickerView

Available on crate feature UIPickerView only.
Source§

impl UIAppearance for UIPopoverBackgroundView

Available on crate feature UIPopoverBackgroundView only.
Source§

impl UIAppearance for UIProgressView

Available on crate feature UIProgressView only.
Source§

impl UIAppearance for UIRefreshControl

Available on crate feature UIRefreshControl only.
Source§

impl UIAppearance for UIScrollView

Available on crate feature UIScrollView only.
Source§

impl UIAppearance for UISearchBar

Available on crate feature UISearchBar only.
Source§

impl UIAppearance for UISearchTextField

Available on crate feature UISearchTextField only.
Source§

impl UIAppearance for UISegmentedControl

Available on crate feature UISegmentedControl only.
Source§

impl UIAppearance for UISlider

Available on crate feature UISlider only.
Source§

impl UIAppearance for UIStackView

Available on crate feature UIStackView only.
Source§

impl UIAppearance for UIStandardTextCursorView

Available on crate feature UIStandardTextCursorView only.
Source§

impl UIAppearance for UIStepper

Available on crate feature UIStepper only.
Source§

impl UIAppearance for UISwitch

Available on crate feature UISwitch only.
Source§

impl UIAppearance for UITabBar

Available on crate feature UITabBar only.
Source§

impl UIAppearance for UITabBarItem

Available on crate feature UITabBarItem only.
Source§

impl UIAppearance for UITableView

Available on crate feature UITableView only.
Source§

impl UIAppearance for UITableViewCell

Available on crate feature UITableViewCell only.
Source§

impl UIAppearance for UITableViewHeaderFooterView

Available on crate feature UITableViewHeaderFooterView only.
Source§

impl UIAppearance for UITextField

Available on crate feature UITextField only.
Source§

impl UIAppearance for UITextView

Available on crate feature UITextView only.
Source§

impl UIAppearance for UIToolbar

Available on crate feature UIToolbar only.
Source§

impl UIAppearance for UIView

Available on crate feature UIView only.
Source§

impl UIAppearance for UIVisualEffectView

Available on crate feature UIVisualEffectView only.
Source§

impl UIAppearance for UIWebView

Available on crate feature UIWebView only.
Source§

impl UIAppearance for UIWindow

Available on crate feature UIWindow only.