Skip to content

Instantly share code, notes, and snippets.

@aGupieWare
Created November 6, 2014 21:56
Show Gist options
  • Select an option

  • Save aGupieWare/987d70732462518e29a6 to your computer and use it in GitHub Desktop.

Select an option

Save aGupieWare/987d70732462518e29a6 to your computer and use it in GitHub Desktop.
Swift client, request inventory method, take 1 . . .
// MARK: - Networking
func requestInventory(endPointURL : String, responseHandler : (error : NSError? , items : Array<PlumbingSupplyItem>?) -> () ) -> () {
// Url session request goes here //
responseHandler( error: nil, items: nil)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment