Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Beginning Swift

You're reading from   Beginning Swift Master the fundamentals of programming in Swift 4

Arrow left icon
Product type Paperback
Published in May 2018
Publisher Packt
ISBN-13 9781789534313
Length 202 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Rob Kerr Rob Kerr
Author Profile Icon Rob Kerr
Rob Kerr
Kåre Morstøl Kåre Morstøl
Author Profile Icon Kåre Morstøl
Kåre Morstøl
Arrow right icon
View More author details
Toc

Chapter 3. Functions, Classes, and Structs

In the previous two lessons, you learned the fundamentals of Swift syntax, data types, and how to use variables to store data in a Swift program. With knowledge of these language elements, you're already prepared to create fully functional Swift programs.

In this lesson, you'll build on these skills, and learn how to develop fully featured Swift applications, catch unexpected errors, and begin using asynchronous programming paradigms. You'll learn how to create your own data types, and create object-oriented applications using classes and structs.

All object-oriented programming languages provide the ability to build your own custom classes. Classes increase the level of modularity in your application, and promote code reuse. This lesson will cover the key skills you'll need to build robust, object-oriented applications with Swift.

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 €18.99/month. Cancel anytime