Skip to content

keeshux/cross-platform-swift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cross-platform Swift

These are excerpts from my (ongoing) series about cross-platform Swift:

https://davidederosa.com/cross-platform-swift/

The series is about how I'm porting Passepartout, my Swift/SwiftUI VPN client, beyond the Apple ecosystem.

Samples

Simple replacements for Combine subjects with AsyncStream and Swift 6 Concurrency. The motivations are described in this article.

Examples of typical situations involved in Swift/C interop. Showcase the use of opaque pointers. Read these articles for more insights.

Patterns to expose a C ABI from a Swift library to a non-Swift application. Read the articles about integration.

About

Sample code from my blog series "Cross-platform Swift".

Topics

Resources

License

Stars

Watchers

Forks

Contributors