All Projects → KKBOX → OpenAPI-ObjectiveC

KKBOX / OpenAPI-ObjectiveC

Licence: Apache-2.0 license
KKBOX Open API Developer SDK for iOS/macOS/watchOS/tvOS

Programming Languages

objective c
16641 projects - #2 most used programming language
swift
15916 projects

Projects that are alternatives of or similar to OpenAPI-ObjectiveC

OpenAPI-Swift
KKBOX Open API Swift Developer SDK for iOS/macOS/watchOS/tvOS
Stars: ✭ 13 (-31.58%)
Mutual labels:  tvos, watchos, openapi, kkbox
tracelog
TraceLog is a highly configurable, flexible, portable, and simple to use debug logging system for Swift and Objective-C applications running on Linux, macOS, iOS, watchOS, and tvOS.
Stars: ✭ 52 (+173.68%)
Mutual labels:  tvos, watchos
QuoteKit
A framework to use the free APIs provided by https://quotable.io
Stars: ✭ 17 (-10.53%)
Mutual labels:  tvos, watchos
Mechanica
A cross-platform library of Swift utils to ease your iOS | macOS | watchOS | tvOS and Linux development.
Stars: ✭ 27 (+42.11%)
Mutual labels:  tvos, watchos
KeyboardKitPro
KeyboardKit Pro extends KeyboardKit with pro features.
Stars: ✭ 42 (+121.05%)
Mutual labels:  tvos, watchos
Tesla-API
A iOS, macOS, watchOS and tvOS framework written in Swift to communicate with Teslas vehicle API
Stars: ✭ 32 (+68.42%)
Mutual labels:  tvos, watchos
Dots
Lightweight Concurrent Networking Framework
Stars: ✭ 35 (+84.21%)
Mutual labels:  tvos, watchos
SwiftBuilder
SwiftBuilder is a fast way to assign new value to the property of the object.
Stars: ✭ 26 (+36.84%)
Mutual labels:  tvos, watchos
stinsen
Coordinators in SwiftUI. Simple, powerful and elegant.
Stars: ✭ 563 (+2863.16%)
Mutual labels:  tvos, watchos
Apple-Platform-Security-Guides
Every Apple Platform Security Guide
Stars: ✭ 106 (+457.89%)
Mutual labels:  tvos, watchos
SeedTruck
Torrent management app for iOS, macOS, tvOS and watchOS made in SwiftUI 2. Same codebase for all platforms!
Stars: ✭ 25 (+31.58%)
Mutual labels:  tvos, watchos
Johnny
Melodic Caching for Swift
Stars: ✭ 36 (+89.47%)
Mutual labels:  tvos, watchos
SwiftCurrent
A library for managing complex workflows in Swift
Stars: ✭ 286 (+1405.26%)
Mutual labels:  tvos, watchos
data-field
A SwiftUI view that wraps a text field to only accept specific data.
Stars: ✭ 13 (-31.58%)
Mutual labels:  tvos, watchos
SwiftKit
SwiftKit adds extra functionality to the Swift programming language.
Stars: ✭ 47 (+147.37%)
Mutual labels:  tvos, watchos
IrregularGradient
Create animated irregular gradients in SwiftUI.
Stars: ✭ 127 (+568.42%)
Mutual labels:  tvos, watchos
WWDCNotes
WWDCNotes.com content
Stars: ✭ 343 (+1705.26%)
Mutual labels:  tvos, watchos
RFKit
Toolkit for daily Cocoa development. Since 2012.
Stars: ✭ 20 (+5.26%)
Mutual labels:  tvos, watchos
lisk-swift
Swift 4 library for Lisk - Including Local Signing for maximum security
Stars: ✭ 13 (-31.58%)
Mutual labels:  tvos, watchos
SwiftRadix
Easily convert integers to binary/hex/octal strings and back again with clean functional syntax.
Stars: ✭ 34 (+78.95%)
Mutual labels:  tvos, watchos

KKBOX Open API Developer SDK for iOS/macOS/watchOS/tvOS

Copyright © 2016-2020 KKBOX Technologies Limited

Actions Status  build  License Apache  CocoaPods  Support  Support  Support  Support 

About

The SDK helps to access KKBOX's Open API. You can easily add the SDK to your Xcode project, and start an app powered by KKBOX. You may obtain information about song tracks, albums, artists and playlists as well.

The SDK is developed in Objective-C programing language, but you can still bridge the SDK to your Swift code. You can use the SDK on various Apple platforms such as iOS, macOS, watchOS and tvOS.

If you are looking for a pure Swift SDK, please take a look at KKBOX Open API Swift SDK.

For further information, please visit KKBOX Developer Site.

Requirement

The SDK supports

  • 📱 iOS 7.x or above
  • 💻 Mac OS X 10.9 or above
  • ⌚️ watchOS 2.x or above
  • 📺 tvOS 9.x or above

Build

You need the latest Xcode and macOS. Xcode 10 and macOS 10.14 Mojave are recommended.

Installation

Swift Package Manager

You can install the library via Swift Package Manager (SPM). Just add the following lines to your Package.swift file.

dependencies: [
    .package(url: "https://github.com/KKBOX/OpenAPI-ObjectiveC.git", from: "1.3.1"),
],

Then run swift build.

Or, you can use the "Add Package Dependency" command under the "Swift Packages" menu in Xcode 11.

CocoaPods

The SDK supports CocoaPods. Please add pod 'KKBOXOpenAPI' to your Podfile, and then call pod install.

Usage

To start using the SDK, you need to create an instance of KKBOXOpenAPI.

let API = KKBOXOpenAPI(clientID: "YOUR_CLIENT_ID", secret: "YOUR_CLIENT_SECRET")

Then, ask the instance to fetch an access token by passing a client credential.

API.fetchAccessTokenByClientCredential { token, error in ... }

Finally, you can start to do the API calls. For example, you can fetch the details of a song track by calling 'fetchTrack'.

self.API.fetchTrack(withTrackID: trackID, territory: .taiwan) { track, error in ... }

You can develop your app using the SDK with Swift or Objective-C programming language, although we have only Swift sample code here.

The project contains a demo project. Please open KKBOXOpenAPI.xcodeproj located in the "ExampleIOS" folder with Xcode and give it a try.

API Documentation 📖

License

Copyright 2016-2020 KKBOX Technologies Limited

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].