Swift 2 Blueprints
上QQ阅读APP看书,第一时间看更新

Chapter 2. Creating a City Information App with Customized Table Views

If you've ever developed an app for iOS, you've probably already used a table view. However, you might not have developed it with customized table views or used alternatives for it like the collection view or the page view controller.

Let's start with a simple but a very good app to warm up the engines and learn different ways of displaying collected information with Swift.

In this chapter, we will cover the following:

  • Using table view and custom table view cells
  • The usage of UIPageViewController
  • The usage of UICollectionViewController
  • The usage of external APIs
  • Managing JSON messages
  • The usage of NSURLSession to receive JSON or download pictures
  • Custom NSErrors