Latest0.1.9
Homepagehttps://github.com/bornbrie/WooOS
LicenseMIT
Platformsios 8.4, watchos 2.0, tvos 9.0, osx 10.11, requires ARC
DependenciesAlamofire, ObjectMapper, Locksmith
Authors

WooOS is a WooCommerce iOS SDK written in Swift. Designed to be intuitive and comprehensive, with most calls from the WooCommerce REST API supported to enable downloading the WooCommerce store’s data.

PLEASE NOTE: This is beta software. While it is functional this library is not bug free. Please use in production at your own risk, and contribute any fixes found by making a pull request. The help is much appreciated.

Getting Started

WooOS will support Cocoapods in the near future. For now, please copy all files source files into your project.

Prerequisites

  • Xcode 9+
  • Swift 4+
  • An active WooCommerce store running on a live WordPress site

Cocoapods

PLEASE NOTE: Cocoapods does not work yet. This is a coming feature. For now, please download all the *.swift files and import them into your project.

You will require Cocoapods in order to embed WooOS into your Xcode project. If it is not installed on your system you can do so by running

$ sudo gem install cocoapods

then in your project folder

pod init

After a successful install, and in your Xcode project folder, make sure to open your .xcworkspace and not your .xcproject file.

WooCommerce and WordPress

You will need an active WooCommerce store on a live WordPress site in order for this SDK to work. Please make sure that you have set up an SSL certificate and are transmitting with all the standards of Apple’s App Transport Security protocols.

Installing

PLEASE NOTE: Cocoapods does not work yet. This is a coming feature. For now, please download all the *.swift files and import them into your project.

Add this to your pod file

pod WooOS

then run

pod install

After Cocoapods takes care of adding the files to your project, add import WooOS to the top of each Swift file you that intend to use this library with.

Usage (Unfinished)

Built With

  • Alamofire – Elegant HTTP Networking in Swift
  • ObjectMapper – ObjectMapper is a framework written in Swift that makes it easy for you to convert your model objects (classes and structs) to and from JSON.

HEAVILY INSPIRED BY AND ADAPTED FROM

  • WooCommerceSDK – WooCommerce SDK for iOS, OS X, tvOS and watchOS, written purely in Swift.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License – see the LICENSE.md file for details

Acknowledgments (Unfinished)

  • Hat tip to…

Latest podspec

{
    "name": "WooOS",
    "version": "0.1.9",
    "summary": "Cross-platform Swift SDK for WooCommerce",
    "homepage": "https://github.com/bornbrie/WooOS",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Brianna Lee": "[email protected]"
    },
    "swift_version": "4.0",
    "platforms": {
        "ios": "8.4",
        "watchos": "2.0",
        "tvos": "9.0",
        "osx": "10.11"
    },
    "requires_arc": true,
    "source": {
        "git": "https://github.com/bornbrie/WooOS.git",
        "tag": "v0.1.9",
        "submodules": true
    },
    "source_files": "WooOS/**/*.{h,swift}",
    "dependencies": {
        "Alamofire": [
            "~> 4.6"
        ],
        "ObjectMapper": [
            "~> 3.0"
        ],
        "Locksmith": []
    }
}

Pin It on Pinterest

Share This