Implements a few more features for configuration and flow support, as well as implementing additional resources. Implements new example applications.
Docs
Adds full documentation for the SDK, as well as exporting the documentation with jazzy
Refactor
Refactored entire internals in order to support flows, as well as remove dependencies on 3rd party libraries, and generally make the SDK more flexible for any future plans, such as implement additional parsers or various other operations (cancel / resume requests, XML, extending filters and query parameters). The new structure also allows the SDK to be deployed to multiple platforms, such as tvOS, macOS, as well as multiple installation methods, such as CocoaPods, Carthage, and Swift Package Manager
Test
Adds suite of tests for iOS, with plans to be able to test via tvOS and macOS
Chore
Adds fastlane config, and CircleCI config. Adds Sourcery files for automatically generating standard resources and tests.
Description
The goal of this PR is an overhaul of the SDK to ensure it is more maintainable, flexible, and reliable. The PR essentially starts over from a clean slate, however it maintains some standard conventions from the previous versions in order to not drift the API too far away from what is expected.
This PR acheives this by:
Refactored internals of the SDK in order to remove dependencies on 3rd party libraries such as Gloss and AlamoFire
Use Codable in order to support easy extension of any internal models for use with Flows
Keeps the conventions of moltin.<resource>.<operation> (moltin.product.all), however allows this to be extensible by removing the singleton / static modifiers, instead the Moltin object should be instanstiated whenever it is needed.
Moves the query and filtering more in line with other Moltin SDK's, such as the JS SDK, with allows us to do dynamic querying on each resource, such as moltin.product.filter(...).limit(1).offset(10).all
Dependencies
None
Notes
Being as this is a large overhaul, we should scrutinise it as much as possible.
Status
Type
Feature
Implements a few more features for configuration and flow support, as well as implementing additional resources. Implements new example applications.
Docs
Adds full documentation for the SDK, as well as exporting the documentation with
jazzy
Refactor
Refactored entire internals in order to support flows, as well as remove dependencies on 3rd party libraries, and generally make the SDK more flexible for any future plans, such as implement additional parsers or various other operations (cancel / resume requests, XML, extending filters and query parameters). The new structure also allows the SDK to be deployed to multiple platforms, such as tvOS, macOS, as well as multiple installation methods, such as CocoaPods, Carthage, and Swift Package Manager
Test
Adds suite of tests for iOS, with plans to be able to test via tvOS and macOS
Chore
Adds fastlane config, and CircleCI config. Adds Sourcery files for automatically generating standard resources and tests.
Description
The goal of this PR is an overhaul of the SDK to ensure it is more maintainable, flexible, and reliable. The PR essentially starts over from a clean slate, however it maintains some standard conventions from the previous versions in order to not drift the API too far away from what is expected.
This PR acheives this by:
Codable
in order to support easy extension of any internal models for use with Flowsmoltin.<resource>.<operation>
(moltin.product.all
), however allows this to be extensible by removing the singleton / static modifiers, instead theMoltin
object should be instanstiated whenever it is needed.moltin.product.filter(...).limit(1).offset(10).all
Dependencies
None
Notes
Being as this is a large overhaul, we should scrutinise it as much as possible.