Building Web-Driven Apps in Swift

Need to build an iOS app around a web API? You need just the bare facts on how to get CRUD done on iOS. That's what this book will do for you.

This book was written using Swift 2.0, Xcode 7 GM seed and iOS 9.

All code samples included.

This book is for:

  • Software developers getting started with iOS but experienced in other languages

  • Front-end devs looking to implement native UIs for iOS apps (no CSS, oh noes!)

  • Back-end devs tasked with getting the data into the user's hands on iOS

  • Android, Windows Phone, Blackberry, Tizen, Symbian & Palm OS devs looking to expand their web service backed apps to iOS

  • Anyone whose boss is standing over their shoulder asking with the data isn't showing up in the tableview yet

This book isn't for:

  • People completely new to programming, you should have a decent grasp of at least one object-oriented programming language or have completed several intro to iOS tutorials

  • Designers, managers, UX pros, ... It's a programming book. All the monospace font inserts will probably drive you crazy.

  • Cross-platform developers dedicated to their tools (including HTML5 & Xamarin), this is all Swift & native UI, all the time

  • Programmers building apps with no webservice interaction

  • Game devs

Christina Moulton

Christina Moulton has been developing iOS apps for 5 years and still randomly types retain]; once in a while. She develops custom iPhone & iPad apps at Teak Mobile Inc in Ontario, Canada. She enjoys every part of the process: starting with initial concepts then designing the interface, writing code, and submitting apps to the App Store (well, not really the submission part, iTunesConnect is awful). She's currently off sailing for a few years.

Christina holds B.A.Sc. and M.A.Sc. degrees in Systems Design Engineering from the University of Waterloo. She writes Swift developer tutorials at GrokSwift.com as often as she can.

  1. From JSON API to Swift App
  2. Our App’s Requirements
  3. Swift JSON Parsing & Networking Calls 101
  4. Why I Use Libraries Like Alamofire
  5. Hooking Up a REST API to a Table View
  6. Custom Headers
  7. Loading UITableViewCell Images from an API
  8. Pagination, a.k.a., Load More on Scroll
  9. Pull to Refresh
  10. Authentication
  11. Switching Lists
  12. Switching Between View Controllers and More JSON Parsing
  13. Adding More API Calls - Starring
  14. Deleting Gists
  15. Creating Gists and Clearing the Cache
  16. What if They’re Offline?
  17. What Next?