~/talk

Swift Pills #1

Talkat FrenchKit 2019 · 2019-10-07..10-08· [swift]
slides:none on file

Claim: implement a small Swift utility that removes the common weak‑self boilerplate by defining an empty protocol, extending it with methods that capture self weakly and return a strongified closure, and providing generic closure bridging for handlers with arguments. The code is plain Swift: protocol + extension + functions that return () -> Void or (A) -> Void, it compiles and runs, and it noticeably reduces callback boilerplate by replacing the manual weak‑strong dance.

AI-written summary · about

~/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.