~/talk

Dynamic Swift

Talkat dotSwift 2017 · on Friday, 2017-01-27· [swift]
name:Saul Mora
github:casademora
slides:none on file

Claims a single trick that adds Objective‑C style dispatch to Swift code: add the dynamic keyword or @objc on NSObject types and use forwardingTarget(for:) while typing the link as AnyObject to build a responder‑chain‑style message forwarder. The demo wires three handler instances, forwards an unimplemented selector along the chain in Xcode playgrounds, and shows the call resolving at the next target, so the mechanism actually works as presented at dotSwift 2017.

AI-written summary · about

  1. 0:00Intro
  2. 1:12Target Action
  3. 1:32Responder Chain
  4. 2:03Code Demo
  5. 3:01Demo Fail
  6. 3:16Demo Trick
~/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.