Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Learn Swift by Building Applications

You're reading from   Learn Swift by Building Applications Explore Swift programming through iOS app development

Arrow left icon
Product type Paperback
Published in May 2018
Publisher Packt
ISBN-13 9781786463920
Length 366 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Giordano Scalzo Giordano Scalzo
Author Profile Icon Giordano Scalzo
Giordano Scalzo
Emil Atanasov Emil Atanasov
Author Profile Icon Emil Atanasov
Emil Atanasov
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Title Page
Copyright and Credits
Packt Upsell
Contributors
Preface
1. Swift Basics – Variables and Functions FREE CHAPTER 2. Getting Familiar with Xcode and Playgrounds 3. Creating a Minimal Mobile App 4. Structures, Classes, and Inheritance 5. Adding Interactivity to Your First App 6. How to Use Data Structures, OOP, and Protocols 7. Developing a Simple Weather App 8. Introducing CocoaPods and Project Dependencies 9. Improving a Version of a Weather App 10. Building an Instagram-Like App 11. Instagram-Like App Continued 12. Contributing to an Open Source Project 1. Other Books You May Enjoy Index

Your first iOS application


Let's start with creating your first iOS mobile project using Xcode. Here are the steps that will guide you through the process.

  1. Go ahead and start Xcode. If you start Xcode for the first time or there is no active project opened, then you will see the following screen (please check Chapter 2Getting Familiar with Xcode and Playgrounds, if you don't have Xcode already installed on your Mac):
  1. Click on Create a new Xcode project. If you have an opened project, then simply use the menu at the top to create a new project by navigating to File | New | Project  (shift + cmd + N):
  1. Select the iOS tab at the top.

Note

This book is focused on iOS development, but, in general, there is no huge difference between all other platforms—macOS, watchOS, or tvOS. They have different capabilities, but they can run apps developed in Swift.

  1. Then selectSingle View Application.

Note

This is a special type of application, which consists of a single-view controller which presents a single view...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images