~/talk

Unity & SwiftUI – Bridging the Divide

Talkat 360iDev 2022 · 2022-08-28..08-31· [swift]
links:none on file
slides:none on file

Unity exports a project as a library that embeds a ~100MB Objective‑C++ framework and requires passing C argc/argv into the framework via NSProcessInfo, so the integration builds an app delegate to call runEmbedded, creates a UIHostingController swift ui overlay layered over a full‑screen Unity view, and wires communication both ways using an extern unity_ready callback and the framework method UnitySendMessage with UTF‑8 string (JSON) payloads. The demo shows a button roundtrip and an alert, proving the bridge works. export as library

AI-written summary · about

  1. 0:00Start
  2. 4:05Hybrid Environment
  3. 5:45Export as Library
  4. 6:16Swift Ui
  5. 6:48Integrating Unity
  6. 10:05Build Your Unity Experience
  7. 11:59Xcode
  8. 13:23Hosting Controllers
  9. 14:04Workspace Setup
  10. 17:41App Delegate
  11. 24:07Overlay View
  12. 25:58Communication
  13. 29:58Demo
  14. 39:37Library Export
~/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.