Listen and read

Step into an infinite world of stories

  • Read and listen as much as you want
  • Over 1 million titles
  • Exclusive titles + Storytel Originals
  • 7 days free trial, then €9.99/month
  • Easy to cancel anytime
Subscribe Now
Details page - Device banner - 894x1036

Swift 3 Protocol-Oriented Programming - Second Edition

Language
English
Format
Category

Non-fiction

Build fast and powerful applications with the power of protocol-oriented programming About This Book • Leverage the power of protocol-oriented programming in your applications and learn from real world use cases • Create a flexible codebase with protocols and protocol extensions • Increase the overall productivity and performance of applications with protocol-oriented programming Who This Book Is For This book is for Swift developers who want to learn and implement protocol-oriented programming in practical applications. What You Will Learn • Understand the difference between object-oriented programming and protocol-oriented programming • Explore the different types that Swift offers and what pitfalls to avoid • Error handling with do-try-catch block • Delve into Generics and Generic programming • Implement several design patterns in a protocol-oriented way • How to design applications by prioritizing the protocol first and the actual type second In Detail One of the most important additions to the new features and capabilities of the Swift programming language was an overhaul of Protocols. Protocol-oriented programming and first class value semantics have now become two incredibly powerful concepts at the heart of Swift's design.

This book will help you understand the difference between object-oriented programming and protocol-oriented programming. It will demonstrate how to work with protocol-oriented programming using real world use cases. You will gain solid knowledge of the different types that can be used in Swift and the differences between value and reference types. You will be taught how to utilize the advanced features of protocol-oriented programming to boost the performance of your applications.

By the end of the book, you will have a thorough understanding of protocol-oriented programming and how to utilize it to build powerful, practical applications. Style and approach This book is written for developers who learn best by working with code, so every concept discussed in this book is reinforced with real code examples.

© 2016 Packt Publishing (Ebook): 9781787128835

Release date

Ebook: November 28, 2016

This is why you’ll love Storytel

  • Listen and read without limits

  • 800 000+ stories in 40 languages

  • Kids Mode (child-safe environment)

  • Cancel anytime

Unlimited stories, anytime
Time limited offer

Unlimited

Listen and read as much as you want

9.99 € /month
  • 1 account

  • Unlimited Access

  • Offline Mode

  • Kids Mode

  • Cancel anytime

Try now