ฟังและอ่าน

ก้าวเข้าสู่โลกแห่งเรื่องราวอันไม่มีที่สิ้นสุด

  • อ่านและฟังได้มากเท่าที่คุณต้องการ
  • มากกว่า 1 ล้านชื่อ
  • Storytel Originals ผลงานเฉพาะบน Storytel
  • 199บ./ด.
  • ยกเลิกได้ทุกเมื่อ
เริ่ม
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 มกราคม 2559

แท็ก

    คนอื่นก็สนุก...

    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

    ทุกที่ ทุกเวลากับ Storytel:

    • กว่า 500 000 รายการ

    • Kids Mode (เนื้อหาที่ปลอดภัยสำหรับเด็ก)

    • ดาวน์โหลดหนังสือสำหรับการเข้าถึงแบบออฟไลน์

    • ยกเลิกได้ตลอดเวลา

    ที่นิยมมากที่สุด

    Unlimited

    สำหรับผู้ที่ต้องการฟังและอ่านอย่างไม่จำกัด

    199 บ. /เดือน

    • 1 บัญชี

    • การเข้าถึงแบบไม่ จำกัด

    • 1 บัญชี

    • ยกเลิกได้ทุกเมื่อ

    เริ่ม

    Family

    สำหรับผู้ที่ต้องการแบ่งปันเรื่องราวกับครอบครัวและเพื่อน

    349 บ. /เดือน

    • 3 บัญชี

    • การเข้าถึงแบบไม่ จำกัด

    • ฟังได้ไม่จำกัด

    • ยกเลิกได้ทุกเมื่อ

    เริ่ม