DropmarkSDK is a Swift interface for the Dropmark API.
Features
- [x] Full networking suite for API endpoints, built around Alamofire
- [x] Model classes for all API objects
- [x] Serializers to translate response data into model objects
- [x] Chainable promises, built around PromiseKit
- [x] Authentication and secure credential storage
- [x] Pagination utilities, with utilities for infinite scrolling in list views
- [x] Example for iOS
- [x] Example for tvOS
- [x] Example for macOS
- [ ] Comprehensive Unit and Integration Test Coverage
- [x] Complete Documentation
Requirements
- iOS 10.0+ / macOS 10.12+ / tvOS 11.0+
- Xcode 10.2+
- Swift 5.0+
Migration Guides
Example
Included are demo projects for iOS, tvOS, and macOS. To run the example projects:
- Clone the repo
- Run
pod install
from the/Example
directory - In the
/Example
directory, copy thekeys-example.plist
file, rename the new filekeys.plist
, then add your Dropmark token to the file.
Be sure to open the examples using the DropmarkSDK.workspace
file.
Installation
Install the library in your app through CocoaPods. Add the following line to your Podfile, then run pod install
.
pod 'DropmarkSDK', '~> 3.0'
Be sure to import the library when needed.
import DropmarkSDK
Security Disclosure
If you believe you have identified a security vulnerability with DropmarkSDK or the Dropmark API, you should report it as soon as possible via email to support@dropmark.com. Please do not post it to a public issue tracker.
Credits
DropmarkSDK relies on the following open source libraries:
License
The MIT License (MIT)
Copyright © 2020 Oak, LLC https://oak.is