skip to content
Hands-On Design Patterns with Swift : Master Swift Best Practices to Build Modular Applications for Mobile, Desktop, and Server Platforms. Preview this item
ClosePreview this item
Checking...

Hands-On Design Patterns with Swift : Master Swift Best Practices to Build Modular Applications for Mobile, Desktop, and Server Platforms.

Author: Florent Vilmart; Giordano Scalzo; Sergio De Simone
Publisher: Birmingham : Packt Publishing Ltd, 2018.
Edition/Format:   eBook : Document : EnglishView all editions and formats
Summary:
Swift is continuing to gain traction not only amongst mobile developers but also as a server-side language. This book demonstrates how to apply design patterns and best practices in real-life situations, for new or already existing projects. By the end of the book, you'll able to build applications that are scalable, faster and easier to maintain.
Rating:

(not yet rated) 0 with reviews - Be the first.

Subjects
More like this

Find a copy online

Links to this item

Find a copy in the library

&AllPage.SpinnerRetrieving; Finding libraries that hold this item...

Details

Genre/Form: Electronic books
Additional Physical Format: Print version:
Vilmart, Florent
Hands-On Design Patterns with Swift : Master Swift Best Practices to Build Modular Applications for Mobile, Desktop, and Server Platforms
Birmingham : Packt Publishing Ltd,c2018
Material Type: Document, Internet resource
Document Type: Internet Resource, Computer File
All Authors / Contributors: Florent Vilmart; Giordano Scalzo; Sergio De Simone
ISBN: 9781789138511 1789138515
OCLC Number: 1081000845
Notes: Description based upon print version of record.
Using the abstract factory pattern
Description: 1 online resource (401 p.)
Contents: Cover; Title Page; Copyright and Credits; About Packt; Contributors; Table of Contents; Preface; Chapter 1: Refreshing the Basics; Classes and structs; Classes; Struct; Enums; Simple enums; Adding methods; Associating values; Generic enums; Raw type enums; Switching the state of light; Closures, functions, and currying; Currying; Using closures as callbacks; Using weak and unowned; Protocols; Declaring a protocol; Conforming to a protocol; Conformance at declaration; Conformance in an extension; Protocol extensions; Default implementations; Tuples, type aliases, and generics; Tuples Declaring tuplesDestructuring tuples; Using tuples in functions; Type aliases; Generics; Generic functions; Generic types; Generics, protocols, and associated types; Summary; Chapter 2: Understanding ARC and Memory Management; A brief history of reference counting; The semantics of reference counting; Retain; Release; Assign; Copying; Using and misusing manual reference counting; Memory leaks; Dangling pointers; ARC --
what is that?; Value types; Strong references; Weak references; Unowned references; Memory debugging; Configuring your project; Using the memory graph hierarchy tool Leaks, cycles, and dangling referencesLeaking with cycles; A simple leak; Fixing the leak; Using weak; Using unowned; Dangling references; Summary; Chapter 3: Diving into Foundation and the Standard Library; Swift basic types; Working with ranges; Range as Sequence; Throwing and catching errors; Container types; Arrays; Mutability and operations; Iterating, mapping, and reducing; Dictionaries; Initialization and mutability; Iterating, mapping, and reducing; Mastering concurrency with Dispatch; Tasks and queues; Synchronization with Dispatch; Thread safety through serial queues Organizing execution with groups and semaphoresExample of a counting semaphore; Using groups; HTTP with URLSession; Making your first call with URLSession; Parsing responses with Decodable; Sending requests with Encodable; Summary; Chapter 4: Working with Objective-C in a Mixed Code Base; Setting up your project; Importing Objective-C in Swift; Exposing Swift to Objective-C; Nullability and optionals in Objective-C; Using NS_ASSUME_NON_NULL_BEGIN and NS_ASSSUME_NON_NULL_END; Using nullable, nonnull, _Nullable, and _Nonnull; Naming, renaming, and refining Objective-C for Swift Setting Objective-C names from SwiftSetting Swift names from Objective-C; Renaming classes; Renaming methods and enum cases; Lightweight generics in Objective-C; Using typed NSArray* in Objective-C; Generic classes in Objective-C; Cocoa design patterns in Swift; Delegation; Using delegation; Implementing delegation ; Lazy initialization; Summary; Chapter 5: Creational Patterns; The singleton pattern ; Using singletons; Singletons in a nutshell; The factory method pattern; Using the factory method pattern; Advanced usage of the factory method pattern; Wrapping up; The abstract factory pattern

Abstract:

Swift is continuing to gain traction not only amongst mobile developers but also as a server-side language. This book demonstrates how to apply design patterns and best practices in real-life situations, for new or already existing projects. By the end of the book, you'll able to build applications that are scalable, faster and easier to maintain.

Reviews

User-contributed reviews
Retrieving GoodReads reviews...
Retrieving DOGObooks reviews...

Tags

Be the first.

Similar Items

Confirm this request

You may have already requested this item. Please select Ok if you would like to proceed with this request anyway.

Linked Data


Primary Entity

<http://www.worldcat.org/oclc/1081000845> # Hands-On Design Patterns with Swift Master Swift Best Practices to Build Modular Applications for Mobile, Desktop, and Server Platforms.
    a schema:Book, schema:CreativeWork, schema:MediaObject ;
    library:oclcnum "1081000845" ;
    library:placeOfPublication <http://experiment.worldcat.org/entity/work/data/5591040257#Place/birmingham> ; # Birmingham
    schema:about <http://experiment.worldcat.org/entity/work/data/5591040257#Topic/computer_software_development> ; # Computer software--Development
    schema:about <http://experiment.worldcat.org/entity/work/data/5591040257#Topic/swift> ; # Swift
    schema:bookFormat schema:EBook ;
    schema:contributor <http://experiment.worldcat.org/entity/work/data/5591040257#Person/scalzo_giordano> ; # Giordano Scalzo
    schema:contributor <http://experiment.worldcat.org/entity/work/data/5591040257#Person/de_simone_sergio> ; # Sergio De Simone
    schema:creator <http://experiment.worldcat.org/entity/work/data/5591040257#Person/vilmart_florent> ; # Florent Vilmart
    schema:datePublished "2018" ;
    schema:description "Cover; Title Page; Copyright and Credits; About Packt; Contributors; Table of Contents; Preface; Chapter 1: Refreshing the Basics; Classes and structs; Classes; Struct; Enums; Simple enums; Adding methods; Associating values; Generic enums; Raw type enums; Switching the state of light; Closures, functions, and currying; Currying; Using closures as callbacks; Using weak and unowned; Protocols; Declaring a protocol; Conforming to a protocol; Conformance at declaration; Conformance in an extension; Protocol extensions; Default implementations; Tuples, type aliases, and generics; Tuples"@en ;
    schema:description "Swift is continuing to gain traction not only amongst mobile developers but also as a server-side language. This book demonstrates how to apply design patterns and best practices in real-life situations, for new or already existing projects. By the end of the book, you'll able to build applications that are scalable, faster and easier to maintain."@en ;
    schema:exampleOfWork <http://worldcat.org/entity/work/id/5591040257> ;
    schema:genre "Electronic books"@en ;
    schema:inLanguage "en" ;
    schema:isSimilarTo <http://worldcat.org/entity/work/data/5591040257#CreativeWork/hands_on_design_patterns_with_swift_master_swift_best_practices_to_build_modular_applications_for_mobile_desktop_and_server_platforms> ;
    schema:name "Hands-On Design Patterns with Swift Master Swift Best Practices to Build Modular Applications for Mobile, Desktop, and Server Platforms."@en ;
    schema:productID "1081000845" ;
    schema:publication <http://www.worldcat.org/title/-/oclc/1081000845#PublicationEvent/birmingham_packt_publishing_ltd_2018> ;
    schema:publisher <http://experiment.worldcat.org/entity/work/data/5591040257#Agent/packt_publishing_ltd> ; # Packt Publishing Ltd
    schema:url <http://public.eblib.com/choice/PublicFullRecord.aspx?p=5626635> ;
    schema:workExample <http://worldcat.org/isbn/9781789138511> ;
    wdrs:describedby <http://www.worldcat.org/title/-/oclc/1081000845> ;
    .


Related Entities

<http://experiment.worldcat.org/entity/work/data/5591040257#Agent/packt_publishing_ltd> # Packt Publishing Ltd
    a bgn:Agent ;
    schema:name "Packt Publishing Ltd" ;
    .

<http://experiment.worldcat.org/entity/work/data/5591040257#Person/de_simone_sergio> # Sergio De Simone
    a schema:Person ;
    schema:familyName "De Simone" ;
    schema:givenName "Sergio" ;
    schema:name "Sergio De Simone" ;
    .

<http://experiment.worldcat.org/entity/work/data/5591040257#Person/scalzo_giordano> # Giordano Scalzo
    a schema:Person ;
    schema:familyName "Scalzo" ;
    schema:givenName "Giordano" ;
    schema:name "Giordano Scalzo" ;
    .

<http://experiment.worldcat.org/entity/work/data/5591040257#Person/vilmart_florent> # Florent Vilmart
    a schema:Person ;
    schema:familyName "Vilmart" ;
    schema:givenName "Florent" ;
    schema:name "Florent Vilmart" ;
    .

<http://experiment.worldcat.org/entity/work/data/5591040257#Topic/computer_software_development> # Computer software--Development
    a schema:Intangible ;
    schema:name "Computer software--Development"@en ;
    .

<http://worldcat.org/entity/work/data/5591040257#CreativeWork/hands_on_design_patterns_with_swift_master_swift_best_practices_to_build_modular_applications_for_mobile_desktop_and_server_platforms>
    a schema:CreativeWork ;
    rdfs:label "Hands-On Design Patterns with Swift : Master Swift Best Practices to Build Modular Applications for Mobile, Desktop, and Server Platforms" ;
    schema:description "Print version:" ;
    schema:isSimilarTo <http://www.worldcat.org/oclc/1081000845> ; # Hands-On Design Patterns with Swift Master Swift Best Practices to Build Modular Applications for Mobile, Desktop, and Server Platforms.
    .

<http://worldcat.org/isbn/9781789138511>
    a schema:ProductModel ;
    schema:isbn "1789138515" ;
    schema:isbn "9781789138511" ;
    .

<http://www.worldcat.org/title/-/oclc/1081000845>
    a genont:InformationResource, genont:ContentTypeGenericResource ;
    schema:about <http://www.worldcat.org/oclc/1081000845> ; # Hands-On Design Patterns with Swift Master Swift Best Practices to Build Modular Applications for Mobile, Desktop, and Server Platforms.
    schema:dateModified "2019-05-16" ;
    void:inDataset <http://purl.oclc.org/dataset/WorldCat> ;
    .


Content-negotiable representations

Close Window

Please sign in to WorldCat 

Don't have an account? You can easily create a free account.