~/talk

Magic Words – Harnessing the Power of TextKit

Talkat 360iDev 2015 · 2015-08-18..08-21· [ios]
links:none on file
slides:none on file

TextKit is presented as the practical stack that makes rich editable text, custom layout and inline media possible: code uses NSTextStorage, NSLayoutManager, NSTextContainer to build a multi‑column magazine with exclusion paths, place images, and attach embedded audio attributes (and guitar chord callouts) to ranges. A working demo in Objective‑C shows glyph mapping, layout manager delegates and custom text storage, but UIKit integration is fiddly — UITextView delegate callbacks can be unpredictable and getting it robust takes a lot of extra work.

AI-written summary · about

  1. 0:00Intro
  2. 0:38Teleprompt+
  3. 1:40Super-Brief History of Text on iOS
  4. 5:00What is Text Kit?
  5. 5:56What is a Glyph?
  6. 6:48Glyph Mapping
  7. 7:14Architecture
  8. 7:49Relationships
  9. 11:15Layout Process
  10. 12:04Customizing Layout and Behavior
  11. 12:20Subclassing NSTextStorage
  12. 12:59Subclassing NSTextContainer
  13. 13:49Subclassing NSLayoutManager
  14. 14:10NSLayoutManagerDelegate
  15. 16:17Working With Text Kit
  16. 17:14Business Use Case
  17. 17:56Multiple Text Containers
  18. 23:59Exclusion Path(s)
  19. 26:59NSAttributedString Class
  20. 27:31Custom Attributes!
  21. 37:19Hit Testing
  22. 38:45Beware of UlTextView!
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.