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 ba...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
[Berkeley, Calif.] : New York :
Apress ; Distributed to the Book trade worldwide by Springer Science+Business Media,
©2011.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
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.
- 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.