~/talk

Leveraging AppKit to Improve Your Catalyst App

Talkat Swift Heroes Digital 2021 · 2021-04-15..04-16· [ios]
slides:none on file

Demonstrates how a Catalyst app loads a macOS bundle to call AppKit APIs, with concrete code: add macOS bundle target, create an Objective‑C principal class, load it from UIKit and use performSelector, and fix crashes by making methods return NSNumber not Int. Builds Hyperdeck (a Markdown presentation app) and solves multiple screens, popovers-from-toolbar, cursor hiding and full‑screen presenter mode by handing UIKit’s UIWindow to NSWindow via the Dynamic package; delegates, notifications and JSON are used for cross‑runtime communication.

AI-written summary · about

  1. 0:00Introduction and use case
  2. 2:57Limitations of Catalyst
  3. 6:14Should you add AppKit?
  4. 13:51How to implement AppKit
  5. 22:15Advanced integration
~/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.