Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

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

Beginning Swift

By : Rob Kerr, Kåre Morstøl
4 (1)
close
Beginning Swift

Beginning Swift

4 (1)
By: Rob Kerr, Kåre Morstøl

Overview of this book

Take your first foray into programming for Apple devices with Swift.Swift is fundamentally different from Objective-C, as it is a protocol-oriented language. While you can still write normal object-oriented code in Swift, it requires a new way of thinking to take advantage of its powerful features and a solid understanding of the basics to become productive.
Table of Contents (10 chapters)
close

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.

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