Chapter    5

iOS Applications

This chapter contains recipes for the creation of iOS applications, adding user-interface controls, and working with a UITableView. Many of the user-interface topics in this chapter can be accomplished using storyboards. The recipes in this chapter focus on using Swift to add, position, and interact with user-interface controls. The full list of topics includes

  • Creating a New iOS Application
  • Adding a UILabel to a View
  • Adding a UIButton to a View
  • Adding a UITextField to a View
  • Positioning UIViews in Auto Layout Using NSConstraints
  • Repositioning a View to Accommodate the Keyboard
  • Displaying an Alert with UIAlertController
  • Using UIAlertController to Collect User Input
  • Creating a UITableView
  • Swiping to Delete ...

Get Swift Recipes: A Problem-Solution Approach now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.