Object-oriented programming with Swift 2 :: get to grips with object-oriented programming with Swift to efficiently build powerful real-world applications /
Annotation
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Elektronisch E-Book |
Sprache: | English |
Veröffentlicht: |
Birmingham, UK :
Packt Publishing,
2016.
|
Schriftenreihe: | Community experience distilled.
|
Schlagworte: | |
Online-Zugang: | Volltext |
Zusammenfassung: | Annotation |
Beschreibung: | Includes index. |
Beschreibung: | 1 online resource : illustrations |
ISBN: | 9781785884801 1785884808 |
Internformat
MARC
LEADER | 00000cam a2200000 i 4500 | ||
---|---|---|---|
001 | ZDB-4-EBA-ocn939394725 | ||
003 | OCoLC | ||
005 | 20241004212047.0 | ||
006 | m o d | ||
007 | cr cnu---unuuu | ||
008 | 160215s2016 enka o 001 0 eng d | ||
040 | |a UMI |b eng |e rda |e pn |c UMI |d OCLCF |d TEFOD |d REB |d DEBBG |d DEBSZ |d CEF |d OCLCQ |d NLE |d UKMGB |d N$T |d AGLDB |d IGB |d AUW |d BTN |d INTCL |d MHW |d SNK |d UKAHL |d RDF |d K6U |d OCLCO |d OCLCQ |d QGK |d OCLCO |d INARC |d OCLCQ |d OCLCL |d UPM |d OCLCQ | ||
015 | |a GBB6G3500 |2 bnb | ||
016 | 7 | |a 018010622 |2 Uk | |
019 | |a 1259166635 | ||
020 | |a 9781785884801 |q (electronic bk.) | ||
020 | |a 1785884808 |q (electronic bk.) | ||
020 | |z 9781785885693 | ||
020 | |z 1785885693 | ||
035 | |a (OCoLC)939394725 |z (OCoLC)1259166635 | ||
050 | 4 | |a QA76.64 | |
072 | 7 | |a COM |x 051210 |2 bisacsh | |
082 | 7 | |a 005.13/3 |2 23 | |
049 | |a MAIN | ||
100 | 1 | |a Hillar, Gastón C. |q (Gastón Carlos), |e author. |0 http://id.loc.gov/authorities/names/no2011060334 | |
245 | 1 | 0 | |a Object-oriented programming with Swift 2 : |b get to grips with object-oriented programming with Swift to efficiently build powerful real-world applications / |c Gastón C. Hillar. |
264 | 1 | |a Birmingham, UK : |b Packt Publishing, |c 2016. | |
300 | |a 1 online resource : |b illustrations | ||
336 | |a text |b txt |2 rdacontent | ||
337 | |a computer |b c |2 rdamedia | ||
338 | |a online resource |b cr |2 rdacarrier | ||
490 | 1 | |a Community experience distilled | |
588 | 0 | |a Online resource; title from cover page (Safari, viewed February 12, 2016). | |
500 | |a Includes index. | ||
520 | 8 | |a Annotation |b Get to grips with object-oriented programming in Swift to efficiently build powerful real-world applicationsAbout This Book Leverage the most efficient object-oriented design patterns in your Swift applications Write robust, safer, and better code using the blueprints that generate objects Build a platform with object-oriented code by using real-world elements and represent them in your appWho This Book Is ForIf you are an iOS developer who has a basic idea of object-oriented programming and want to incorporate its concepts with Swift to optimize your application's code and create reusable and easily to understand building blocks, then this book is for you. This is a very useful resource for developers who want to shift from Objective C, C#, Java, Python, JavaScript, or other object-oriented languages to SwiftWhat You Will Learn Build solid, stable, and reliable applications using Swift Work with encapsulation, abstraction, and polymorphism using Swift 2.0 Customize constructors and destructors based on your needs Develop Swift 2.0 with classes, instances, properties, and methods Take advantage of generic code to maximize code reuse and generalize behaviors Use state of inheritance, specialization, and the possibility to overload members Write high quality object-oriented code to build apps for iOS or Mac OS XIn DetailObject-Oriented Programming (OOP) is a programming paradigm based on the concept of objects; these are data structures that contain data in the form of fields, often known as attributes and code. Objects are everywhere, and so it is very important to recognize elements, known as objects, from real-world situations and know how they can easily be translated into object-oriented code. Object-Oriented Programming with Swift is an easy-to-follow guide packed full of hands-on examples of solutions to common problems encountered with object-oriented code in Swift. It starts by helping you to recognize objects using real-life scenarios and demonstrates how working with them makes it simpler to write code that is easy to understand and reuse. You will learn to protect and hide data with the data encapsulation features of Swift. Then, you will explore how to maximize code reuse by writing code capable of working with objects of different types. After that, you'll discover the power of parametric polymorphism and will combine generic code with inheritance and multiple inheritance. Later, you move on to refactoring your existing code and organizing your source for easy maintenance and extensions. By the end of the book, you will be able to create better, stronger, and more reusable code, which will help you build better applications. Style and approachThis simple guide is packed with practical examples of solutions to common problems. Each chapter includes exercises and the possibility for you to test your progress by answering questions. | |
505 | 0 | |a Cover ; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Objects from the Real World to the Playground; Installing the required software; Capturing objects from the real world; Generating classes to create objects; Recognizing variables and constants to create properties; Recognizing actions to create methods; Organizing classes with UML diagrams; Working with API objects in the Xcode Playground; Exercises; Test your knowledge; Summary; Chapter 2 : Structures, Classes, and Instances | |
505 | 8 | |a Understanding structures, classes, and instancesUnderstanding initialization and its customization; Understanding deinitialization and its customization; Understanding automatic reference counting; Declaring classes; Customizing initialization; Customizing deinitialization; Creating the instances of classes; Exercises; Test your knowledge; Summary; Chapter 3 : Encapsulation of Data with Properties; Understanding the elements that compose a class; Declaring stored properties; Generating computed properties with setters and getters; Combining setters, getters, and a related property | |
505 | 8 | |a Understanding property observersTransforming values with setters and getters; Using type properties to create values shared by all the instances of a class; Creating mutable classes; Building immutable classes; Exercises; Test your knowledge; Summary; Chapter 4 : Inheritance, Abstraction, and Specialization; Creating class hierarchies to abstract and specialize behavior; Understanding inheritance; Declaring classes that inherit from another class; Overriding and overloading methods; Overriding properties; Controlling whether subclasses can or cannot override members | |
505 | 8 | |a Working with typecasting and polymorphismTaking advantage of operator overloading; Declaring operator functions for specific subclasses; Exercises; Test your knowledge; Summary; Chapter 5 : Contract Programming with Protocols; Understanding how protocols work in combination with classes; Declaring protocols; Declaring classes that adopt protocols; Taking advantage of the multiple inheritance of protocols; Combining inheritance and protocols; Working with methods that receive protocols as arguments; Downcasting with protocols and classes | |
505 | 8 | |a Treating instances of a protocol type as a different subclassSpecifying requirements for properties; Specifying requirements for methods; Combining class inheritance with protocol inheritance; Exercises; Test your knowledge; Summary; Chapter 6 : Maximization of Code Reuse with Generic Code; Understanding parametric polymorphism and generic code; Declaring a protocol to be used as a constraint; Declaring a class that conforms to multiple protocols; Declaring subclasses that inherit the conformance to protocols; Declaring a class that works with a constrained generic type | |
650 | 0 | |a Object-oriented programming (Computer science) |0 http://id.loc.gov/authorities/subjects/sh87007503 | |
650 | 0 | |a Swift (Computer program language) |0 http://id.loc.gov/authorities/subjects/sh2015001571 | |
650 | 0 | |a Computer software |x Development. |0 http://id.loc.gov/authorities/subjects/sh85029535 | |
650 | 6 | |a Programmation orientée objet (Informatique) | |
650 | 6 | |a Swift (Langage de programmation) | |
650 | 7 | |a COMPUTERS |x Programming |x Object Oriented. |2 bisacsh | |
650 | 7 | |a Computer software |x Development |2 fast | |
650 | 7 | |a Object-oriented programming (Computer science) |2 fast | |
650 | 7 | |a Swift (Computer program language) |2 fast | |
758 | |i has work: |a Object-oriented programming with Swift 2 (Text) |1 https://id.oclc.org/worldcat/entity/E39PCGc9JMkDtrMhqqCfb3wvh3 |4 https://id.oclc.org/worldcat/ontology/hasWork | ||
776 | |z 1-78588-569-3 | ||
830 | 0 | |a Community experience distilled. |0 http://id.loc.gov/authorities/names/no2011030603 | |
856 | 4 | 0 | |l FWS01 |p ZDB-4-EBA |q FWS_PDA_EBA |u https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=1163376 |3 Volltext |
938 | |a Internet Archive |b INAR |n objectorientedpr0000hill | ||
938 | |a Askews and Holts Library Services |b ASKH |n AH30053566 | ||
938 | |a EBSCOhost |b EBSC |n 1163376 | ||
994 | |a 92 |b GEBAY | ||
912 | |a ZDB-4-EBA | ||
049 | |a DE-863 |
Datensatz im Suchindex
DE-BY-FWS_katkey | ZDB-4-EBA-ocn939394725 |
---|---|
_version_ | 1816882339761881088 |
adam_text | |
any_adam_object | |
author | Hillar, Gastón C. (Gastón Carlos) |
author_GND | http://id.loc.gov/authorities/names/no2011060334 |
author_facet | Hillar, Gastón C. (Gastón Carlos) |
author_role | aut |
author_sort | Hillar, Gastón C. |
author_variant | g c h gc gch |
building | Verbundindex |
bvnumber | localFWS |
callnumber-first | Q - Science |
callnumber-label | QA76 |
callnumber-raw | QA76.64 |
callnumber-search | QA76.64 |
callnumber-sort | QA 276.64 |
callnumber-subject | QA - Mathematics |
collection | ZDB-4-EBA |
contents | Cover ; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Objects from the Real World to the Playground; Installing the required software; Capturing objects from the real world; Generating classes to create objects; Recognizing variables and constants to create properties; Recognizing actions to create methods; Organizing classes with UML diagrams; Working with API objects in the Xcode Playground; Exercises; Test your knowledge; Summary; Chapter 2 : Structures, Classes, and Instances Understanding structures, classes, and instancesUnderstanding initialization and its customization; Understanding deinitialization and its customization; Understanding automatic reference counting; Declaring classes; Customizing initialization; Customizing deinitialization; Creating the instances of classes; Exercises; Test your knowledge; Summary; Chapter 3 : Encapsulation of Data with Properties; Understanding the elements that compose a class; Declaring stored properties; Generating computed properties with setters and getters; Combining setters, getters, and a related property Understanding property observersTransforming values with setters and getters; Using type properties to create values shared by all the instances of a class; Creating mutable classes; Building immutable classes; Exercises; Test your knowledge; Summary; Chapter 4 : Inheritance, Abstraction, and Specialization; Creating class hierarchies to abstract and specialize behavior; Understanding inheritance; Declaring classes that inherit from another class; Overriding and overloading methods; Overriding properties; Controlling whether subclasses can or cannot override members Working with typecasting and polymorphismTaking advantage of operator overloading; Declaring operator functions for specific subclasses; Exercises; Test your knowledge; Summary; Chapter 5 : Contract Programming with Protocols; Understanding how protocols work in combination with classes; Declaring protocols; Declaring classes that adopt protocols; Taking advantage of the multiple inheritance of protocols; Combining inheritance and protocols; Working with methods that receive protocols as arguments; Downcasting with protocols and classes Treating instances of a protocol type as a different subclassSpecifying requirements for properties; Specifying requirements for methods; Combining class inheritance with protocol inheritance; Exercises; Test your knowledge; Summary; Chapter 6 : Maximization of Code Reuse with Generic Code; Understanding parametric polymorphism and generic code; Declaring a protocol to be used as a constraint; Declaring a class that conforms to multiple protocols; Declaring subclasses that inherit the conformance to protocols; Declaring a class that works with a constrained generic type |
ctrlnum | (OCoLC)939394725 |
dewey-full | 005.13/3 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 005 - Computer programming, programs, data, security |
dewey-raw | 005.13/3 |
dewey-search | 005.13/3 |
dewey-sort | 15.13 13 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik |
format | Electronic eBook |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>08661cam a2200649 i 4500</leader><controlfield tag="001">ZDB-4-EBA-ocn939394725</controlfield><controlfield tag="003">OCoLC</controlfield><controlfield tag="005">20241004212047.0</controlfield><controlfield tag="006">m o d </controlfield><controlfield tag="007">cr cnu---unuuu</controlfield><controlfield tag="008">160215s2016 enka o 001 0 eng d</controlfield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">UMI</subfield><subfield code="b">eng</subfield><subfield code="e">rda</subfield><subfield code="e">pn</subfield><subfield code="c">UMI</subfield><subfield code="d">OCLCF</subfield><subfield code="d">TEFOD</subfield><subfield code="d">REB</subfield><subfield code="d">DEBBG</subfield><subfield code="d">DEBSZ</subfield><subfield code="d">CEF</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">NLE</subfield><subfield code="d">UKMGB</subfield><subfield code="d">N$T</subfield><subfield code="d">AGLDB</subfield><subfield code="d">IGB</subfield><subfield code="d">AUW</subfield><subfield code="d">BTN</subfield><subfield code="d">INTCL</subfield><subfield code="d">MHW</subfield><subfield code="d">SNK</subfield><subfield code="d">UKAHL</subfield><subfield code="d">RDF</subfield><subfield code="d">K6U</subfield><subfield code="d">OCLCO</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">QGK</subfield><subfield code="d">OCLCO</subfield><subfield code="d">INARC</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">OCLCL</subfield><subfield code="d">UPM</subfield><subfield code="d">OCLCQ</subfield></datafield><datafield tag="015" ind1=" " ind2=" "><subfield code="a">GBB6G3500</subfield><subfield code="2">bnb</subfield></datafield><datafield tag="016" ind1="7" ind2=" "><subfield code="a">018010622</subfield><subfield code="2">Uk</subfield></datafield><datafield tag="019" ind1=" " ind2=" "><subfield code="a">1259166635</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781785884801</subfield><subfield code="q">(electronic bk.)</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">1785884808</subfield><subfield code="q">(electronic bk.)</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="z">9781785885693</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="z">1785885693</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)939394725</subfield><subfield code="z">(OCoLC)1259166635</subfield></datafield><datafield tag="050" ind1=" " ind2="4"><subfield code="a">QA76.64</subfield></datafield><datafield tag="072" ind1=" " ind2="7"><subfield code="a">COM</subfield><subfield code="x">051210</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="082" ind1="7" ind2=" "><subfield code="a">005.13/3</subfield><subfield code="2">23</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">MAIN</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Hillar, Gastón C.</subfield><subfield code="q">(Gastón Carlos),</subfield><subfield code="e">author.</subfield><subfield code="0">http://id.loc.gov/authorities/names/no2011060334</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Object-oriented programming with Swift 2 :</subfield><subfield code="b">get to grips with object-oriented programming with Swift to efficiently build powerful real-world applications /</subfield><subfield code="c">Gastón C. Hillar.</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Birmingham, UK :</subfield><subfield code="b">Packt Publishing,</subfield><subfield code="c">2016.</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">1 online resource :</subfield><subfield code="b">illustrations</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="a">text</subfield><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="a">computer</subfield><subfield code="b">c</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="a">online resource</subfield><subfield code="b">cr</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="490" ind1="1" ind2=" "><subfield code="a">Community experience distilled</subfield></datafield><datafield tag="588" ind1="0" ind2=" "><subfield code="a">Online resource; title from cover page (Safari, viewed February 12, 2016).</subfield></datafield><datafield tag="500" ind1=" " ind2=" "><subfield code="a">Includes index.</subfield></datafield><datafield tag="520" ind1="8" ind2=" "><subfield code="a">Annotation</subfield><subfield code="b">Get to grips with object-oriented programming in Swift to efficiently build powerful real-world applicationsAbout This Book Leverage the most efficient object-oriented design patterns in your Swift applications Write robust, safer, and better code using the blueprints that generate objects Build a platform with object-oriented code by using real-world elements and represent them in your appWho This Book Is ForIf you are an iOS developer who has a basic idea of object-oriented programming and want to incorporate its concepts with Swift to optimize your application's code and create reusable and easily to understand building blocks, then this book is for you. This is a very useful resource for developers who want to shift from Objective C, C#, Java, Python, JavaScript, or other object-oriented languages to SwiftWhat You Will Learn Build solid, stable, and reliable applications using Swift Work with encapsulation, abstraction, and polymorphism using Swift 2.0 Customize constructors and destructors based on your needs Develop Swift 2.0 with classes, instances, properties, and methods Take advantage of generic code to maximize code reuse and generalize behaviors Use state of inheritance, specialization, and the possibility to overload members Write high quality object-oriented code to build apps for iOS or Mac OS XIn DetailObject-Oriented Programming (OOP) is a programming paradigm based on the concept of objects; these are data structures that contain data in the form of fields, often known as attributes and code. Objects are everywhere, and so it is very important to recognize elements, known as objects, from real-world situations and know how they can easily be translated into object-oriented code. Object-Oriented Programming with Swift is an easy-to-follow guide packed full of hands-on examples of solutions to common problems encountered with object-oriented code in Swift. It starts by helping you to recognize objects using real-life scenarios and demonstrates how working with them makes it simpler to write code that is easy to understand and reuse. You will learn to protect and hide data with the data encapsulation features of Swift. Then, you will explore how to maximize code reuse by writing code capable of working with objects of different types. After that, you'll discover the power of parametric polymorphism and will combine generic code with inheritance and multiple inheritance. Later, you move on to refactoring your existing code and organizing your source for easy maintenance and extensions. By the end of the book, you will be able to create better, stronger, and more reusable code, which will help you build better applications. Style and approachThis simple guide is packed with practical examples of solutions to common problems. Each chapter includes exercises and the possibility for you to test your progress by answering questions.</subfield></datafield><datafield tag="505" ind1="0" ind2=" "><subfield code="a">Cover ; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Objects from the Real World to the Playground; Installing the required software; Capturing objects from the real world; Generating classes to create objects; Recognizing variables and constants to create properties; Recognizing actions to create methods; Organizing classes with UML diagrams; Working with API objects in the Xcode Playground; Exercises; Test your knowledge; Summary; Chapter 2 : Structures, Classes, and Instances</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">Understanding structures, classes, and instancesUnderstanding initialization and its customization; Understanding deinitialization and its customization; Understanding automatic reference counting; Declaring classes; Customizing initialization; Customizing deinitialization; Creating the instances of classes; Exercises; Test your knowledge; Summary; Chapter 3 : Encapsulation of Data with Properties; Understanding the elements that compose a class; Declaring stored properties; Generating computed properties with setters and getters; Combining setters, getters, and a related property</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">Understanding property observersTransforming values with setters and getters; Using type properties to create values shared by all the instances of a class; Creating mutable classes; Building immutable classes; Exercises; Test your knowledge; Summary; Chapter 4 : Inheritance, Abstraction, and Specialization; Creating class hierarchies to abstract and specialize behavior; Understanding inheritance; Declaring classes that inherit from another class; Overriding and overloading methods; Overriding properties; Controlling whether subclasses can or cannot override members</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">Working with typecasting and polymorphismTaking advantage of operator overloading; Declaring operator functions for specific subclasses; Exercises; Test your knowledge; Summary; Chapter 5 : Contract Programming with Protocols; Understanding how protocols work in combination with classes; Declaring protocols; Declaring classes that adopt protocols; Taking advantage of the multiple inheritance of protocols; Combining inheritance and protocols; Working with methods that receive protocols as arguments; Downcasting with protocols and classes</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">Treating instances of a protocol type as a different subclassSpecifying requirements for properties; Specifying requirements for methods; Combining class inheritance with protocol inheritance; Exercises; Test your knowledge; Summary; Chapter 6 : Maximization of Code Reuse with Generic Code; Understanding parametric polymorphism and generic code; Declaring a protocol to be used as a constraint; Declaring a class that conforms to multiple protocols; Declaring subclasses that inherit the conformance to protocols; Declaring a class that works with a constrained generic type</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Object-oriented programming (Computer science)</subfield><subfield code="0">http://id.loc.gov/authorities/subjects/sh87007503</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Swift (Computer program language)</subfield><subfield code="0">http://id.loc.gov/authorities/subjects/sh2015001571</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Computer software</subfield><subfield code="x">Development.</subfield><subfield code="0">http://id.loc.gov/authorities/subjects/sh85029535</subfield></datafield><datafield tag="650" ind1=" " ind2="6"><subfield code="a">Programmation orientée objet (Informatique)</subfield></datafield><datafield tag="650" ind1=" " ind2="6"><subfield code="a">Swift (Langage de programmation)</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">COMPUTERS</subfield><subfield code="x">Programming</subfield><subfield code="x">Object Oriented.</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Computer software</subfield><subfield code="x">Development</subfield><subfield code="2">fast</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Object-oriented programming (Computer science)</subfield><subfield code="2">fast</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Swift (Computer program language)</subfield><subfield code="2">fast</subfield></datafield><datafield tag="758" ind1=" " ind2=" "><subfield code="i">has work:</subfield><subfield code="a">Object-oriented programming with Swift 2 (Text)</subfield><subfield code="1">https://id.oclc.org/worldcat/entity/E39PCGc9JMkDtrMhqqCfb3wvh3</subfield><subfield code="4">https://id.oclc.org/worldcat/ontology/hasWork</subfield></datafield><datafield tag="776" ind1=" " ind2=" "><subfield code="z">1-78588-569-3</subfield></datafield><datafield tag="830" ind1=" " ind2="0"><subfield code="a">Community experience distilled.</subfield><subfield code="0">http://id.loc.gov/authorities/names/no2011030603</subfield></datafield><datafield tag="856" ind1="4" ind2="0"><subfield code="l">FWS01</subfield><subfield code="p">ZDB-4-EBA</subfield><subfield code="q">FWS_PDA_EBA</subfield><subfield code="u">https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=1163376</subfield><subfield code="3">Volltext</subfield></datafield><datafield tag="938" ind1=" " ind2=" "><subfield code="a">Internet Archive</subfield><subfield code="b">INAR</subfield><subfield code="n">objectorientedpr0000hill</subfield></datafield><datafield tag="938" ind1=" " ind2=" "><subfield code="a">Askews and Holts Library Services</subfield><subfield code="b">ASKH</subfield><subfield code="n">AH30053566</subfield></datafield><datafield tag="938" ind1=" " ind2=" "><subfield code="a">EBSCOhost</subfield><subfield code="b">EBSC</subfield><subfield code="n">1163376</subfield></datafield><datafield tag="994" ind1=" " ind2=" "><subfield code="a">92</subfield><subfield code="b">GEBAY</subfield></datafield><datafield tag="912" ind1=" " ind2=" "><subfield code="a">ZDB-4-EBA</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-863</subfield></datafield></record></collection> |
id | ZDB-4-EBA-ocn939394725 |
illustrated | Illustrated |
indexdate | 2024-11-27T13:27:03Z |
institution | BVB |
isbn | 9781785884801 1785884808 |
language | English |
oclc_num | 939394725 |
open_access_boolean | |
owner | MAIN DE-863 DE-BY-FWS |
owner_facet | MAIN DE-863 DE-BY-FWS |
physical | 1 online resource : illustrations |
psigel | ZDB-4-EBA |
publishDate | 2016 |
publishDateSearch | 2016 |
publishDateSort | 2016 |
publisher | Packt Publishing, |
record_format | marc |
series | Community experience distilled. |
series2 | Community experience distilled |
spelling | Hillar, Gastón C. (Gastón Carlos), author. http://id.loc.gov/authorities/names/no2011060334 Object-oriented programming with Swift 2 : get to grips with object-oriented programming with Swift to efficiently build powerful real-world applications / Gastón C. Hillar. Birmingham, UK : Packt Publishing, 2016. 1 online resource : illustrations text txt rdacontent computer c rdamedia online resource cr rdacarrier Community experience distilled Online resource; title from cover page (Safari, viewed February 12, 2016). Includes index. Annotation Get to grips with object-oriented programming in Swift to efficiently build powerful real-world applicationsAbout This Book Leverage the most efficient object-oriented design patterns in your Swift applications Write robust, safer, and better code using the blueprints that generate objects Build a platform with object-oriented code by using real-world elements and represent them in your appWho This Book Is ForIf you are an iOS developer who has a basic idea of object-oriented programming and want to incorporate its concepts with Swift to optimize your application's code and create reusable and easily to understand building blocks, then this book is for you. This is a very useful resource for developers who want to shift from Objective C, C#, Java, Python, JavaScript, or other object-oriented languages to SwiftWhat You Will Learn Build solid, stable, and reliable applications using Swift Work with encapsulation, abstraction, and polymorphism using Swift 2.0 Customize constructors and destructors based on your needs Develop Swift 2.0 with classes, instances, properties, and methods Take advantage of generic code to maximize code reuse and generalize behaviors Use state of inheritance, specialization, and the possibility to overload members Write high quality object-oriented code to build apps for iOS or Mac OS XIn DetailObject-Oriented Programming (OOP) is a programming paradigm based on the concept of objects; these are data structures that contain data in the form of fields, often known as attributes and code. Objects are everywhere, and so it is very important to recognize elements, known as objects, from real-world situations and know how they can easily be translated into object-oriented code. Object-Oriented Programming with Swift is an easy-to-follow guide packed full of hands-on examples of solutions to common problems encountered with object-oriented code in Swift. It starts by helping you to recognize objects using real-life scenarios and demonstrates how working with them makes it simpler to write code that is easy to understand and reuse. You will learn to protect and hide data with the data encapsulation features of Swift. Then, you will explore how to maximize code reuse by writing code capable of working with objects of different types. After that, you'll discover the power of parametric polymorphism and will combine generic code with inheritance and multiple inheritance. Later, you move on to refactoring your existing code and organizing your source for easy maintenance and extensions. By the end of the book, you will be able to create better, stronger, and more reusable code, which will help you build better applications. Style and approachThis simple guide is packed with practical examples of solutions to common problems. Each chapter includes exercises and the possibility for you to test your progress by answering questions. Cover ; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Objects from the Real World to the Playground; Installing the required software; Capturing objects from the real world; Generating classes to create objects; Recognizing variables and constants to create properties; Recognizing actions to create methods; Organizing classes with UML diagrams; Working with API objects in the Xcode Playground; Exercises; Test your knowledge; Summary; Chapter 2 : Structures, Classes, and Instances Understanding structures, classes, and instancesUnderstanding initialization and its customization; Understanding deinitialization and its customization; Understanding automatic reference counting; Declaring classes; Customizing initialization; Customizing deinitialization; Creating the instances of classes; Exercises; Test your knowledge; Summary; Chapter 3 : Encapsulation of Data with Properties; Understanding the elements that compose a class; Declaring stored properties; Generating computed properties with setters and getters; Combining setters, getters, and a related property Understanding property observersTransforming values with setters and getters; Using type properties to create values shared by all the instances of a class; Creating mutable classes; Building immutable classes; Exercises; Test your knowledge; Summary; Chapter 4 : Inheritance, Abstraction, and Specialization; Creating class hierarchies to abstract and specialize behavior; Understanding inheritance; Declaring classes that inherit from another class; Overriding and overloading methods; Overriding properties; Controlling whether subclasses can or cannot override members Working with typecasting and polymorphismTaking advantage of operator overloading; Declaring operator functions for specific subclasses; Exercises; Test your knowledge; Summary; Chapter 5 : Contract Programming with Protocols; Understanding how protocols work in combination with classes; Declaring protocols; Declaring classes that adopt protocols; Taking advantage of the multiple inheritance of protocols; Combining inheritance and protocols; Working with methods that receive protocols as arguments; Downcasting with protocols and classes Treating instances of a protocol type as a different subclassSpecifying requirements for properties; Specifying requirements for methods; Combining class inheritance with protocol inheritance; Exercises; Test your knowledge; Summary; Chapter 6 : Maximization of Code Reuse with Generic Code; Understanding parametric polymorphism and generic code; Declaring a protocol to be used as a constraint; Declaring a class that conforms to multiple protocols; Declaring subclasses that inherit the conformance to protocols; Declaring a class that works with a constrained generic type Object-oriented programming (Computer science) http://id.loc.gov/authorities/subjects/sh87007503 Swift (Computer program language) http://id.loc.gov/authorities/subjects/sh2015001571 Computer software Development. http://id.loc.gov/authorities/subjects/sh85029535 Programmation orientée objet (Informatique) Swift (Langage de programmation) COMPUTERS Programming Object Oriented. bisacsh Computer software Development fast Object-oriented programming (Computer science) fast Swift (Computer program language) fast has work: Object-oriented programming with Swift 2 (Text) https://id.oclc.org/worldcat/entity/E39PCGc9JMkDtrMhqqCfb3wvh3 https://id.oclc.org/worldcat/ontology/hasWork 1-78588-569-3 Community experience distilled. http://id.loc.gov/authorities/names/no2011030603 FWS01 ZDB-4-EBA FWS_PDA_EBA https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=1163376 Volltext |
spellingShingle | Hillar, Gastón C. (Gastón Carlos) Object-oriented programming with Swift 2 : get to grips with object-oriented programming with Swift to efficiently build powerful real-world applications / Community experience distilled. Cover ; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Objects from the Real World to the Playground; Installing the required software; Capturing objects from the real world; Generating classes to create objects; Recognizing variables and constants to create properties; Recognizing actions to create methods; Organizing classes with UML diagrams; Working with API objects in the Xcode Playground; Exercises; Test your knowledge; Summary; Chapter 2 : Structures, Classes, and Instances Understanding structures, classes, and instancesUnderstanding initialization and its customization; Understanding deinitialization and its customization; Understanding automatic reference counting; Declaring classes; Customizing initialization; Customizing deinitialization; Creating the instances of classes; Exercises; Test your knowledge; Summary; Chapter 3 : Encapsulation of Data with Properties; Understanding the elements that compose a class; Declaring stored properties; Generating computed properties with setters and getters; Combining setters, getters, and a related property Understanding property observersTransforming values with setters and getters; Using type properties to create values shared by all the instances of a class; Creating mutable classes; Building immutable classes; Exercises; Test your knowledge; Summary; Chapter 4 : Inheritance, Abstraction, and Specialization; Creating class hierarchies to abstract and specialize behavior; Understanding inheritance; Declaring classes that inherit from another class; Overriding and overloading methods; Overriding properties; Controlling whether subclasses can or cannot override members Working with typecasting and polymorphismTaking advantage of operator overloading; Declaring operator functions for specific subclasses; Exercises; Test your knowledge; Summary; Chapter 5 : Contract Programming with Protocols; Understanding how protocols work in combination with classes; Declaring protocols; Declaring classes that adopt protocols; Taking advantage of the multiple inheritance of protocols; Combining inheritance and protocols; Working with methods that receive protocols as arguments; Downcasting with protocols and classes Treating instances of a protocol type as a different subclassSpecifying requirements for properties; Specifying requirements for methods; Combining class inheritance with protocol inheritance; Exercises; Test your knowledge; Summary; Chapter 6 : Maximization of Code Reuse with Generic Code; Understanding parametric polymorphism and generic code; Declaring a protocol to be used as a constraint; Declaring a class that conforms to multiple protocols; Declaring subclasses that inherit the conformance to protocols; Declaring a class that works with a constrained generic type Object-oriented programming (Computer science) http://id.loc.gov/authorities/subjects/sh87007503 Swift (Computer program language) http://id.loc.gov/authorities/subjects/sh2015001571 Computer software Development. http://id.loc.gov/authorities/subjects/sh85029535 Programmation orientée objet (Informatique) Swift (Langage de programmation) COMPUTERS Programming Object Oriented. bisacsh Computer software Development fast Object-oriented programming (Computer science) fast Swift (Computer program language) fast |
subject_GND | http://id.loc.gov/authorities/subjects/sh87007503 http://id.loc.gov/authorities/subjects/sh2015001571 http://id.loc.gov/authorities/subjects/sh85029535 |
title | Object-oriented programming with Swift 2 : get to grips with object-oriented programming with Swift to efficiently build powerful real-world applications / |
title_auth | Object-oriented programming with Swift 2 : get to grips with object-oriented programming with Swift to efficiently build powerful real-world applications / |
title_exact_search | Object-oriented programming with Swift 2 : get to grips with object-oriented programming with Swift to efficiently build powerful real-world applications / |
title_full | Object-oriented programming with Swift 2 : get to grips with object-oriented programming with Swift to efficiently build powerful real-world applications / Gastón C. Hillar. |
title_fullStr | Object-oriented programming with Swift 2 : get to grips with object-oriented programming with Swift to efficiently build powerful real-world applications / Gastón C. Hillar. |
title_full_unstemmed | Object-oriented programming with Swift 2 : get to grips with object-oriented programming with Swift to efficiently build powerful real-world applications / Gastón C. Hillar. |
title_short | Object-oriented programming with Swift 2 : |
title_sort | object oriented programming with swift 2 get to grips with object oriented programming with swift to efficiently build powerful real world applications |
title_sub | get to grips with object-oriented programming with Swift to efficiently build powerful real-world applications / |
topic | Object-oriented programming (Computer science) http://id.loc.gov/authorities/subjects/sh87007503 Swift (Computer program language) http://id.loc.gov/authorities/subjects/sh2015001571 Computer software Development. http://id.loc.gov/authorities/subjects/sh85029535 Programmation orientée objet (Informatique) Swift (Langage de programmation) COMPUTERS Programming Object Oriented. bisacsh Computer software Development fast Object-oriented programming (Computer science) fast Swift (Computer program language) fast |
topic_facet | Object-oriented programming (Computer science) Swift (Computer program language) Computer software Development. Programmation orientée objet (Informatique) Swift (Langage de programmation) COMPUTERS Programming Object Oriented. Computer software Development |
url | https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=1163376 |
work_keys_str_mv | AT hillargastonc objectorientedprogrammingwithswift2gettogripswithobjectorientedprogrammingwithswifttoefficientlybuildpowerfulrealworldapplications |