Skip to content

Fahrni/PastryKit

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
 
 
 
 
 
 
 
 
 
 

PastryKit

Swift code used for communicating with The Pastry Box Project API

A note about organization:

  • PastryKit - Contains the only two Swift files you'll need to get stuff from The Pastry Box; PastryKit and Pastry
  • PastryTest - An application (really, really, ugly) that will let you execute PastryKit methods
  • PastryTestTests - Unit tests for PastryKit. There are only a few.

Example of use, get all Pastries by Baker Mike Monteiro:

  private func showPastryBaker() {
      let pastryKit = PastryKit()
      pastryKit.thoughtsByBaker("mike-monteiro", completionHandler:{ (pasteries, error) in
          if nil != error { print(error) }
          if nil != pasteries { print(pasteries) }
      })
  }

Rob Fahrni - April 4, 2015 - Visalia, CA

About

Swift code used for communicating with The Pastry Box Project API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages