full screen
Home > Computer & Internet > Computer programming / software development > Microsoft programming > Design Patterns in Swift 5
Design Patterns in Swift 5

Design Patterns in Swift 5


     3.6  |  5 Reviews 
5
4
3
2
1



International Edition


About the Book

Software developers need to solve various problems. Many times, these problems are the same or similar to the ones they've already encountered in other projects.

Wouldn't it be great to apply the solution you've found instead of reinventing the wheel over and over again?

That's precisely the reason why software design patterns exist. A design pattern is a standardized way to address a recurring problem. Relying on a proven strategy will not only save you time, but you can rest assured that it's indeed the right choice.

Design patterns are the result of a long evolution process. It all started with a book published in 1994 - yes, it's that old! - called "Design Patterns - Elements of Reusable Object-Oriented Software." That's a quite tedious title, so we usually refer to it as "the book by the gang of four." The gang consists of four renowned software engineers: Erich Gamma, Ralph Johnson, Richard Helm, and John Vlissides. They identified the most significant common issues that occurred in multiple projects and developed best practices to solve them.

The best part: these solutions are (programming) language-agnostic. You can use the design patterns with any object-oriented programming language.

Many modern programming languages and frameworks have integrated the GoF patterns. You don't have to write additional code to support say the Iterator or the Observer.

Swift is no exception: it provides many advanced language features and constructs such as type extensions, lazy initialization, and predefined protocols that let us adopt and integrate the design patterns into our projects easily.

This book covers all these topics and teaches best practices you can apply in your upcoming projects.

We'll talk about the benefits of understanding and applying the design patterns, the value they provide, and also about their limitations.

Then, we delve into the creational design patterns:

  • the Singleton,
  • the Prototype,
  • the Factory Method,
  • the Builder,
  • and the Abstract Factory design pattern

We're going to take a closer look at the structural design patterns. We discuss:

  • the Adapter,
  • the Decorator,
  • the Façade,
  • the Flyweight,
  • and the Proxy pattern

In the final part of this book, we discuss the behavioral design patterns:

  • the Chain of Responsibility,
  • the Iterator,
  • the Observer,
  • and we finish with the State design pattern

For each design pattern, we discuss the following:

  • When to use the specific design pattern?
  • How can it be implemented using Swift 5?
  • What are the challenges and pitfalls of using the given pattern?

Throughout the book, I provide coding examples that can be applied in real-world situations.

Károly Nyisztor is a veteran software engineer and instructor.

He has worked with large companies such as Apple, Siemens, and SAP. Károly has designed and built several enterprise frameworks, and he holds twelve patents related to inventions in the field of mobile computing.

After 18 years, he left the corporate world to start his own business.

Since 2016, he's fully committed to teaching. As an instructor, he aims to share his 20+ years of software development expertise. Károly teaches:

  • Software Architecture,
  • Object-Oriented Programming and Design
  • Swift and iOS Programming,
  • and other, programming-related topics

You can find Károly Nyisztor's courses and books on all major platforms including Amazon, Lynda, LinkedIn Learning, Pluralsight, Udemy, and iTunes.


Best Sellers



Product Details
  • ISBN-13: 9781091686519
  • Publisher: Independently Published
  • Publisher Imprint: Independently Published
  • Height: 229 mm
  • No of Pages: 276
  • Series Title: Swift Clinic
  • Sub Title: Learn how to implement the Gang of Four Design Patterns using Swift 5. Improve your coding skills.
  • Width: 152 mm
  • ISBN-10: 1091686513
  • Publisher Date: 26 Mar 2019
  • Binding: Paperback
  • Language: English
  • Returnable: N
  • Spine Width: 16 mm
  • Weight: 335 gr


Similar Products

Add Photo
Add Photo

Customer Reviews

     3.6  |  5 Reviews 
out of (%) reviewers recommend this product
Top Reviews
Rating Snapshot
Select a row below to filter reviews.
5
4
3
2
1
Average Customer Ratings
     3.6  |  5 Reviews 
00 of 0 Reviews
Sort by :
Active Filters

00 of 0 Reviews
SEARCH RESULTS
1–2 of 2 Reviews
    BoxerLover2 - 5 Days ago
    A Thrilling But Totally Believable Murder Mystery

    Read this in one evening. I had planned to do other things with my day, but it was impossible to put down. Every time I tried, I was drawn back to it in less than 5 minutes. I sobbed my eyes out the entire last 100 pages. Highly recommend!

    BoxerLover2 - 5 Days ago
    A Thrilling But Totally Believable Murder Mystery

    Read this in one evening. I had planned to do other things with my day, but it was impossible to put down. Every time I tried, I was drawn back to it in less than 5 minutes. I sobbed my eyes out the entire last 100 pages. Highly recommend!


Sample text
Photo of
    Media Viewer

    Sample text
    Reviews
    Reader Type:
    BoxerLover2
    00 of 0 review

    Your review was submitted!
    Design Patterns in Swift 5
    Independently Published -
    Design Patterns in Swift 5
    Writing guidlines
    We want to publish your review, so please:
    • keep your review on the product. Review's that defame author's character will be rejected.
    • Keep your review focused on the product.
    • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
    • Refrain from mentioning competitors or the specific price you paid for the product.
    • Do not include any personally identifiable information, such as full names.

    Design Patterns in Swift 5

    Required fields are marked with *

    Review Title*
    Review
      Add Photo Add up to 6 photos
      Would you recommend this product to a friend?
      Tag this Book Read more
      Does your review contain spoilers?
      What type of reader best describes you?
      I agree to the terms & conditions
      You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

      CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

      These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Booksbay (the "CRR Service").


      By submitting any content to Booksbay, you guarantee that:
      • You are the sole author and owner of the intellectual property rights in the content;
      • All "moral rights" that you may have in such content have been voluntarily waived by you;
      • All content that you post is accurate;
      • You are at least 13 years old;
      • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
      You further agree that you may not submit any content:
      • That is known by you to be false, inaccurate or misleading;
      • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
      • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
      • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
      • For which you were compensated or granted any consideration by any unapproved third party;
      • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
      • That contains any computer viruses, worms or other potentially damaging computer programs or files.
      You agree to indemnify and hold Booksbay (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


      For any content that you submit, you grant Booksbay a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Booksbay may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


      All content that you submit may be used at Booksbay's sole discretion. Booksbay reserves the right to change, condense, withhold publication, remove or delete any content on Booksbay's website that Booksbay deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Booksbay does not guarantee that you will have any recourse through Booksbay to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Booksbay reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Booksbay, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Booksbay, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

      Accept

      New Arrivals



      Inspired by your browsing history


      Your review has been submitted!

      You've already reviewed this product!