Object–Oriented Programming with Swift 2

Nonfiction, Computers, Operating Systems, Macintosh, Programming, Object Oriented Programming
Cover of the book Object–Oriented Programming with Swift 2 by Gaston C. Hillar, Packt Publishing
View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart
Author: Gaston C. Hillar ISBN: 9781785884801
Publisher: Packt Publishing Publication: January 28, 2016
Imprint: Packt Publishing Language: English
Author: Gaston C. Hillar
ISBN: 9781785884801
Publisher: Packt Publishing
Publication: January 28, 2016
Imprint: Packt Publishing
Language: English

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.

View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart

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

About This Book

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

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.

More books from Packt Publishing

Cover of the book Mastering Kali Linux for Advanced Penetration Testing by Gaston C. Hillar
Cover of the book Implementing Cloud Storage with OpenStack Swift by Gaston C. Hillar
Cover of the book Godot Engine Game Development Projects by Gaston C. Hillar
Cover of the book Applied Architecture Patterns on the Microsoft Platform Second Edition by Gaston C. Hillar
Cover of the book Effective DevOps with AWS by Gaston C. Hillar
Cover of the book Instant E-commerce with OpenCart: Build a Shop by Gaston C. Hillar
Cover of the book Multimedia Programming Using Max/MSP and TouchDesigner by Gaston C. Hillar
Cover of the book Mastering Tableau by Gaston C. Hillar
Cover of the book Mastering Ember.js by Gaston C. Hillar
Cover of the book Microsoft Dynamics AX 2012 Services by Gaston C. Hillar
Cover of the book GNU Octave Beginner's Guide by Gaston C. Hillar
Cover of the book Data Visualization: a successful design process by Gaston C. Hillar
Cover of the book Drupal 7 Webform Cookbook by Gaston C. Hillar
Cover of the book edX E-Learning Course Development by Gaston C. Hillar
Cover of the book Game Development with Swift by Gaston C. Hillar
We use our own "cookies" and third party cookies to improve services and to see statistical information. By using this website, you agree to our Privacy Policy