An experimental pure Swift library that gives you access to the powerful Parse Server backend from your Swift applications.
For more information about the Parse Platform and its features, see the public documentation.
As there are currently no releases of the ParseSwift SDK you will need to specify either a branch or a specific commit with your chosen package manager. The
main branch may be unstable and there may be breaking changes.
You can use The Swift Package Manager to install ParseSwift by adding the following description to your
// swift-tools-version:5.1 import PackageDescription let package = Package( name: "YOUR_PROJECT_NAME", dependencies: [ .package(url: "https://github.com/parse-community/Parse-Swift.git", .branch("main")"), ] )
Add the following line to your Podfile:
pod 'ParseSwift', :git => 'https://github.com/parse-community/Parse-Swift', :branch => 'main'
pod install, and you should now have the latest version from the main branch. Please be aware that as this SDK is still in development there may be issues with main.
Add the following line to your Cartfile:
github "parse-community/Parse-Swift" "main"
carthage update, and you should now have the latest version of ParseSwift SDK in your Carthage folder.
iOS Usage Guide
After installing ParseSwift, to use it first
import ParseSwift in your AppDelegate.swift and then add the following code in your
ParseSwift.initialize(applicationId: "xxxxxxxxxx", clientKey: "xxxxxxxxxx", serverURL: URL(string: "https://example.com")!)
Please chechout the Swift Playground for more usage information.