skip to content
Swift 4 Protocol-Oriented Programming - Third Edition. Preview this item
ClosePreview this item
Checking...

Swift 4 Protocol-Oriented Programming - Third Edition.

Author: Jon Hoffman
Publisher: Birmingham : Packt Publishing, 2017.
Edition/Format:   eBook : Document : EnglishView all editions and formats
Summary:
Build fast and powerful applications by harnessing the power of protocol-oriented programming in Swift 4 About This Book Leverage the power of protocol-oriented programming in your applications and learn from real-world use cases Create a flexible code base with protocols and protocol extensions Leverage the power of generics in Swift 4 to create very flexible frameworks Who This Book Is For This book is for Swift  Read more...
Rating:

(not yet rated) 0 with reviews - Be the first.

Subjects
More like this

Find a copy online

Links to this item

Find a copy in the library

&AllPage.SpinnerRetrieving; Finding libraries that hold this item...

Details

Genre/Form: Electronic books
Additional Physical Format: Print version:
Hoffman, Jon.
Swift 4 Protocol-Oriented Programming - Third Edition.
Birmingham : Packt Publishing, ©2017
Material Type: Document, Internet resource
Document Type: Internet Resource, Computer File
All Authors / Contributors: Jon Hoffman
ISBN: 9781788473828 1788473825
OCLC Number: 1006423108
Notes: ""The proxy design pattern""
Description: 1 online resource (206 pages)
Contents: ""Cover ""; ""Copyright""; ""Credits""; ""About the Author""; ""About the Reviewer""; ""www.PacktPub.com""; ""Customer Feedback""; ""Table of Contents""; ""Preface""; ""Chapter 1: Starting with the Protocol""; ""Protocol syntax""; ""Defining a protocol""; ""Property requirements""; ""Method requirements""; ""Optional requirements""; ""Protocol inheritance""; ""Protocol composition""; ""Using protocols as a type""; ""Polymorphism with protocols""; ""Type casting with protocols""; ""Associated types with protocols""; ""Delegation""; ""Designing with protocols"" ""Protocols in the Swift standard library""""Summary""; ""Chapter 2: Our Type Choices""; ""Classes""; ""Structures""; ""Access controls""; ""Enumerations""; ""Tuples""; ""Protocols""; ""Value and reference types""; ""Recursive data types for reference types only""; ""Inheritance for reference types only""; ""Dynamic dispatch""; ""Swift's built-in types""; ""Copy-on-write""; ""Summary""; ""Chapter 3: Extensions""; ""Defining an extension""; ""Protocol extensions""; ""Text validation""; ""Extensions with the Swift standard library""; ""Conforming to the Equatable protocol""; ""Summary"" ""Chapter 4: Generics""""Generic functions""; ""Type constraints with Generics""; ""Generic types""; ""Associated types""; ""Generic subscripts""; ""Copy-on-write""; ""Generics in a protocol-oriented design""; ""Generics in the Swift standard library""; ""Summary""; ""Chapter 5: Object-Oriented Programming""; ""What is object-oriented programming?""; ""Requirements for the sample code""; ""Swift as an object-oriented programming language""; ""Issues with the object-oriented design""; ""Summary""; ""Chapter 6: Protocol-Oriented Programming""; ""Requirements for the sample code"" ""Swift as a protocol-oriented programming language""""Summarizing protocol-oriented programming and object-oriented programming""; ""Differences between object-oriented programming and protocol-oriented programming""; ""Protocol and protocol extensions compared with superclasses""; ""Implementing vehicle types""; ""Using value and reference types""; ""The winner is ... ""; ""Summary""; ""Chapter 7: Adopting Design Patterns in Swift""; ""What are design patterns?""; ""Creational patterns""; ""The singleton design pattern""; ""Understanding the problem""; ""Understanding the solution"" ""Implementing the singleton pattern""""The builder design pattern""; ""Understanding the problem""; ""Understanding the solution""; ""Implementing the builder pattern""; ""The factory method pattern""; ""Understanding the problem""; ""Understanding the solution""; ""Implementing the factory method pattern""; ""Structural design patterns""; ""The bridge pattern""; ""Understanding the problem""; ""Understanding the solution""; ""Implementing the bridge pattern""; ""The facade pattern""; ""Understanding the problem""; ""Understanding the solution""; ""Implementing the facade pattern""

Abstract:

Build fast and powerful applications by harnessing the power of protocol-oriented programming in Swift 4 About This Book Leverage the power of protocol-oriented programming in your applications and learn from real-world use cases Create a flexible code base with protocols and protocol extensions Leverage the power of generics in Swift 4 to create very flexible frameworks Who This Book Is For This book is for Swift developers who want to learn and implement protocol-oriented programming in their real-world applications.. What You Will Learn Understand the differences between object-oriented programming and protocol-oriented programming Explore the different types that Swift offers and what pitfalls to avoid Delve into generics and generic programming Learn how to implement Copy-On-Write within your custom types Implement several design patterns in a protocol-oriented way Design applications by prioritizing the protocol first and the implementation types second In Detail Swift has become the number one language used in iOS and macOS development. The Swift standard library is developed using protocol-oriented programming techniques, generics, and first-class value semantics; therefore, every Swift developer should understand these powerful concepts and how to take advantage of them in their application design. This book will help you understand the differences 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 a solid knowledge of the various types that can be used in Swift and the differences between value and reference types. You will be taught how protocol-oriented programming techniques can be used to develop very flexible and easy-to-maintain code. By the end of the book, you will have a thorough understanding of protocol-oriented programming and how to utilize it to build powerful and 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. Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com . If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the code file.

Reviews

User-contributed reviews
Retrieving GoodReads reviews...
Retrieving DOGObooks reviews...

Tags

Be the first.

Similar Items

Confirm this request

You may have already requested this item. Please select Ok if you would like to proceed with this request anyway.

Linked Data


Primary Entity

<http://www.worldcat.org/oclc/1006423108> # Swift 4 Protocol-Oriented Programming - Third Edition.
    a schema:MediaObject, schema:CreativeWork, schema:Book ;
    library:oclcnum "1006423108" ;
    library:placeOfPublication <http://id.loc.gov/vocabulary/countries/enk> ;
    library:placeOfPublication <http://experiment.worldcat.org/entity/work/data/4544835002#Place/birmingham> ; # Birmingham
    schema:about <http://experiment.worldcat.org/entity/work/data/4544835002#Topic/application_software_development> ; # Application software--Development
    schema:about <http://dewey.info/class/005.3/e23/> ;
    schema:about <http://experiment.worldcat.org/entity/work/data/4544835002#Topic/swift> ; # Swift
    schema:bookFormat schema:EBook ;
    schema:creator <http://experiment.worldcat.org/entity/work/data/4544835002#Person/hoffman_jon> ; # Jon Hoffman
    schema:datePublished "2017" ;
    schema:description """Cover ""; ""Copyright""; ""Credits""; ""About the Author""; ""About the Reviewer""; ""www.PacktPub.com""; ""Customer Feedback""; ""Table of Contents""; ""Preface""; ""Chapter 1: Starting with the Protocol""; ""Protocol syntax""; ""Defining a protocol""; ""Property requirements""; ""Method requirements""; ""Optional requirements""; ""Protocol inheritance""; ""Protocol composition""; ""Using protocols as a type""; ""Polymorphism with protocols""; ""Type casting with protocols""; ""Associated types with protocols""; ""Delegation""; ""Designing with protocols"""@en ;
    schema:description "Build fast and powerful applications by harnessing the power of protocol-oriented programming in Swift 4 About This Book Leverage the power of protocol-oriented programming in your applications and learn from real-world use cases Create a flexible code base with protocols and protocol extensions Leverage the power of generics in Swift 4 to create very flexible frameworks Who This Book Is For This book is for Swift developers who want to learn and implement protocol-oriented programming in their real-world applications.. What You Will Learn Understand the differences between object-oriented programming and protocol-oriented programming Explore the different types that Swift offers and what pitfalls to avoid Delve into generics and generic programming Learn how to implement Copy-On-Write within your custom types Implement several design patterns in a protocol-oriented way Design applications by prioritizing the protocol first and the implementation types second In Detail Swift has become the number one language used in iOS and macOS development. The Swift standard library is developed using protocol-oriented programming techniques, generics, and first-class value semantics; therefore, every Swift developer should understand these powerful concepts and how to take advantage of them in their application design. This book will help you understand the differences 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 a solid knowledge of the various types that can be used in Swift and the differences between value and reference types. You will be taught how protocol-oriented programming techniques can be used to develop very flexible and easy-to-maintain code. By the end of the book, you will have a thorough understanding of protocol-oriented programming and how to utilize it to build powerful and 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. Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com . If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the code file."@en ;
    schema:exampleOfWork <http://worldcat.org/entity/work/id/4544835002> ;
    schema:genre "Electronic books"@en ;
    schema:inLanguage "en" ;
    schema:isSimilarTo <http://worldcat.org/entity/work/data/4544835002#CreativeWork/swift_4_protocol_oriented_programming_third_edition> ;
    schema:name "Swift 4 Protocol-Oriented Programming - Third Edition."@en ;
    schema:productID "1006423108" ;
    schema:publication <http://www.worldcat.org/title/-/oclc/1006423108#PublicationEvent/birmingham_packt_publishing_2017> ;
    schema:publisher <http://experiment.worldcat.org/entity/work/data/4544835002#Agent/packt_publishing> ; # Packt Publishing
    schema:url <http://public.eblib.com/choice/publicfullrecord.aspx?p=5098651> ;
    schema:url <https://proquest.safaribooksonline.com/9781788470032> ;
    schema:url <http://ezproxy.lindenwood.edu:2048/login?url=https://www.safaribooksonline.com/library/view/-/9781788470032/?ar> ;
    schema:url <http://lib.myilibrary.com?id=1041711> ;
    schema:url <http://public.ebookcentral.proquest.com/choice/publicfullrecord.aspx?p=5098651> ;
    schema:url <http://www.myilibrary.com?id=1041711> ;
    schema:workExample <http://worldcat.org/isbn/9781788473828> ;
    wdrs:describedby <http://www.worldcat.org/title/-/oclc/1006423108> ;
    .


Related Entities

<http://experiment.worldcat.org/entity/work/data/4544835002#Agent/packt_publishing> # Packt Publishing
    a bgn:Agent ;
    schema:name "Packt Publishing" ;
    .

<http://experiment.worldcat.org/entity/work/data/4544835002#Person/hoffman_jon> # Jon Hoffman
    a schema:Person ;
    schema:familyName "Hoffman" ;
    schema:givenName "Jon" ;
    schema:name "Jon Hoffman" ;
    .

<http://experiment.worldcat.org/entity/work/data/4544835002#Topic/application_software_development> # Application software--Development
    a schema:Intangible ;
    schema:name "Application software--Development"@en ;
    .

<http://lib.myilibrary.com?id=1041711>
    rdfs:comment "Connect to MyiLibrary resource." ;
    .

<http://worldcat.org/entity/work/data/4544835002#CreativeWork/swift_4_protocol_oriented_programming_third_edition>
    a schema:CreativeWork ;
    rdfs:label "Swift 4 Protocol-Oriented Programming - Third Edition." ;
    schema:description "Print version:" ;
    schema:isSimilarTo <http://www.worldcat.org/oclc/1006423108> ; # Swift 4 Protocol-Oriented Programming - Third Edition.
    .

<http://worldcat.org/isbn/9781788473828>
    a schema:ProductModel ;
    schema:isbn "1788473825" ;
    schema:isbn "9781788473828" ;
    .


Content-negotiable representations

Close Window

Please sign in to WorldCat 

Don't have an account? You can easily create a free account.