Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Swift By Example
  • Table Of Contents Toc
  • Feedback & Rating feedback
Swift By Example

Swift By Example

By : Giordano Scalzo
4 (2)
close
close
Swift By Example

Swift By Example

4 (2)
By: Giordano Scalzo

Overview of this book

This book is intended for those who want to learn to develop apps in Swift the right way. Whether you are an expert Objective-C programmer or new to this platform, you'll learn quickly, grasping the code of real-world apps to use Swift effectively. Prior experience in development for Apple devices would be helpful, but is not mandatory.
Table of Contents (10 chapters)
close
close

The app is…


The most common, and perhaps the simplest, way to learn to develop an iOS app is by starting with a to-do list where the user can add tasks, show them, and change their status.

You need to be aware that a generic utility app for iOS must handle the following:

  • Getting data from the user

  • Presenting data obtained from the user

  • Manipulating data

  • Somehow saving data

  • Synchronizing data with a server

Our Todolist app has all of these features except the last one, and it can be considered the prototype of all utility apps. Let's define the specifications of our app. The first, and the most useful, screen must present the list of Todos, as this screenshot shows:

Each one out of the list of Todos has a description, due date, and containing list (Family, Personal, Work, and so on), which can be used to filter and catalogue the tasks. A checkbox indicates whether the corresponding task is done or still open.

The user can perform three different actions: edit, delete, or set a particular Todo task...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Swift By Example
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon