nickmshelley / LDSAnnotations

Swift client library for LDS annotation sync.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LDSAnnotations

Pod Version Pod License Pod Platform Build Status

Swift client library for LDS annotation sync.

Installation

Install with Cocoapods by adding the following to your Podfile:

use_frameworks!

pod 'LDSAnnotations'

Then run:

pod install

Demo and Tests

The demo app and tests can be run from the LDSAnnotationsDemo scheme. The demo app requires a client username and password (to authorize use of the API for the app). To run the tests you will also need a test LDS Account username and password (don’t use an account that has annotations you care about). You will need to supply these credentials through the “Arguments Passed On Launch” in the scheme.

The easiest way to do this is to duplicate the LDSAnnotationsDemo scheme (naming it something like LDSAnnotationsDemo with Secrets) and replace the environment variables with the actual values. Be sure to not check the Shared box for this scheme so that it isn’t accidentally committed.

Travis CI

The test credentials are encrypted in the .travis.yml for use when building on Travis CI. To update the credentials, use the following command (substituting the appropriate values; be sure to escape bash symbols):

travis encrypt --add --override \
    "CLIENT_USERNAME=<value>" \
    "CLIENT_PASSWORD=<value>" \
    "TEST_ACCOUNT_USERNAME=<value>" \
    "TEST_ACCOUNT_PASSWORD=<value>"

License

LDSAnnotations is released under the MIT license. See LICENSE for details.

About

Swift client library for LDS annotation sync.

License:MIT License


Languages

Language:Swift 99.4%Language:Objective-C 0.3%Language:Ruby 0.3%