Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Swift Essentials
  • Toc
  • feedback
Swift Essentials

Swift Essentials

By : Alex Blewitt, Bandlem Limited
4.8 (4)
close
Swift Essentials

Swift Essentials

4.8 (4)
By: Alex Blewitt, Bandlem Limited

Overview of this book

Whether you are a seasoned Objective-C developer or new to the Xcode platform, Swift Essentials will provide you with all you need to know to get started with the language. Prior experience with iOS development is not necessary, but will be helpful to get the most out of the book.
Table of Contents (10 chapters)
close
9
Index

Chapter 4. Storyboard Applications with Swift and iOS

Storyboards were introduced in Xcode 4.2 with iOS 5.0. Storyboards solved the problem of being able to graphically present the flow of screens in an iOS application and also provided a way to edit the content of those screens in one place instead of many separate xib files. Storyboards work in the same way with Swift as with Objective-C, and the Swift and Storyboards section shows how to integrate Swift code with storyboard transitions.

This chapter will present the following topics:

  • How to create a storyboard project
  • Creating multiple scenes
  • Using segues to navigate between scenes
  • Writing custom view controllers
  • Connecting views to outlets in Swift
  • Laying out views with Auto Layout
  • Using constraints to build resizable views

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete