ABCDEFGHIJKLMNOPQRSTUVWXYZAA
1
RequiredLayoutStyleEventsAnimationNotesInherits
2
UILabelTextAdjustFontSizeToFitWidth, NumberOfLinesTextColor TextAlignment Font FontSize LineBreakMode HighlightedTextColor IsHighlighted IsEnabled (changes style) ShadowColor ShadowOffsetRemember to consider l18nUIView
3
UIButtonType (immutable, cannot be changed after creation), Text (uses UILabel internally), ActionTintColor, TitleColor, BackgroundImageUIControl, UIView
4
UISliderMinimumValue MaximumValue Value{Minimum,Maximum}ValueImage {Minimum,Maximum}TrackTintColor ThumbTintColor {Minimum,Maximum}TrackImage (must be stretchable) ThumbImageValueChanged (from UIControl) IsContinuousDo not set both a track tint color and a value imageUIControl, UIView
5
UISwitchOnTintColor, TintColor (i.e. OffTintColor), ThumbTintColor, {On,Off}ImageIsOn, SetOn (option to animate change)UIControl, UIView
6
UIImageViewImage AnimationImagesIsHighlighted + HighlightedImage TintColorIsUserInteractionEnabledAnimationDuration AnimationRepeatCount (default = 0, i.e. forever) StartAnimating StopAnimating IsAnimatingUIView
7
UIControlContent{Vertical,Horizontal}Alignment (internal positioning)Accessibility (Label, Traits, Hint, Frame, Value)AddTarget, RemoveTarget, IsEnabled, IsSelected, IsHighlighted, TouchDown{Repeat}, TouchDrag{Inside,Outside,Enter,Exit}, TouchUp{Inside,Outside}, TouchCancel, ValueChanged, Editing{DidBegin,Changed,DidEnd,DidEndOnExit}, All{Touch,Editing}Events, {System,Application}ReservedUIView
8
UIAlertControllerTitle MessagePreferredStyle Alert ActionSheet PreferredAction (Alert only)AddAction Actions (getter only) AddTextField TextFields (getter only)UIView
9
UITextViewText OR AttributedText (more granular control over styles)TextColor TextAlignment Font TypingAttributes LinkTextAttributes InputView (custom keyboard) InputAccessoryView (keyboard toolbar) FontSize (?)IsEditable, AllowsEdittingTextAttributes, DataDetectorTypes (determines what to make links for), IsSelectable, ClearsOnInsertion, SelectedRange, ScrollRangeToVisible, DidBeginEditing, TextDidChange, TextDidEndEditingUIView
10
UIViewFlexDirection, JustifyContent, FlexWrap, AlignItems, Directionframe
frame, bounds
center
transform
clipsToBounds
backgroundColor alpha mask isHidden isOpaque tintColor tintAdjustmentModeisUserInteractionEnabled isMultipleTouchEnabled isExclusiveTouchframe bounds center transform alpha backgroundColor
Threading Considerations - Manipulations to your application’s user interface must occur on the main thread. Thus, you should always call the methods of the UIView class from code running in the main thread of your application. The only time this may not be strictly necessary is when creating the view object itself but all other manipulations should occur on the main thread.
11
UIPickerViewColumns, lists of options (value, text/image)
UIKit can automatically animate these properties with smooth transitions using animate(withDuration:animations:)
12
Also, see Core Animation https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/CoreAnimation_guide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40004514
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100