What is Swrve
Swrve is a single integrated platform delivering everything you need to drive mobile engagement and create valuable consumer relationships on mobile.
This native iOS SDK will enable your app to use all of these features.
Have a look at the quick integration guide at http://docs.swrve.com/developer-documentation/integration/ios/
Installing using CocoaPods
Add the following line to your Podfile
Installing using Carthage (iOS 8+)
You can use Carthage to install
Swrve by adding it to your
Note SwrveSDK version > 8.0 depends on SDWebImage. SDWebImage.xcframework is included in the root of our SwrveFramework project.
Use this or add SDWebImage to your cartflie as shown below.
github "Swrve/swrve-ios-sdk" github "SDWebImage" "~> 5.0"
Installing using Swift Package Manager (Xcode 12+)
For installing Swift packages, please see the [Apple Developer Docs](https://developer.apple.com/documentation/xcode/adding_package_dependencies_to_your_app Requirements)
The SDK supports iOS 10+ and the latest version of Xcode (Xcode 10.1, as the time of writing). The SDK will handle older versions of the OS with a dummy SDK.
- The samples folder contains several sample projects that include integration instructions and demonstrate best practices.
- Replace the
<API_key>arguments found in the project's
AppDelegatefile with the AppID with the API Key provided by Swrve.
- Run on your device or on the emulator.
We would love to see your contributions! Follow these steps:
- Fork this repository.
- Create a branch (
git checkout -b my_awesome_feature)
- Commit your changes (
git commit -m "Awesome feature")
- Push to the branch (
git push origin my_awesome_feature)
- Open a Pull Request.
© Copyright Swrve Mobile Inc or its licensors. Distributed under the Apache 2.0 License.