
Swift 2 Design Patterns
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
All prices
More details
Other editions
Additional editions

Person
Julien Lange is a 34-year-old IT expert in software engineering. He started developing on an Amstrad CPC464 with the BASIC language when he was 7 years old. He later learned Visual Basic 3/4, then VB.NET, and then C#. For several years until the end of his education, he developed and maintained several e-business websites based on PHP and ASP.NET. After his graduation, he continued to learn more and more about software, which included software architecture and project management, and always tried to acquire new skills. Since 2011, he has been working as an IT project manager on the lead management middleware of DSI Axa France (a French insurance company). This middleware is based on the SOA architecture. As this middleware is consumed by frontend users exposed on the Internet, performance is the top priority each time he delivers a new release of the system. Scalability and robustness are really important in his everyday work. He first developed an interest in mobile development in 2009. After discovering the massive potential of iPhone games and software, he decided to find an improved game engine, which would allow him to concentrate only on the main purpose of a game: developing a game and not a game engine. His choice was Unity 3D. Later, he took some time to learn the native iOS Objective-C language, which was quite difficult for him due to its language particularity and finally learned Swift since its first apparition in 2014. In addition to his main work as an IT consultant, he created iXGaming.com in December 2010. He currently has several projects in mind, including a game based on a French board game and a new website that delivers new services to developers. He is searching for a few partners to work with.
Content
- Cover
- Copyright
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Table of Contents
- Preface
- Chapter 1: Creational Patterns
- The prototype pattern
- Roles
- Design
- Participants
- Collaborations
- Illustration
- Implementation
- Usage
- The factory method pattern
- Roles
- Design
- Participants
- Illustration
- Implementation
- Usage
- The singleton pattern
- Roles
- Design
- Participants
- Collaborations
- Illustration
- Implementation
- Usage
- The abstract factory pattern
- Roles
- Design
- Participants
- Collaborations
- Illustration
- Implementation
- Usage
- The builder pattern
- Roles
- Design
- Participants
- Collaborations
- Illustration
- Implementation
- Usage
- Implementation using closures
- Summary
- Chapter 2: Structural Patterns - Decorator, Proxy, and Bridge
- Static and dynamic composition
- The decorator pattern
- Role
- Design
- Participants
- Collaboration
- Sample
- Implementation
- Usage
- The proxy pattern
- Role
- Design
- Participants
- Collaboration
- Illustration
- Implementation
- Usage
- The bridge pattern
- Role
- Design
- Participants
- Collaboration
- Illustration
- Implementation
- Usage
- Summary
- Chapter 3: Structural Patterns - Composite and Flyweight
- The composite pattern
- Roles
- Design
- Participants
- Collaboration
- Illustration
- Implementation
- Implementation of the VODComponent
- Implementation of the VODItem leaf
- Implementation of the VODCategory composite
- Usage
- The flyweight pattern
- Role
- Design
- Participants
- Collaboration
- Illustration
- Implementation
- Usage
- Performance results
- Summary
- Chapter 4: Structural Patterns - Adapter and Facade
- The adapter pattern
- Roles
- Design
- Participants
- Collaboration
- Illustration
- Implementing our first prototype
- Implementation
- Implementation of our adaptees
- Implementation of the SamSingAdapter class
- Implementation of the PearAdapter class
- The facade pattern
- Role
- Design
- Participants
- Collaboration
- Illustration
- Implementation of the facade
- Summary
- Chapter 5: Behavioral Patterns - Strategy, State, and Template Method
- The strategy pattern
- Roles
- Design
- Participants
- Collaboration
- Illustration
- Implementation
- The state pattern
- Role
- Design
- Participants
- Collaboration
- Illustration
- Implementation
- The template method
- Role
- Design
- Participants
- Collaboration
- Illustration
- Implementation
- Summary
- Chapter 6: Behavioral Patterns - Chain of Responsibility and Command
- The chain of responsibility pattern
- Roles
- Design
- Participants
- Collaboration
- Illustration
- Implementation
- The command pattern
- Roles
- Design
- Participants
- Collaboration
- Illustration
- Implementation
- Comparison between the chain of responsibility and command patterns
- Summary
- Chapter 7: Behavioral Patterns - Iterator, Mediator, and Observer Patterns
- The iterator pattern
- Roles
- Design
- Participants
- Collaboration
- Illustration
- Implementation
- The mediator pattern
- Roles
- Design
- Participants
- Collaboration
- Illustration
- Implementation
- The observer pattern
- Roles
- Design
- Participants
- Collaboration
- Illustration
- Implementation
- Summary
- Chapter 8: Behavioral Patterns - Visitor, Interpreter, and Memento
- The visitor pattern
- Roles
- Design
- Participants
- Collaboration
- Illustration
- Implementation
- The interpreter pattern
- Roles
- Design
- Participants
- Collaboration
- Illustration
- Implementation
- The memento pattern
- Roles
- Design
- Participants
- Collaboration
- Illustration
- Implementation
- Comparing the three patterns
- Summary
- Index
System requirements
File format: ePUB
Copy protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePub works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our ebook Help page.
File format: PDF
Copy-Protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our eBook Help page.