Hören und Lesen

Tritt ein in eine Welt voller Geschichten

  • Mehr als 600.000 Hörbücher und E-Book
  • Jederzeit kündbar
  • Exklusive Titel und Originals
  • komfortabler Kinder-Modus
Abonniere jetzt
se-device-image-1200x1200
Cover for Object–Oriented Programming with Swift 2

Object–Oriented Programming with Swift 2

Sprachen
Englisch
Format
Kategorie

Sachbuch

Get to grips with object-oriented programming in Swift to efficiently build powerful real-world applications

About 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 app

Who This Book Is For

If 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 Swift

What 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 X

In Detail

Object-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 approach

This 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.

© 2016 Packt Publishing (E-Book): 9781785884801

Erscheinungsdatum

E-Book: 28. Januar 2016

Tags

    Wähle dein Abo-Modell

    • Über 600.000 Titel

    • Lade Titel herunter mit dem Offline Modus

    • Exklusive Titel und Storytel Originals

    • Sicher für Kinder (Kindermodus)

    • Einfach jederzeit kündbar

    Am beliebtesten!

    Unlimited

    Für alle, die unbegrenzt hören und lesen möchten.

    18.90 € /Monat

    7 Tage kostenlos
    • Jederzeit kündbar

    • Wechsel zu Basic jederzeit möglich

    Angebot jetzt aktivieren

    Basic

    Für alle, die gelegentlich hören und lesen.

    7.90 € /Monat

    7 Tage kostenlos
    • Jederzeit kündbar

    • Abo-Upgrade jederzeit möglich

    Angebot jetzt aktivieren
    1. Fourth Wing – Flammengeküsst (Flammengeküsst-Reihe 1)
      Fourth Wing – Flammengeküsst (Flammengeküsst-Reihe 1) Rebecca Yarros
      4.7
    2. Iron Flame – Flammengeküsst (Flammengeküsst-Reihe 2): Die heißersehnte Fortsetzung des Fantasy-Erfolgs »Fourth Wing«
      Iron Flame – Flammengeküsst (Flammengeküsst-Reihe 2): Die heißersehnte Fortsetzung des Fantasy-Erfolgs »Fourth Wing« Rebecca Yarros
      4.7
    3. Not Quite Dead Yet (Ungekürzt)
      Not Quite Dead Yet (Ungekürzt) Holly Jackson
      4.5
    4. Onyx Storm – Flammengeküsst (Flammengeküsst-Reihe 3): Die heißersehnte Fortsetzung von »Fourth Wing« und »Iron Flame«
      Onyx Storm – Flammengeküsst (Flammengeküsst-Reihe 3): Die heißersehnte Fortsetzung von »Fourth Wing« und »Iron Flame« Rebecca Yarros
      4.3
    5. Saphirblau - Liebe geht durch alle Zeiten - Liebe geht durch alle Zeiten. Die Edelstein-Trilogie, Band 2 (Ungekürzte Lesung)
      Saphirblau - Liebe geht durch alle Zeiten - Liebe geht durch alle Zeiten. Die Edelstein-Trilogie, Band 2 (Ungekürzte Lesung) Kerstin Gier
      4.7
    6. Rubinrot - Liebe geht durch alle Zeiten - Liebe geht durch alle Zeiten. Die Edelstein-Trilogie, Band 1 (Ungekürzte Lesung)
      Rubinrot - Liebe geht durch alle Zeiten - Liebe geht durch alle Zeiten. Die Edelstein-Trilogie, Band 1 (Ungekürzte Lesung) Kerstin Gier
      4.7
    7. The Pumpkin Spice Latte Disaster (Lower Whilby 1): In dieser cosy RomCom treffen Stars Hollow-Vibes auf die Enemies to lover-Trope
      The Pumpkin Spice Latte Disaster (Lower Whilby 1): In dieser cosy RomCom treffen Stars Hollow-Vibes auf die Enemies to lover-Trope Kyra Groh
      4.4
    8. Alchemised: Das internationale Phänomen – jetzt auch als Hörbuch
      Alchemised: Das internationale Phänomen – jetzt auch als Hörbuch SenLinYu
      4.4
    9. "Mama, bitte lern Deutsch" - Unser Eingliederungsversuch in eine geschlossene Gesellschaft (Ungekürzte Autorenlesung)
      "Mama, bitte lern Deutsch" - Unser Eingliederungsversuch in eine geschlossene Gesellschaft (Ungekürzte Autorenlesung) Tahsim Durgun
      4.8
    10. Crushing Souls - Driven Dreams, Teil 1 (Ungekürzt)
      Crushing Souls - Driven Dreams, Teil 1 (Ungekürzt) Carolin Wahl
      4.3
    11. Blackened Blade 1: The Blackened Blade: Dark Fantasy mit einer broken Heroine, die Rache an ihren Peinigern nimmt
      Blackened Blade 1: The Blackened Blade: Dark Fantasy mit einer broken Heroine, die Rache an ihren Peinigern nimmt Isla Davon
      4.6
    12. 22 Bahnen: Lieblingsbuch des unabhängigen Buchhandels 2023
      22 Bahnen: Lieblingsbuch des unabhängigen Buchhandels 2023 Caroline Wahl
      4.1
    13. The Paradise Problem – Wenn das Herz den perfekten Plan durchkreuzt: Nach »The Unhoneymooners« endlich die neue paradiesisch prickelnde RomCom der SPIEGEL-Bestsellerautorin
      The Paradise Problem – Wenn das Herz den perfekten Plan durchkreuzt: Nach »The Unhoneymooners« endlich die neue paradiesisch prickelnde RomCom der SPIEGEL-Bestsellerautorin Christina Lauren
      4.4
    14. Die Plagen der Götter - Die Plagen der Götter, Band 1 (ungekürzt)
      Die Plagen der Götter - Die Plagen der Götter, Band 1 (ungekürzt) Eva Abyss
      4.6
    15. Throne of Glass 1: Die Erwählte
      Throne of Glass 1: Die Erwählte Sarah J. Maas
      4.6