SwiftPackageManager#
You can add AppKit to your project with Swift Package Manager. In order to do that:
- Open Xcode
- Go to File -> Add Packages
- Paste the repo GitHub url: https://github.com/reown-com/reown-swift
- Tap Add Package
- Choose the AppKit products that you want installed in your app.
Alternatively, add AppKit to a Package.swift manifest#
To integrate via a Package.swift manifest instead of Xcode, you can add
AppKit to the dependencies array of your package:
Then, in any target that depends on a AppKit product, add it to the dependencies
array of that target:
Warning
Cocoapods support may be deprecated soon, use SPM instead.
- Update Cocoapods spec repos. Type in terminal
pod repo update - Initialize Podfile if needed with
pod init - Add pod to your Podfile like this:
- Install pods with
pod install
Example#
AppKit with Swift example
Check the Swift example
Test Apps#
Want to see AppKit in action? Download our sample AppKit apps below and explore what it can do. Enjoy! 😊