Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Swift By Example

You're reading from   Swift By Example

Arrow left icon
Product type Paperback
Published in Jun 2015
Publisher
ISBN-13 9781785284700
Length 284 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Giordano Scalzo Giordano Scalzo
Author Profile Icon Giordano Scalzo
Giordano Scalzo
Arrow right icon
View More author details
Toc

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...

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 $19.99/month. Cancel anytime
Banner background image