Mac programming for absolute beginners

Want to learn how to program on your Mac? Not sure where to begin? Best-selling author Wallace Wang will explain how to get started with Cocoa, Objective-C, and Xcode. Whether you are an experienced Windows coder moving to the Mac, or you are completely new to programming, you’ll see how the basic d...

Descripción completa

Detalles Bibliográficos
Autor principal: Wang, Wally (-)
Formato: Libro electrónico
Idioma:Inglés
Publicado: New York : Distributed to the book trade worldwide by Springer Science+Business Media c2011.
Edición:1st ed. 2011.
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627847006719
Tabla de Contenidos:
  • Title Page; Copyright Page; Contents at a Glance; Table of Content; About the Author; About the Technical Reviewer; Acknowledgments; Introduction; Code Conventions Used in This Book; What to Expect from This Book; Chapter 1 Understanding Programming; Programming Principles; Dividing Programs into Parts; Event-Driven Programming; Object-Oriented Programming; Encapsulation; Polymorphism; Inheritance; Understanding Programming Languages; The Building Blocks of Programming Languages; Programming Frameworks; Mac Programming Today; Summary; Chapter 2 Understanding Apple's Programming Tools
  • Understanding EditorsUnderstanding Xcode; Deciphering the Xcode User Interface; Running Xcode; Creating a New Project in Xcode; Examining Project Files in Xcode; Compiling a Program; Summary; Chapter 3 The Basic Steps to Creating a Mac Program; A Bare-Bones Program Example; A Simple User Interface Example; An Interactive User Interface Example; Writing Objective-C Code; Creating an Action Method; Connecting the User Interface; An Advanced Interactive User Interface Example; Summary; Chapter 4 Getting Help; Installing Help Topics; Getting Help About Xcode; Getting Help About Core Library
  • Searching for HelpGetting Quick Help; Viewing Documentation for Selected Text; Getting Help with Library Windows; Help While Writing Code; Color-Coding; Customizing the Editor; Using Code Completion; Summary; Chapter 5 Learning Objective-C; Differences in Writing a Mac Objective-C Program; Understanding Objective-C Symbols; Defining the End of Each Line with a Semicolon; Defining the Beginning and End of Code with Curly Brackets; Defining Compiler Directives with the # Symbol; Defining Comments with //; Identifying Objects with [ and ]; Defining Pointers with; Manipulating Data with Variables
  • Declaring VariablesAssigning Data to a Variable; The Scope of a Variable; A Program Example Using Variables; Using Constants; Using Mathematical Operators; Using Strings; Summary; Chapter 6 Making Decisions with Branches; Understanding Boolean Expressions; Boolean Comparison Operators; Boolean Logical Operators; The ! (Not) Operator; The && (And) Operator; The || (Or) Operator; The ^ ((Xor) Operator; Branches; The Simplest if Statement; Following Multiple Instructions in an if Statement; The if-else Statement; The if-else if Statement; The switch Statement; Summary
  • Chapter 7 Repeating Code with LoopsLoops That Run a Fixed Number of Times; Quitting a for Loop Prematurely; Skipping in a for Loop; Loops That Run Zero or More Times; The while Loop; The do-while Loop; Quitting a while or do-while Loop Prematurely; Skipping a while or do-while Loop; Nested Loops; Summary; Chapter 8 Understanding the Cocoa Framework; An Overview of How Object-Oriented Programming Works; Starting with a Class; Reducing Bugs; Reusing Code; Defining Classes; Creating an Object; Storing Data in an Object; A Sample Program for Manipulating Objects
  • Looking Up Method and Property Names for NS Classes