Using TextKit 2 to interact with text Interact with text by managing text selection and inserting custom text elements. Overview See AlsoLayoutDisplay text with a custom layoutNSTextLayoutManagerNSTextContainerNSTextLayoutFragmentNSTextLineFragmentNSTextViewportLayoutControllerNSTextLayoutOrientationProvider