Atjaunināt sīkdatņu piekrišanu

Objective-C for Absolute Beginners: iPhone, iPad and Mac Programming Made Easy 1st ed. [Mīkstie vāki]

3.49/5 (74 ratings by Goodreads)
  • Formāts: Paperback / softback, 292 pages, height x width: 254x178 mm, weight: 555 g, XVII, 292 p., 1 Paperback / softback
  • Izdošanas datums: 25-Aug-2010
  • Izdevniecība: APress
  • ISBN-10: 1430228326
  • ISBN-13: 9781430228325
Citas grāmatas par šo tēmu:
  • Mīkstie vāki
  • Cena: 29,02 €*
  • * ši ir gala cena, t.i., netiek piemērotas nekādas papildus atlaides
  • Standarta cena: 34,15 €
  • Ietaupiet 15%
  • Grāmatu piegādes laiks ir 3-4 nedēļas, ja grāmata ir uz vietas izdevniecības noliktavā. Ja izdevējam nepieciešams publicēt jaunu tirāžu, grāmatas piegāde var aizkavēties.
  • Daudzums:
  • Ielikt grozā
  • Piegādes laiks - 4-6 nedēļas
  • Pievienot vēlmju sarakstam
  • Formāts: Paperback / softback, 292 pages, height x width: 254x178 mm, weight: 555 g, XVII, 292 p., 1 Paperback / softback
  • Izdošanas datums: 25-Aug-2010
  • Izdevniecība: APress
  • ISBN-10: 1430228326
  • ISBN-13: 9781430228325
Citas grāmatas par šo tēmu:
It seems as if everyone is writing applications for Apples iPhone and iPad, but how do they all do it? Its best to learn Objective-C, the native language of both the iOS and Mac OS X, but where to begin? Right here, even if youve never programmed before!



Objective-C for Absolute Beginners will teach you how to write software for your Mac, iPhone, or iPad using Objective-C, an elegant and powerful language with a rich set of developer tools. Using a hands-on approach, youll learn to think in programming terms, how to use Objective-C to build program logic, and how to write your own applications and apps.



With over 50 collective years in software development and based on an approach pioneered at Carnegie Mellon University, the authors have developed a remarkably effective approach to learning Objective-C. Since the introduction of Apples iPhone, the authors have taught hundreds of absolute beginners how to develop Mac, iPhone,and iPad apps, including many that became popular apps in the iTunes App Store.
Contents at a Glance iv
Contents v
About the Authors x
About the Technical Reviewer xi
Acknowledgments xii
Introduction xiii
Chapter 1 Becoming a Great iPhone/iPad or Mac Programmer
1(12)
Thinking Like a Developer
1(3)
Completing the Development Cycle
4(2)
Introducing Object Oriented Programming
6(2)
Working with the Alice Interface
8(3)
Summary
11(1)
Exercises
11(2)
Chapter 2 Programming Basics
13(24)
Taking a Tour with Alice
13(7)
Navigation Menu
14(1)
World Window
15(2)
Classes, Objects, and Instances in Alice
17(1)
Object Tree
18(1)
Editor Area
18(1)
Details Area
19(1)
Events Area
19(1)
Creating an Alice App---To the Moon Alice
20(6)
Your First Objective-C Program
26(9)
Installing Xcode
27(3)
Launching and Using Xcode
30(5)
Summary
35(1)
Exercises
36(1)
Chapter 3 It's All About the Data
37(20)
Numbering Systems Used in Programming
37(5)
Bits
37(2)
Bytes
39(2)
Hexadecimal
41(1)
Unicode
42(1)
Data Types
42(1)
Using Variable and Data Types with Alice
43(7)
Data Types and Objective-C
50(4)
Identifying Problems
54(2)
Summary
56(1)
Exercises
56(1)
Chapter 4 Making Decisions About...and Planning Program Flow
57(24)
Boolean Logic
57(5)
Truth Tables
59(2)
Comparison Operators
61(1)
Designing Apps
62(2)
Pseudo-code
62(2)
Design Requirements
64(8)
Flowcharting
67(1)
Designing and Flowcharting an Example App
68(1)
The App's Design
69(1)
Using Loops to Repeat Program Statements
70(2)
Coding the Example App in Alice
72(2)
Coding the Example App in Objective-C
74(3)
Nested If Statements and Else-If Statements
77(1)
Improving the Code Through Refactoring
77(1)
Moving Forward Without Alice
78(1)
Summary
79(1)
Exercises
80(1)
Chapter 5 Object Oriented Programming with Objective-C
81(16)
The Object
81(1)
What Is a Class
82(1)
Planning Classes
83(10)
Inheritance
93(1)
Why Use OOP?
94(1)
Eliminate Redundant Code
94(1)
Ease of Debugging
95(1)
Ease of Replacement
95(1)
Advanced Topics
95(1)
Interface
95(1)
Polymorphism
95(1)
Summary
96(1)
Exercises
96(1)
Chapter 6 Introducing Objective-C and Xcode
97(20)
A Brief History of Objective-C
97(1)
Understanding C Language Basics
98(2)
Putting the "Objective" into Objective-C
100(5)
Introducing Xcode
105(1)
Starting Up Xcode
106(1)
Creating Your First Project
107(8)
Adding a New Class
108(6)
Building and Running the New Program
114(1)
Summary
115(1)
Exercises
116(1)
Chapter 7 Objective-C Classes, Objects, and Methods
117(20)
Creating an Objective-C Class
117(8)
Declaring Interfaces and Instance Variables
119(1)
Sending Messages (Methods)
119(2)
Working with the Implementation File
121(2)
Implementing Methods
123(2)
Using Our New Class
125(8)
Overriding Default Behavior
132(1)
Taking Class Methods to the Next Level
133(1)
Accessing the Xcode Documentation
133(1)
Summary
134(1)
Exercises
135(2)
Chapter 8 Programming Basics in Objective-C
137(20)
Creating a Simple Command Line Tool
138(2)
Introducing Instance Variables
140(4)
Accessing Instance Variables
141(1)
Using Getter and Setter Methods
142(2)
Introducing Properties
144(2)
Using Properties
145(1)
Understanding the Importance of Conventions
146(1)
Creating the MyBookstore Program
146(10)
Using the NSMutableDictionary Class
148(1)
Making Our Object Do Something
149(1)
Implementing Behavior
150(3)
Cleaning Up Our Objects
153(1)
Using the Bookstore and Book Objects
154(2)
Summary
156(1)
Exercises
156(1)
Chapter 9 Comparing Data
157(18)
Introducing Boolean Logic
157(1)
Using Relational Operators
158(5)
Comparing Numbers
158(5)
Using Boolean Expressions
163(5)
Comparing Strings
164(2)
Comparing Dates
166(2)
Combining Comparisons
168(1)
Using the Switch Statement
168(2)
Grouping Variables Together
170(3)
NSArray
170(1)
NSMutableArray
171(1)
NSDictionary
172(1)
NSMutableDictionary
172(1)
Summary
173(1)
Exercises
174(1)
Chapter 10 Creating User Interfaces with Interface Builder
175(24)
Understanding Interface Builder
176(1)
The Model-View-Controller
177(2)
Human Interface Guidelines (HIGs)
179(1)
Creating an Example iPhone App with Interface Builder
180(16)
Using Outlets
185(1)
Implementing an Action
186(1)
Using Interface Builder
187(1)
Document Window
188(1)
Library Window
189(1)
Inspector Window
190(1)
Creating the View
191(1)
Connecting the Outlets and Objects
192(1)
Connecting Actions and Objects
193(2)
Implementation File
195(1)
Broken Connections in Interface Builder
196(2)
Summary
198(1)
Exercises
198(1)
Chapter 11 Memory, Addresses, and Pointers
199(20)
Understanding Memory
200(4)
Bits, Bytes, and Bases
200(4)
Understanding Memory Address Basics
204(4)
Requesting Memory
208(1)
Working with Automatic Variables and Pointers
208(1)
Deallocating Memory
209(3)
Using Special Pointers
210(2)
Managing Memory in Objective-C
212(4)
Using the Retain/Release Model
212(2)
Working with Implied Retain Messages
214(1)
Sending the dealloc Message
215(1)
If Things Go Wrong
216(1)
Summary
217(1)
Exercises
218(1)
Chapter 12 Debugging Programs with Xcode
219(18)
Getting Started with Debugging
220(4)
Setting Breakpoints
220(2)
Debugging Basics
222(1)
Working with the Debugger Controls
223(1)
Debugging a Program
224(10)
Using the Step Controls
225(1)
Looking at the Thread Window and Call Stack
225(1)
Debugging Variables
226(4)
Deleting Multiple Breakpoints
230(1)
Disabling Breakpoints
231(1)
A Larger Call Stack
231(3)
Summary
234(1)
Exercises
235(2)
Chapter 13 Storing Information
237(20)
Storage Considerations
237(1)
Preferences
237(2)
Writing Preferences
238(1)
Reading Preferences
239(1)
Databases
239(1)
Storing Information in a Database
240(1)
Getting Started with Core Data
241(1)
The Model
242(8)
Managed Object Context
250(1)
Setting Up the Interface
250(5)
Summary
255(1)
Exercises
255(2)
Chapter 14 Protocols and Delegates
257(6)
Multiple Inheritance
257(1)
Understanding Protocols
258(1)
Protocol Syntax
259(1)
Understanding Delegates
259(1)
Next Steps
260(1)
Summary
261(2)
Index 263
Gary Bennett is president of xcelMe.com. xcelMe teaches iPhone/iPad programming courses online. Gary has taught hundreds of students how to develop iPhone/iPad apps, and has several very popular apps on the iTunes App Store. Gary's students have some of the best-selling apps on the iTunes App Store. Gary also worked for 25 years in the technology and defense industries. He served 10 years in the U.S. Navy as a nuclear engineer aboard two nuclear submarines. After leaving the Navy, Gary worked for several companies as a software developer, chief information officer, and resident. As CIO, he helped take VistaCare public in 2002. Gary also co-authored iPhone Cool Projects for Apress. Gary lives in Scottsdale, Arizona with his wife, Stefanie, and their four children.