Skip to content

osis/cf-swift-client

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

CFoundry: Cloud Foundry Swift Client

Build Status codebeat badge Carthage compatible CocoaPods Platform

Features

  • Compatible with Cloud Foundry v2 API
  • Ability to list Organizations, Spaces, and Applications
  • Details such as Application Summary, Service Bindings, Instance information, and Events
  • Recent & Realtime Application Log Streaming

Installation

CocoaPods

You can use CocoaPods to install CFoundry by adding it to your Podfile:

use_frameworks!

target 'MyApp' do
    pod 'CFoundry'
end

Carthage

You can use Carthage to install CFoundry by adding it to your Cartfile:

github "osis/cf-swift-sdk"

If you use Carthage to build your dependencies, make sure you have added CFoundry.framework to the "Linked Frameworks and Libraries" section of your target, and have included them in your Carthage framework copying build phase.

Sample

CFApi.info(apiURL: urlString) { (info: CFInfo?, error: Error?) in
    if let e = error {
        return
    }
    
    if let i = info {
      print(i.apiVersion)
    }
}

In Use

CF Apps IOS