Working with C and C++ in Apple environment - Pragma Conference 2023
Автор: Richard Topchii - Swift and Apple Platforms
Загружено: 2025-01-10
Просмотров: 838
With interoperability support, it’s possible to leverage C++ and C libraries as if they were written in Swift. I’ll share tips & tricks on how to get started and what pitfalls you might expect when working with this technology. Let’s look at these technologies through a prism of a real-world project and workflow based on Swift Package Manager.
To get great slide deck text clarity, this video is best watched in 4K.
The slide deck for this talk is available at https://github.com/richardtop/Speaking
Subscribe and ring the bell to not miss next tutorials and iOS-related content. Have a suggestion? Leave it in the comments.
Timecodes:
0:00 - About the Speaker
1:09 - Intro
1:17 - Motivation
5:05 - You are already using C in Swift
5:20 - Keychain
6:23 - Endpoint Security
6:50 - Others
7:12 - Multiple views of using C/C++ in Swift
9:40 - Demo
12:54 - Fixing Swift Package Manager Issues
13:40 - Real-world use-case example
15:45 - Swift wrapper for C code
17:00 - Calling C functions with callbacks from Swift (asynchronous code)
20:03 - Swift / C++ Interop overview
21:47 - Q&A
Follow Richard on social media:
Telegram: https://t.me/richardtop
GitHub: https://github.com/richardtop/
Twitter: / richardtop_ios
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: