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

Creating a master-detail iOS application

Having covered how classes, protocols, and enums are defined in Swift, a more complex master-detail application can be created. A master-detail application is a specific type of iOS application that initially presents a table view, and when an individual element is selected, a secondary details view will show more information about the selected item.

Using the Create a new Xcode project option from the welcome screen, navigate to File | New | Project... or press Command + Shift + N, and select Master-Detail Application from the iOS Application category:

Creating a master-detail iOS application

In the subsequent dialog, enter appropriate values for the project, such as the name (MasterDetail), the organizational identifier (typically based on the reverse DNS name), ensure that the Language drop-down reads Swift and that it is targeted for Universal devices.

Creating a master-detail iOS application

When the project is created, an Xcode window will open, containing all the files created by the wizard itself, including the MasterDetail...

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