Book Image

Learning iOS UI Development

Book Image

Learning iOS UI Development

Overview of this book

Through this comprehensive one-stop guide, you’ll get to grips with the entire UIKit framework and in a flash, you’ll be creating modern user interfaces for your iOS devices using Swift. Starting with an overview of the iOS drawing system and the available tools, you will then learn how to use these technologies to create adaptable layouts and custom elements for your applications. Next, you’ll be introduced to other topics such as animation and code-drawing with Core Graphics, which will give you all the knowledge you need to create astonishing user interfaces. By the end of this book, you will have a solid foundation in iOS user interface development and will have gained valuable insights on the process of building firm and complex UIs.
Table of Contents (16 chapters)
Learning iOS UI Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 2. UI Components Overview – UIKit

As with many other operative systems, iOS comes with its own UI library, UIKit, which is much more than a simple list of UI components. After reading the rest of this book, you'll realize that many topics are strictly connected to it—think of gestures, for instance. This chapter will be a basic overview of the main UI components provided by the framework; you'll learn how to use a component by adopting the most common properties and which functionalities you can work with while developing a user interface.

This chapter covers many different but related topics. Here is an overview of what you will read about in the next pages:

  • Text elements and the keyboard

  • Buttons, selectors, and user interaction

  • View-based components

  • A UI for structured data

  • Custom components with the UIAppearance protocol