Swift Protocol-Oriented Programming: Increase productivity and build faster applications with Swift 5, 4th Edition
Language: English
Published by Packt Publishing, 2019
- Softcover
- New

Condition: New
£ 20.95
Quantity: 1 available
Add to basketItem description from seller
New Copy. Customer Service Guaranteed.
Seller Inventory # 18E12_11_1789349028
- Title
- Swift Protocol-Oriented Programming: Increase productivity and build faster applications with Swift 5, 4th Edition
- Author
- Hoffman, Jon
- Publisher
- Packt Publishing
- Publication year
- 2019
- Condition
- new
- Binding
- Paperback
- Language
- English
- ISBN 10
- 1789349028
- ISBN 13
- 9781789349023
- Edition
- 4th Edition
Embrace the Protocol-Oriented Programming paradigm, for better code maintainability and increased performance, with Swift programming.
Key Features
- Leverage the power of Protocol-Oriented Programming in your applications
- Leverage generics to create very flexible frameworks
- Learn how to implement common design patterns in a protocol-oriented way
Book Description
Protocol-oriented programming is an incredibly powerful concept at the heart of Swift's design. Swift's standard library was developed using POP techniques, generics, and first-class value semantics; therefore, it is important for every Swift developer to understand these core concepts and take advantage of them. The fourth edition of this book is improved and updated to the latest version of the Swift programming language.
This book will help you understand what protocol-oriented programming is all about and how it is different from other programming paradigms such as object-oriented programming. This book covers topics such as generics, Copy-On-Write, extensions, and of course protocols. It also demonstrates how to use protocol-oriented programming techniques via real-world use cases.
By the end of this book, you will know how to use protocol-oriented programming techniques to build powerful and practical applications.
What you will learn
- Learn the differences between object-oriented programming and protocol-oriented programming
- Understand why value types should be prioritized over reference types
- Delve into protocols, protocol inheritance, protocol composition, and protocol extensions
- Learn how to implement COW (Copy-On-Write) within your custom value types
- Understand how memory management works in Swift and how to avoid common pitfalls
- Design applications by starting with the protocol rather than the implementation
Who this book is for
This book is intended for Swift developers who have, at minimum an introductory knowledge of the Swift programming language and would like to understand how they can use Protocol-Oriented Programming techniques in their applications.
Table of Contents
- Starting with the Protocol
- Our Type Choices
- Extensions
- Generics
- Memory Management
- Object-Oriented Programming
- Protocol-Oriented Programming
- Adopting Design Patterns in Swift
- Case Studies
"Synopsis" may belong to another edition of this title.
About the Author
"About the title" may belong to another edition of this title.
Shipping rates within U.S.A.
| Item | 4 to 14 business days | 3 to 8 business days |
|---|---|---|
| First item | £ 4.14 | £ 9.61 |
Payment methods
Store description
We are dedicated to providing customers with easy, flawless transactions and excellent books! We provide 100% customer satisfaction and are always here to answer any questions or concerns for our customers.
Specialty
Non-Fiction across all genres, FictionSeller's business information
Farm For Books Inc
1734 Bellaire Street
Denver, CO U.S.A. 80220
Terms of sale
We ship from Colorado, U.S.A!
Right of withdrawal
If you are a consumer you can withdraw from the contract in accordance with the following. Consumer means any natural person who is acting for purposes which are outside his trade, business, craft or profession.
Information regarding the right of withdrawal
Statutory right to withdraw
You have the right to withdraw from this contract within 14 days without giving any reason.
The withdrawal period will expire after 14 days from the day on which you acquire, or a third party other than the carrier and indicated by you acquires, physical possession of the last good or the last lot or piece.
To exercise the right of withdrawal, electronically fill in and submit a clear statement on our website, under "My Purchases" in "My Account". We will communicate to you an acknowledgement of receipt of such a withdrawal on a durable medium (e.g. by e-mail) without delay.
To meet the withdrawal deadline, it is sufficient for you to send your communication concerning your exercise of the right of withdrawal before the withdrawal period has expired.
Effects of withdrawal
If you withdraw from this contract, we will reimburse to you all payments received from you, including the costs of delivery (except for the supplementary costs arising if you chose a type of delivery other than the least expensive type of standard delivery offered by us).
We may make a deduction from the reimbursement for loss in value of any goods supplied, if the loss is the result of unnecessary handling by you.
We will make the reimbursement without undue delay, and not later than 14 days after the day on which we are informed about your decision to withdraw from this contract.
We will make the reimbursement using the same means of payment as you used for the initial transaction, unless you have expressly agreed otherwise; in any event, you will not incur any fees as a result of such reimbursement.
We may withhold reimbursement until we have received the goods back, or you have supplied evidence of having sent back the goods, whichever is the earliest.
You shall send back the goods or hand them over to GoldBooks, Comfort, Texas, U.S.A., without undue delay and in any event not later than 14 days from the day on which you communicate your withdrawal from this contract to us. The deadline is met if you send back the goods before the period of 14 days has expired. You will have to bear the direct cost of returning the goods. You are only liable for any diminished value of the goods resulting from the handling other than what is necessary to establish the nature, characteristics and functioning of the goods.
Exceptions to the right of withdrawal
The right of withdrawal does not apply to:
- The delivery of newspapers, journals or magazines with the exception of subscription contracts; and
- The supply of digital content which is not supplied on a tangible medium (e.g. on a CD or DVD) if you accepted when you placed your order that we could start to deliver it, and that you could not withdraw once delivery had started.