Skip to content

Instantly share code, notes, and snippets.

@aGupieWare
Created November 17, 2014 03:09
Show Gist options
  • Select an option

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

Select an option

Save aGupieWare/b7b52c55956765d629cf to your computer and use it in GitHub Desktop.
Swift client, item description funcs . . .
override func viewDidAppear(animated: Bool) {
super.viewDidAppear(animated)
// title and download //
}
// MARK: - Ancillary Methods
func urlForItemWithDescription(itemID : String) -> (NSURL?) {
// request endpoint for item //
}
// MARK: - Networking
func requestItem(endPointURL : NSURL?, responseHandler : (error : NSError? , itemDescription : String?) -> () ) -> () {
// request item description //
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment