Skip to content

Native Swift package that abstracts bridging for iOS and Android

License

Notifications You must be signed in to change notification settings

skiptools/skip-fuse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SkipFuse

SkipFuse helps fuse the Swift and Android worlds for Skip Fuse modules and apps. It is an umbrella framework that vends cross-platform functionality. For example, SkipFuse:

  • Vends OSLog APIs on Android so that your OSLog messages appear in Android's Logcat logging.
  • Transparently integrates your Swift @Observables into Jetpack Compose, so that they can transparently power Compose UI.
  • Includes the AnyDynamicObject type for invoking Kotlin/Java API from compiled Swift with zero setup.

Skip will be enhancing SkipFuse over time to integrate many additional Swift foundational APIs with Android.

See the Skip documentation for details.

Setup

To include this framework in your project, add the following dependency to your Package.swift file:

let package = Package(
    name: "my-package",
    products: [
        .library(name: "MyProduct", targets: ["MyTarget"]),
    ],
    dependencies: [
        .package(url: "https://source.skip.dev/skip-fuse.git", from: "1.0.0"),
    ],
    targets: [
        .target(name: "MyTarget", dependencies: [
            .product(name: "SkipFuse", package: "skip-fuse")
        ])
    ]
)

License

This software is licensed under the GNU Lesser General Public License v3.0, with a linking exception to clarify that distribution to restricted environments (e.g., app stores) is permitted.

About

Native Swift package that abstracts bridging for iOS and Android

Resources

License

Contributing

Stars

Watchers

Forks

Sponsor this project

Contributors 2

  •  
  •  

Languages