Latest 0.5
Homepage https://github.com/schedjoules/ios-public-calendars-sdk
License MIT
Platforms ios 10.0
Dependencies SDWebImage, SchedJoulesApiClient
Authors

iOS Public Calendars SDK

This is the Swift implementation of the iOS Public Calendar SDK.

Installation

You can install the SDK through CocoaPods.

pod 'SchedJoulesSDK'

Usage

To present the Calendar Store, you first have to initialize it using the API Key we provided you.

Mail us at [email protected] to request you personal API key if you don’t have one yet. Until then you can use the test API key 0443a55244bb2b6224fd48e0416f0d9c

Example

// Presenting the Calendar Store View Controller
let calendarVC = CalendarStoreViewController(apiKey: "YOUR_API_KEY")
present(calendarVC, animated: true, completion: nil)

Optionally, you can also pass a pageIdentifier to start directly from a page rather than the home.

// Presenting the Calendar Store View Controller with a given page
let calendarVC = CalendarStoreViewController(apiKey: "YOUR_API_KEY", pageIdentifer: "115673")
present(calendarVC, animated: true, completion: nil)

Customization options

The default initializer for the Calendar Store includes parameters for customization.

init(apiClient: SchedJoulesApi, pageIdentifier: String?, title: String?, largeTitle: Bool = true, tintColor: UIColor = ColorPalette.red)

Please refer to the inline code documentation for further details.

Latest podspec

{
    "name": "SchedJoulesSDK",
    "version": "0.5",
    "summary": "The SchedJoules iOS SDK, written in Swift.",
    "description": "This pod contains classes which make it easier to interact with the SchedJoules API. Our SDK also uses the ApiClient, but if one does not need the full functionality of the SDK, or wants to build custom solutions instead, might find the ApiClient to be a good starting point.",
    "homepage": "https://github.com/schedjoules/ios-public-calendars-sdk",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Balazs Vincze": "[email protected]"
    },
    "source": {
        "git": "https://github.com/schedjoules/ios-public-calendars-sdk.git",
        "tag": "0.5"
    },
    "swift_version": "4.0",
    "platforms": {
        "ios": "10.0"
    },
    "source_files": "SDK/**/*.swift",
    "resource_bundles": {
        "SchedJoulesSDK": [
            "SDK/*/*.{xib,storyboard,xcassets}"
        ]
    },
    "dependencies": {
        "SDWebImage": [
            "~> 4.0"
        ],
        "SchedJoulesApiClient": []
    }
}

Pin It on Pinterest

Share This