الاستماع والقراءة

خطوة إلى عالم لا حدود له من القصص

  • اقرأ واستمع إلى ما تريده
  • أكثر من مليون عنوان
  • العناوين الحصرية + أصول القصة
  • 7 يوم تجربة مجانية، ثم 9.99$ يورو في الشهر
  • من السهل الإلغاء في أي وقت
جرب مجانا
Cover for Object–Oriented Programming with Swift 2

Object–Oriented Programming with Swift 2

اللغة
الإنجليزية
الصيغة
تصنيف

كتب واقعية

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 (كتاب إلكتروني): 9781785884801

تاريخ النشر

كتاب إلكتروني: 28 يناير 2016

الوسوم

واستمتع آخرون أيضًا...

  1. Collected Works of Aldous Huxley. Illustrated: Brave New World. Crome Yellow. The Doors of Perception
    Collected Works of Aldous Huxley. Illustrated: Brave New World. Crome Yellow. The Doors of Perception Aldous Huxley
  2. Civil and Religious Liberty
    Civil and Religious Liberty Annie Besant
  3. The Complete Harvard Classics - All 51 Volumes in One Edition: The Anthology of the Greatest Works of World Literature - Dr. Eliot's Five Foot Shelf
    The Complete Harvard Classics - All 51 Volumes in One Edition: The Anthology of the Greatest Works of World Literature - Dr. Eliot's Five Foot Shelf Hans Christian Andersen, Edgar Alan Poe, Aesop, Miguel de Cervantes, Oliver Goldsmith, Tacitus, Robert Louis Stevenson, Voltaire, Charles Darwin, Herodotus, William Shakespeare, Ralph Waldo Emerson, Oliver Wendell Holmes, Robert Browning, Homer, Daniel Defoe, David Hume, Johann Wolfgang von Goethe, Jonathan Swift, Niccolo Machiavelli, William Makepeace Thackeray, Aeschylus, Richard Henry Dana, Adam Smith, John Bunyan, Dante Alighieri, Benjamin Franklin, Thomas Hobbes, George Gordon Byron, Benvenuto Cellini, Thomas More, John Dryden, Plutarch, Virgil, Blaise Pascal, John Milton, Plato, Henry David Thoreau, John Stuart Mill, Thomas Malory, Robert Burns, René Descartes, Samuel Taylor Coleridge, John Webster, Euripides, Edmund Burke, Leigh Hunt, Marcus Aurelius, Michel de Montaigne, Percy Bysshe Shelley, Sophocles, Richard Brinsley Sheridan, Jacob Grimm, Wilhelm Grimm, Jean Jacques Rousseau, Immanuel Kant, Izaak Walton, Charles Lamb, Marcus Tullius Cicero, John Locke, Martin Luther, George Berkeley, Molière, Thomas à Kempis, Jean Froissart, Francis Bacon, Hippocrates, Thomas De Quincey, Pedro Calderón de la Barca, Samuel Johnson, James Russell Lowell, Epictetus, Friedrich von Schiller, Aristophanes, Christopher Marlowe, Saint Augustine, Thomas Dekker, William Penn, Thomas Carlyle, Michael Faraday, Walter Raleigh, John Ruskin, Simon Newcomb, Ernest Renan, Richard Steele, John Fletcher, Pierre Corneille, Jean Racine, Ben Jonson, Abraham Cowley, Philip Massinger, Francis Beaumont, William Hazlitt, Alessandro Manzoni, Gotthold Ephraim Lessing, William Roper, Thomas Browne, William Henry Harrison, Pliny the Younger, John Woolman, Hermann Ludwig Ferdinand von Helmholtz, Charles Augustin Sainte-Beuve, Giuseppe Mazzini, Francis Pretty, Walter Bigges, Edward Haies, Ambroise Paré, William Harvey, Joseph Lister, Louis Pasteur, Joseph Addison, Philip Sidney, Sydney Smith, Thomas Babington Macaulay, Philip Nichols, David Garrick, Archibald Geikie, Francis Drake, William A. Neilson
  1. A Country Doctor
    A Country Doctor Sarah Orne Jewett
    2.8
  2. PMP Pro: Transform Your Exam Success with Game-Changing Secrets: "Elevate your PMP exam results! Dive into transformative audio lessons for peak performance on test day."
    PMP Pro: Transform Your Exam Success with Game-Changing Secrets: "Elevate your PMP exam results! Dive into transformative audio lessons for peak performance on test day." Arden Blakewood
    0
  3. Desconexión Digital: Meditaciones Guiadas para Calma y Claridad
    Desconexión Digital: Meditaciones Guiadas para Calma y Claridad Refeser
    5
  4. Nature’s Symphony of Serene Forest Cricket Sounds Mixed With Piano Rhythms For Deep Calm & Relaxation: Experience Soothing Nights for Restful Sleep & Mindfulness Using Enhanced BGM 8D Audio
    Nature’s Symphony of Serene Forest Cricket Sounds Mixed With Piano Rhythms For Deep Calm & Relaxation: Experience Soothing Nights for Restful Sleep & Mindfulness Using Enhanced BGM 8D Audio Cedar Skye
    5
  5. GED Secrets: Elevate Your Success and Conquer the Exam Today: "Boost your GED prep! Unlock engaging audio lessons for ultimate exam success today!"
    GED Secrets: Elevate Your Success and Conquer the Exam Today: "Boost your GED prep! Unlock engaging audio lessons for ultimate exam success today!" Ronan Cade
    1
  6. Nature’s Symphony Of Soothing Lake Soundscapes For Meditation, Deep Relaxation & Stress Relief: Embrace The Harmony & Feel The Water Waves With Blissful 8d Audio For Inner Peace & Serenity
    Nature’s Symphony Of Soothing Lake Soundscapes For Meditation, Deep Relaxation & Stress Relief: Embrace The Harmony & Feel The Water Waves With Blissful 8d Audio For Inner Peace & Serenity Cedar Skye
    0
  7. The Complete Falconer Files Brief Cases Books 1 - 8
    The Complete Falconer Files Brief Cases Books 1 - 8 Andrea Frazer
    4
  8. For All Time: First in the Liza Marchant Series
    For All Time: First in the Liza Marchant Series Marian L Jasper
    0
  9. Data-Driven Decisions: Mastering Business Data Science
    Data-Driven Decisions: Mastering Business Data Science Chuck Sherman
    4
  10. Nature’s Symphony of Tranquil Forest Soundscapes Using Enhanced 8D Audio For A More Natural Relaxation: Meditation Aid For Unmatched Calm, Emotional Healing, Mental Clarity & Stress Relief
    Nature’s Symphony of Tranquil Forest Soundscapes Using Enhanced 8D Audio For A More Natural Relaxation: Meditation Aid For Unmatched Calm, Emotional Healing, Mental Clarity & Stress Relief Cedar Skye
    0
  11. Notas sobre Enfermería: (Español latino)
    Notas sobre Enfermería: (Español latino) Florence Nightingale
    0
  12. SHRM: Your HR Exam Success with Insider Secrets: "Boost your HR exam readiness! Harness powerful audio lessons packed with insider tips for ultimate success."
    SHRM: Your HR Exam Success with Insider Secrets: "Boost your HR exam readiness! Harness powerful audio lessons packed with insider tips for ultimate success." Ronan Ashwood
    0
  13. NONPARTICIPANT: A New Dawn
    NONPARTICIPANT: A New Dawn Rob Johnson
    1
  14. Intermediate Japanese: Broaden Your Japanese Vocabulary and Cultural Understanding
    Intermediate Japanese: Broaden Your Japanese Vocabulary and Cultural Understanding Yuki Abe
    0
  15. Ne, ne, ne, was hab ich bloß?: Humorvolle Geschichten über den menschlichen Körper
    Ne, ne, ne, was hab ich bloß?: Humorvolle Geschichten über den menschlichen Körper Edla Pinnow
    5

دائمًا برفقة Storytel

  • أكثر من 200000 عنوان

  • وضع الأطفال (بيئة آمنة للأطفال)

  • تنزيل الكتب للوصول إليها دون الاتصال بالإنترنت

  • الإلغاء في أي وقت

الكتب الأكثر استماعًا

شهري

قصص لكل المناسبات.

$9.99 /شهر

  • حساب واحد

  • حساب بلا حدود

  • 1 حساب

  • استماع بلا حدود

  • إلغاء في أي وقت

جرب الآن

سنويا

قصص لكل المناسبات.

$83.88 /سنة

وفر 30%
  • حساب واحد

  • حساب بلا حدود

  • 1 حساب

  • استماع بلا حدود

  • إلغاء في أي وقت

جرب الآن

6 أشهر

قصص لكل المناسبات.

$53.64 /6 أشهر

وفر 11%
  • حساب واحد

  • حساب بلا حدود

  • 1 حساب

  • استماع بلا حدود

  • إلغاء في أي وقت

جرب الآن