Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Syncano/syncano-ios

Repository files navigation

Circle CI

Syncano iOS Library

Overview


Syncano's iOS library is written in Objective-C and provides communication with Syncano (www.syncano.io) via HTTPS RESTful interface.

The full source code can be found on Github - feel free to browse or contribute.

iOS QuickStart Guide


You can find quick start on installing and using Syncano's iOS library (for both Obj-C and Swift) in our documentation.

For more detailed information on how to use Syncano and its features - our Developer Manual should be very helpful.

In case you need help working with the library - email us at libraries@syncano.com - we will be happy to help!

Documentation


Appledoc documentation can be generated by building a Documentation target in syncano-ios.xcworkspace. Docs will be in the Syncano-Docs directory and will be installed to the Xcode documentation, too. In case something is wrong, logs are put into the appledoc.log file. If you need to download appledoc visit https://github.com/tomaz/appledoc/.

To write documentation, we recommend using the VVDocumenter Xcode plugin. It makes writing correctly structured documentation a little easier. Simply place your cursor above method/class/anything you wish to describe, and type /// to generate a documentation template snippet for that item.

License


Syncano's iOS Library (syncano-ios) is available under the MIT license. See the LICENSE file for more info.

Change Log

--

  • 4.3.4 - 2016-11-23
    • Added run method to run socket endpoints.
    • Ability to register device using Syncano class
    • Removed SyncanoSwift target
  • 4.3.3 - 2016-11-17
    • Now saving Data Object with file is handled with one request.
  • 4.3.2 - 2016-10-12
    • Data Endpoint helper methods in Syncano class.
  • 4.3.1 - 2016-09-14
    • Fixed ability to run script endpoints using hash and name
  • 4.3.0 - 2016-09-09
    • Send pushes
    • List and filter devices
    • Ability to send user profile while register new user
    • Removed deprecated methods
    • Batch
    • Creating data objects using Data Endpoints
  • 4.2.3 - 2016-07-18
    • Fix saving null references
  • 4.2.2 - 2016-07-18
    • Fix for saving files
  • 4.2.1 - 2016-07-18
    • Added autoregister all SCDataObject subclasses while creating Syncano object
    • Added SCDevice delete methods
    • Added methods to handle Data Point fetch
    • Added not in operator to SCPredicate
    • Added register profile class
    • Changed API version for Data Endpoint requests
    • Removed unused UICKeychainStore lib from project
    • Fixed saving files with custom Syncano object
    • Fixed uploading file does not change parent object permissions
  • 4.2.0 - 2016-06-23
    • Added Nullability annotations
    • Added automatic logout before login new user
    • Added template_response handler class SCPleaseForTemplate
    • Added SCGeoPoint class to handle geopoint data type
    • Added SCRelation class to handle relation data type
    • Added methods in SCDataObject to handle _add , _addunique and _remove operators for array data type
    • Added SCPredicate categories for relation, geopoint and reference data types
    • Fixed some bugs and made some improvements
  • 4.1.2 - 2016-04-20
    • Updated AFNetworking version to 3.1.0
    • Updated UIKeyChainStore version to 2.1.0
    • Added SCPredicate for key does not exist
  • 4.1.1 - 2016-04-03
    • Fixed Mantle include for swift
    • Added SCDBMigrationsBundle.bundle to podspec
  • 4.1.0 - 2016-03-31
    • Added a new static method in SCUser to allow registering users without login him automatically
    • Added script and endpoint classes
    • Added methods to get channel history
    • Some minor fixes
  • 4.0.18 - 2016-03-29
    • Fixed bug when using transactions in local storage
  • 4.0.17 - 2016-03-11
    • Fixed bug when using predicate with NSDate
  • 4.0.16 - 2016-03-07
    • Fixed bug when updating username or user profile wouldn't update cached values
  • 4.0.15 - 2016-03-02
    • Fixed bug when polling a channel wouldn't allow making any other requests
  • 4.0.14 - 2016-03-02
    • Fixed saving NSDate properties
  • 4.0.12 - 2016-02-18
    • Fixed bug with social backends login
  • 4.0.11 - 2016-02-17
    • Fixed saving objects with empty relations
    • Fixed saving files to disks memory management issue
    • Added missing predicates for working with local storage
  • 4.0.10 - 2016-02-12
    • Fixed using custom class for User and User Profile
  • 4.0.9 - 2016-02-11
    • Offline storage (save results to offline and query local storage)
    • Added string filtering on objects (contains, startsWith, endsWith - both case sensitive and insensitivie)
    • Handling custom responses in CodeBoxes and Webhooks
    • Fix for default permissions (now by default permissions are .NotSet - taking defaults from the server)
    • Fix for properly transforming updated_at and created_at fields from string to NSDate
    • Added ability to save files (SCFile) to disk
    • Added SSL certificate
    • Implemented Data Views
    • Added Twitter/LinkedIn login
    • More powerful filtering (filter by properties of classes, that one class has reference to)
    • Added ability to incerement fields (helps with concurrency when updating objects)
  • 4.0.8 - 2016-02-10
    • Fixed issue with fetching SCFile content
  • 4.0.7 - 2016-01-29
    • Fixed default owner permissions when creating a new object
  • 4.0.6 - 2015-12-01
    • Fixed webhook payload wraping
    • Added framework targed instead of static library in Xcode project
    • Added documentation target
    • Added pages enumerator to SCPlease
    • Removed automatic reference objects fetching
    • Removed SCPleaseParameterIncludeKey
    • Updated AFNetworking to 2.6.3