Listen and read

Step into an infinite world of stories

  • Read and listen as much as you want
  • Over 950 000 titles
  • Exclusive titles + Storytel Originals
  • Easy to cancel anytime
Try now
image.devices-Singapore 2x
Cover for Swift 4 Programming Cookbook

Swift 4 Programming Cookbook

Language
English
Format
Category

Non-Fiction

Over 50 recipes to help you quickly and efficiently build applications with Swift 4 and Xcode 9

About This Book

• Write robust and efficient code and avoid common pitfalls using Swift 4

• Get a comprehensive coverage of the tools and techniques needed to create multi-platform apps with Swift 4

• Packed with easy-to-follow recipes, this book will help you develop code using the latest version of Swift

Who This Book Is For

If you are looking for a book to help you learn about the diverse features offered by Swift 4 along with tips and tricks to efficiently code and build applications, then this book is for you. Basic knowledge of Swift or general programming concepts will be beneficial.

What You Will Learn • Explore basic to advanced concepts in Swift 4 Programming

• Unleash advanced features of Apple's Xcode 9 IDE and Swift Playgrounds

• Learn about the conditional statements, loops, and how to handle errors in Swift

• Define flexible classes and structs using Generics, and learn about the advanced operators, and create custom operators

• Explore functionalities outside of the standard libraries of Swift

• Import your own custom functionality into Swift Playgrounds

• Run Swift on Linux and investigate server-side programming with the server side framework Vapor

In Detail

Swift 4 is an exciting, multi-platform, general-purpose programming language. Being open source, modern and easy to use has made Swift one of the fastest growing programming languages. If you interested in exploring it, then this book is what you need.

The book begins with an introduction to the basic building blocks of Swift 4, its syntax and the functionalities of Swift constructs. Then, introduces you to Apple's Xcode 9 IDE and Swift Playgrounds, which provide an ideal platform to write, execute, and debug the codes thus initiating your development process. Next, you'll learn to bundle variables into tuples, set order to your data with an array, store key-value pairs with dictionaries and you'll learn how to use the property observers. Later, explore the decision-making and control structures in Swift and learn how to handle errors in Swift 4.

Then you'll, examine the advanced features of Swift, generics and operators, and then explore the functionalities outside of the standard library, provided by frameworks such as Foundation and UIKit. Also, you'll explore advanced features of Swift Playgrounds. At the end of the book, you'll learn server-side programming aspect of Swift 4 and see how to run Swift on Linux and then investigate Vapor, one of the most popular server-side frameworks for Swift.

Style and approach

Each recipe addresses a specific problem, with a detailed discussion that explains the solution and offers insight into how it works.

© 2017 Packt Publishing (Ebook): 9781786466631

Release date

Ebook: 28 September 2017

Others also enjoyed ...

Features:

  • Over 950 000 titles

  • Kids Mode (child safe environment)

  • Download books for offline access

  • Cancel anytime

Most popular

Unlimited

For those who want to listen and read without limits.

S$12.98 /month

3 days free
  • Unlimited listening

  • Cancel anytime

Try now

Unlimited Bi-yearly

For those who want to listen and read without limits.

S$69 /6 months

14 days free
Save 11%
  • Unlimited listening

  • Cancel anytime

Try now

Unlimited Yearly

For those who want to listen and read without limits.

S$119 /year

14 days free
Save 24%
  • Unlimited listening

  • Cancel anytime

Try now

Family

For those who want to share stories with family and friends.

Starting at S$14.90 /month

  • Unlimited listening

  • Cancel anytime

You + 1 family member2 accounts

S$14.90 /month

Try now