자료유형 | E-Book |
---|---|
개인저자 | Hoffman, Jon, (Software engineer) |
서명/저자사항 | Swift protocol-oriented programming :increase productivity and build faster applications with Swift 5 /Jon Hoffman. |
판사항 | Fourth edition. |
발행사항 | Birmingham : Packt Publishing, Limited, 2019. |
형태사항 | 1 online resource (217 pages) |
소장본 주기 | Added to collection customer.56279.3 |
ISBN | 1789343674 9781789343670 |
일반주기 |
Understanding the problem
|
내용주기 | Cover; Title Page; Copyright and Credits; About Packt; Contributors; 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 typesRecursive data types for reference types only; Inheritance for reference types only; Dynamic dispatch; Swift's built-in types; COW; 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; COW; Generics in a protocol-oriented design; Generics in the Swift standard library; Summary; Chapter 5: Memory Management How ARC worksStrong reference cycles; Unowned references; Weak references; Summary; Chapter 6: Object-Oriented Programming; What is object-oriented programming?; Requirements for the sample code; Swift as an object-oriented programming language; Class diagrams; Object-oriented design; Vehicle superclass; Vehicle subclasses; Polymorphism; Issues with object-oriented design; Summary; Chapter 7: Protocol-Oriented Programming; Requirements for the sample code; Swift as a protocol-oriented programming language; Protocol inheritance; Protocol composition; Protocol extensions; The Vehicle protocol Vehicle implementationsSummarizing 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 8: 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 solutionImplementing 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; The proxy design pattern; Understanding the problem; Understanding the solution; Implementing the proxy pattern; Behavioral design patterns; The command design pattern |
요약 | The Swift standard library is developed using protocol-oriented programming techniques, generics, and first-class value semantics; therefore it is important that every Swift developer understand these powerful concepts and how to take advantage of them. This book will demonstrate how to use protocol-oriented programming techniques to build ... |
일반주제명 | Swift (Computer program language) Application software -- Development. Application software -- Development. Swift (Computer program language) |
언어 | 영어 |
기타형태 저록 | Print version:Hoffman, Jon.Swift Protocol-Oriented Programming : Increase Productivity and Build Faster Applications with Swift 5, 4th Edition.Birmingham : Packt Publishing, Limited, 짤20199781789349023 |
대출바로가기 | http://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&db=nlabk&AN=2181412 |
인쇄
No. | 등록번호 | 청구기호 | 소장처 | 도서상태 | 반납예정일 | 예약 | 서비스 | 매체정보 |
---|---|---|---|---|---|---|---|---|
1 | WE00017193 | 005.13/3 | 가야대학교/전자책서버(컴퓨터서버)/ | 대출가능 |
![]() |