جزییات کتاب
Get up to speed with the protocol-oriented programming paradigm to ensure better code maintainability and increased performance with Swift programmingKey FeaturesUse protocol-oriented programming to enhance your applicationsUse generics to create flexible frameworksLearn how to implement common design patterns in a protocol-oriented wayBook DescriptionProtocol-oriented programming (POP) 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, which makes it important for every Swift developer to understand these core concepts and use them effectively. This updated fourth edition will help you get to grips with the latest version of the Swift programming language.You will start by understanding what protocol-oriented programming is and how it is different from other programming paradigms such as object-oriented programming. Next, the book will systematically guide you through memory management, before progressing to cover essential topics such as generics, Copy-On-Write, extensions, and protocols. As you advance, you'll focus on adopting design patterns in Swift. The concluding chapters will even demonstrate how you can use protocol-oriented programming techniques with the help of real-world use cases.By the end of this book, you will have learned how to use protocol-oriented programming techniques to build powerful and practical applications.What you will learnExplore the differences between object-oriented programming and protocol-oriented programmingUnderstand why value types should be prioritized over reference typesDelve into protocols, protocol inheritance, protocol composition, and protocol extensionsBecome well-versed with implementing COW (Copy-On-Write) within your custom value typesUnderstand how memory management works in Swift and how to avoid common pitfallsDesign applications by starting with the protocol rather than the implementationWho this book is forThis book is for Swift developers who have basic knowledge of the Swift programming language and are looking to understand how they can use protocol-oriented programming techniques in their applications.Table of ContentsStarting with the ProtocolOur Type ChoicesExtensionsGenericsMemory ManagementObject-Oriented ProgrammingProtocol-Oriented ProgrammingAdopting Design Patterns in SwiftCase Studies
درباره نویسنده
جان هومن، (به آلمانی: Jan Hommen) (زاده ۲۹ آوریل ۱۹۴۳) کارآفرین، بانکدار و مدیر ارشد اجرایی هلندی است، که در حال حاضر بهعنوان مدیر عامل اجرایی و رییس هیئت مدیره گروه آیانجی فعالیت مینماید.