Skip to content
fumoboy007 edited this page Nov 27, 2020 · 3 revisions

Types

  • AutoLayoutTextView: An NSTextView subclass that implements intrinsicContentSize so that the text view can participate in layout outside of a scroll view.
  • EagerLayoutManager: An NSLayoutManager subclass that performs layout immediately whenever text changes or whenever the geometry of a text container changes. EagerLayoutManager posts a .didCompleteLayout notification when it completes layout. The text storage must be an instance of EagerTextStorage.
  • Label
  • LayerView: A layer-backed view with additional APIs for setting background color, border width, border color, and corner radius. Use if you do not need to do custom drawing. Supports animations.
  • LayerView.BorderWidth
  • ShadowView: A container view that draws a rectangular shadow underneath its content view in a performant manner.
Clone this wiki locally