Swiftpack.co - Package - SphereMall/iOS-MS-Client

SphereMall Gateway iOS SDK

Official iOS SDK for integrating with SphereMall Product. Official documentation

Version 2.0.86

Supported microservices

  • Gateway 1.1.1
  • Products 1.1.0
  • Shop 1.0.1
  • Users 1.0.0
  • Grapher 1.0.0

Installation

You can install the package manually or by adding it to your Podfile:

pod 'iOS-MS-Client'

Instantiating the SDK Client:

Pass in the configuration to the client:

    var client = SMClient(gatewayUrl: "API_GATEWAY_URL",
                          clientId: "API_CLIENT_ID",
                          secretKey: "API_SECRET_KEY")
                          

    // Get all entity items
    client.products.all { (products, error) in
        print(products)
    }
    
    // Get entity items by predicate
    let predicate = Predicate(field: "title", op: .equal, value: "Name of product")
    client.products.filter(predicate:predicate).all { (products, error) in
        print(products)
    }

Github

link
Stars: 0

Dependencies

Used By

Total: 0

Releases

- 2019-08-09 09:32:23

- 2019-07-09 08:58:18

- 2019-06-13 13:44:33

- 2019-06-12 07:54:37

- 2019-06-07 13:47:37

Events Service - 2019-05-28 08:51:50

- 2019-05-10 14:25:45

- 2019-04-16 10:41:15

Exist filter - 2019-04-08 10:13:16

migration to new swift - 2019-03-28 10:32:46

- 2019-03-22 08:08:54

- 2019-02-08 14:47:17

- 2019-02-05 13:57:00

Changed documents model - 2019-01-30 10:11:53

- 2018-12-18 08:25:22

Added elastic search - 2018-12-06 08:04:31

Parser Images updated - 2018-11-08 08:57:42

Fix on Images - 2018-11-08 07:53:19

Correlations for documents - 2018-11-06 12:20:34

Documents detail and External Users Resource - 2018-11-05 09:09:42

- 2018-10-17 08:31:22

- 2018-10-01 07:53:12

- 2018-09-24 14:22:56

- 2018-09-21 12:05:17

- 2018-09-20 12:47:23

- 2018-09-19 12:26:23

- 2018-09-19 11:06:02

- 2018-09-11 12:00:03

fixed basket - 2018-09-05 08:42:03

- 2018-09-04 10:16:52