iOS 10 Programming for Beginners
eBook - ePub

iOS 10 Programming for Beginners

Craig Clayton

Buch teilen
  1. 678 Seiten
  2. English
  3. ePUB (handyfreundlich)
  4. Über iOS und Android verfügbar
eBook - ePub

iOS 10 Programming for Beginners

Craig Clayton

Angaben zum Buch
Buchvorschau
Inhaltsverzeichnis
Quellenangaben

Über dieses Buch

Begin your iOS mobile application development journey with this accessible, practical guide

About This Book

  • Use Swift 3 and latest iOS 10 features to build awesome apps for iPhone and iPad
  • Explore and use a wide range of Apple development tools to become a confident iOS developer
  • From prototype to App Store—find out how to build an app from start to finish!

Who This Book Is For

This book is for beginners who want to be able to create iOS applications. If you have some programming experience, this book is a great way to get a full understanding of how to create an iOS application from scratch and submit it to the App Store. You do not need any knowledge of Swift or any prior programming experience.

What You Will Learn

  • Get to grips with Swift 3 and Xcode, the building blocks of Apple development
  • Get to know the fundamentals of Swift, including variables, constants, and control flow
  • Discover the distinctive design principles that define the iOS user experience
  • See how to prototype your app with Swift's Playgrounds feature
  • Build a responsive UI that looks great on a range of devices
  • Find out how to use CoreLocation to add location services to your app
  • Add push notifications to your app
  • Make your app able to be used on both iPhone and iPad

In Detail

You want to build iOS applications for iPhone and iPad—but where do you start? Forget sifting through tutorials and blog posts, this is a direct route into iOS development, taking you through the basics and showing you how to put the principles into practice. With every update, iOS has become more and more developer-friendly, so take advantage of it and begin building applications that might just take the App Store by storm!

Whether you're an experienced programmer or a complete novice, this book guides you through every facet of iOS development. From Xcode and Swift—the building blocks of modern Apple development—and Playgrounds for beginners, one of the most popular features of the iOS development experience, you'll quickly gain a solid foundation to begin venturing deeper into your development journey. For the experienced programmer, jump right in and learn the latest iOS 10 features.

You'll also learn the core elements of iOS design, from tables to tab bars, as well as more advanced topics such as gestures and animations that can give your app the edge. Find out how to manage databases, as well as integrating standard elements such as photos, GPS into your app. With further guidance on beta testing with TestFlight, you'll quickly learn everything you need to get your project on the App Store!

Style and approach

Created for anyone that wants to build their first iOS application, this book offers practical, actionable guidance through iOS development. Combining engaging visuals with accessible, step-by-step instructiona and explanation, this book will not only develop the your understanding, but also show you how to put your knowledge to work.

Häufig gestellte Fragen

Wie kann ich mein Abo kündigen?
Gehe einfach zum Kontobereich in den Einstellungen und klicke auf „Abo kündigen“ – ganz einfach. Nachdem du gekündigt hast, bleibt deine Mitgliedschaft für den verbleibenden Abozeitraum, den du bereits bezahlt hast, aktiv. Mehr Informationen hier.
(Wie) Kann ich Bücher herunterladen?
Derzeit stehen all unsere auf Mobilgeräte reagierenden ePub-Bücher zum Download über die App zur Verfügung. Die meisten unserer PDFs stehen ebenfalls zum Download bereit; wir arbeiten daran, auch die übrigen PDFs zum Download anzubieten, bei denen dies aktuell noch nicht möglich ist. Weitere Informationen hier.
Welcher Unterschied besteht bei den Preisen zwischen den Aboplänen?
Mit beiden Aboplänen erhältst du vollen Zugang zur Bibliothek und allen Funktionen von Perlego. Die einzigen Unterschiede bestehen im Preis und dem Abozeitraum: Mit dem Jahresabo sparst du auf 12 Monate gerechnet im Vergleich zum Monatsabo rund 30 %.
Was ist Perlego?
Wir sind ein Online-Abodienst für Lehrbücher, bei dem du für weniger als den Preis eines einzelnen Buches pro Monat Zugang zu einer ganzen Online-Bibliothek erhältst. Mit über 1 Million Büchern zu über 1.000 verschiedenen Themen haben wir bestimmt alles, was du brauchst! Weitere Informationen hier.
Unterstützt Perlego Text-zu-Sprache?
Achte auf das Symbol zum Vorlesen in deinem nächsten Buch, um zu sehen, ob du es dir auch anhören kannst. Bei diesem Tool wird dir Text laut vorgelesen, wobei der Text beim Vorlesen auch grafisch hervorgehoben wird. Du kannst das Vorlesen jederzeit anhalten, beschleunigen und verlangsamen. Weitere Informationen hier.
Ist iOS 10 Programming for Beginners als Online-PDF/ePub verfügbar?
Ja, du hast Zugang zu iOS 10 Programming for Beginners von Craig Clayton im PDF- und/oder ePub-Format sowie zu anderen beliebten Büchern aus Computer Science & Programming. Aus unserem Katalog stehen dir über 1 Million Bücher zur Verfügung.

Information

Jahr
2016
ISBN
9781786464507

iOS 10 Programming for Beginners


Table of Contents

iOS 10 Programming for Beginners
Credits
About the Author
About the Reviewer
www.PacktPub.com
eBooks, discount offers, and more
Why subscribe?
Customer Feedback
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading theexample code
Downloading the color images of this book
Errata
Piracy
Questions
1. Getting Familiar with Xcode
Getting started
The Xcode interface
Navigator panel
Standard editor
Utilities panel
Debug panel
Toolbar
Generic iOS Device
iOS device
Window Pane Controls
Summary
2. Building a Foundation with Swift
Playgrounds – an interactive coding environment
Data types – where it all starts
String
Integer data type
Floating-point numbers
Booleans
Variables and constants – where data is held
Creating a variable with a String
Creating a variable with an Integer (Int)
Debug and print() – detecting your bugs
Adding floating-point numbers
Creating a Boolean
Hungarian notation
Why constants versus variables?
Comments – leaving yourself notes or reminders
Type safety and type inference
Concatenating strings
String interpolation
Operations with our Integers
Increment and decrement
Comparison operators
If-Statements – having fun with logic statements
Optionals and Optional Bindings
Why optionals?
Functions
Let's Work
Summary
3. Digging Deeper
Creating a Playground project
Ranges
Closed Range
Half closed Range
Control flow
The for…in loop
The while loop
The repeat…while loop
Summary
4. Digging into Collections
Arrays
Creating an empty array
Creating an array with initial values
Creating a mutable array
Adding items to an array
Checking the number of elements in an array
Checking for an empty array
Retrieving a value from an array
Iterating over an array
Removing items from an array
Dictionaries
Creating a dictionary
Adding and updating dictionary elements
Accessing an item in a dictionary
Iterating over dictionary values
Iterating over dictionary keys
Iterating over dictionary keys and values
Checking the number of items in a dictionary
Removing Items from a dictionary
Sets
Creating an empty set
Creating a set with an array literal
Creating a mutable set
Adding items into a set
Checking if a set contains an item
Iterating over a set
Intersecting two sets
Joining two sets
Removing items from a Set
Summary
5. Starting the UI Setup
Useful terms
View Controller
Table View Controller
Collection View Controller
Navigation Controller
Tab Bar Controller
Storyboard
Segue
Auto layout
Model View Controller (MVC)
App Tour
Explore tab
Locations
Restaurant listings
Restaurant detail
Map tab
Project setup
Creating a new project
Creating our files
Storyboard setup
Adding our App assets
Storyboards
Creating our launch screen
Adding a Navigation Controller
Creating a custom title view
Adding a container
Using Stack Views
Adding a Custom Label and an Arrow to Our Custom Title View
Summary
6. Setting Up UI
Design clean up
Adding a Clear Background to the Custom Title View
Updating the UIStackView
Updating our Arrow
Updating our Label
Adding a Button
Collection View
Adding a Modal
Map Kit View
Fixing the Crash
Refactoring the Storyboard
Creating a New Storyboard for the Explore Tab
Creating a New Storyboard for the Map Tab
Folder Setup
Organizing folders
Setting up Global Settings
Breaking Down our App Delegate
Summary
7. Getting Started with the Grid
Unders...

Inhaltsverzeichnis