~/talk

Using C, C++ and Objective C frameworks in Swift apps

Talkat try! Swift Tokyo 2019 · 2019-03-21..03-22· [swift]

Shows concrete recipes and working demos: dragging vanilla objc framework into Xcode, linking a simple cpp wrapper that calls libbasiccpp.a, and exposing a static pure C library via a modulemap folder so Swift can import headers. Covers real pitfalls and fixes — pointer ownership and calling free, casting Int to Int32, C function-pointer vs Swift closure lifetime, wrapping C++ objects with new/delete, and converting macros into typed functions so the code actually runs.

AI-written summary · about

  1. 0:00Introduction
  2. 0:48Storytime
  3. 4:19Object C framework
  4. 5:29C dependencies
  5. 6:46C modules
  6. 9:28The easy way
  7. 11:26Manual memory management
  8. 12:13Function pointer
  9. 15:41C
  10. 16:26CPP
  11. 17:12Macro
  12. 17:43Conclusion
~/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.