Atjaunināt sīkdatņu piekrišanu

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

3.49/5 (47 ratings by Goodreads)
  • Formāts: Paperback / softback, 298 pages, height x width: 254x178 mm, weight: 618 g, 223 Illustrations, color; 32 Illustrations, black and white; XXIII, 298 p. 255 illus., 223 illus. in color., 1 Paperback / softback
  • Izdošanas datums: 01-Dec-2016
  • Izdevniecība: APress
  • ISBN-10: 1484219031
  • ISBN-13: 9781484219034
Citas grāmatas par šo tēmu:
  • Mīkstie vāki
  • Cena: 48,64 €*
  • * Šī grāmata vairs netiek publicēta. Jums tiks paziņota lietotas grāmatas cena
  • Šī grāmata vairs netiek publicēta. Jums tiks paziņota lietotas grāmatas cena.
  • Daudzums:
  • Ielikt grozā
  • Pievienot vēlmju sarakstam
  • Formāts: Paperback / softback, 298 pages, height x width: 254x178 mm, weight: 618 g, 223 Illustrations, color; 32 Illustrations, black and white; XXIII, 298 p. 255 illus., 223 illus. in color., 1 Paperback / softback
  • Izdošanas datums: 01-Dec-2016
  • Izdevniecība: APress
  • ISBN-10: 1484219031
  • ISBN-13: 9781484219034
Citas grāmatas par šo tēmu:
Learn Objective-C and its latest release, and learn how to mix Swift with it. You have a great idea for an app, but how do you bring it to fruition? With Objective-C, the universal language of iPhone, iPad, and Mac apps.

Using a hands-on approach, you'll learn how to think in programming terms, how to use Objective-C to construct program logic, and how to synthesize it all into working apps. Gary Bennett, an experienced app developer and trainer, will guide you on your journey to becoming a successful app developer. Along the way you'll discover the flexibility of Apples developer tools

If you're looking to take the first step towards App Store success, Objective-C for Absolute Beginners, Third edition is the place to start.

What You'll Learn









Understand the fundamentals of computer programming: variables, design data structures, and work with file systems

Examine the logic of object-oriented programming: how to use classes, objects, and methods

Install Xcode and write programs in Objective-C

Make OS X applications and iOS apps that do cool stuff

Who This Book Is For

Anyone who wants to learn to develop apps for the iPhone, iPad, Mac, or Watch using the Objective-C programming language. No previous programming experience is necessary.
About the Authors xv
About the Technical Reviewer xvii
Introduction xix
Chapter 1 Becoming a Great iOS or Mac Programmer
1(10)
Thinking like a Developer
1(3)
Completing the Development Cycle
4(1)
Introducing Object-Oriented Programming
5(3)
Working with the Alice Interface
8(2)
Summary
10(1)
Exercises
10(1)
Chapter 2 Programming Basics
11(24)
Taking a Tour with Alice
11(1)
Navigation Menu
12(1)
Editing a Scene
13(2)
Classes, Objects, and Instances in Alice
15(1)
Object Tree
16(1)
Editor Area
17(1)
Details Area
17(1)
Events Area
17(1)
Creating an Alice App---To the Moon, Alice
17(9)
Your First Objective-C Program
26(1)
Launching and Using Xcode
26(7)
Summary
33(1)
Exercises
33(2)
Chapter 3 It's All About the Data
35(24)
Numbering Systems Used in Programming
35(1)
Bits
35(2)
Bytes
37(2)
Hexadecimal
39(1)
Unicode
40(1)
Data Types
40(1)
Using Variable and Data Types with Alice
41(9)
Data Types and Objective-C
50(5)
Identifying Problems
55(2)
Summary
57(1)
Exercises
57(2)
Chapter 4 Making Decisions About... And Planning Program Flow
59(24)
Boolean Logic
59(1)
Truth Tables
60(2)
Comparison Operators
62(1)
Designing Apps
63(1)
Pseudo-code
63(2)
Design Requirements
65(3)
Flowcharting
68(1)
Designing and Flowcharting an Example App
69(1)
The App's Design
70(2)
Using Loops to Repeat Program Statements
72(2)
Coding the Example App in Alice
74(1)
Coding the Example App in Objective-C
75(4)
Nested if Statements and else-if Statements
79(1)
Removing Extra Characters
79(1)
Improving the Code Through Refactoring
80(1)
Running the App
80(1)
Moving Forward Without Alice
81(1)
Summary
81(1)
Exercises
82(1)
Chapter 5 Object-Oriented Programming with Objective-C
83(18)
The Object
83(1)
What Is a Class?
84(1)
Planning Classes
85(1)
Planning Properties
85(2)
Planning Methods
87(2)
Implementing the Classes
89(7)
Inheritance
96(1)
Why Use OOP?
97(1)
It Is Everywhere
97(1)
Eliminate Redundant Code
97(1)
Ease of Debugging
97(1)
Ease of Replacement
98(1)
Advanced Topics
98(1)
Interface
98(1)
Polymorphism
98(1)
Summary
98(1)
Exercises
99(2)
Chapter 6 Learning Objective-C and Xcode
101(26)
A Brief History of Objective-C
101(1)
Understanding the Language Symbols and Basic Syntax
102(1)
Create a Variable
102(1)
Begin and End a Section of Code
102(1)
Signify the End of a Line of Code
103(1)
Write a Comment
103(1)
Define a Class
104(1)
Define a Method
104(1)
Define an Objective-C Variable
105(1)
Call a Method
105(1)
Putting the "Objective" into Objective-C
105(3)
Writing Another Program in Xcode
108(1)
Creating the Project
109(16)
Summary
125(1)
Exercises
126(1)
Chapter 7 Objective-C Classes, Objects, and Methods
127(26)
Creating an Objective-C Class
127(1)
Declaring Interfaces and Properties (Instance Variables)
128(1)
Calling Methods
129(2)
Working with the Implementation File
131(1)
Coding Your Methods
132(1)
Using Your New Class
133(1)
Updating MyFirstApp
133(2)
Adding Objects
135(4)
Writing the Implementation File
139(1)
Updating the User Interface
140(3)
Hooking Up the Code
143(7)
Accessing the Xcode Documentation
150(1)
Summary
151(1)
Exercises
152(1)
Chapter 8 Programming Basics in Objective-C
153(54)
Collections
153(1)
Using NSSet
154(1)
Using NSArray
155(1)
NSDictionary
156(1)
Using the Mutable Container Classes
157(1)
NSMutableSet
157(1)
NSMutableArray
158(1)
NSMutableDictionary
159(1)
Creating the Bookstore Application
160(6)
Introducing Instance Variables
166(1)
Accessing Properties
167(1)
Custom Getter and Setter
168(1)
Finishing the MyBookstore Program
169(6)
Creating the Initial View
175(5)
The Bookstore Object
180(3)
Using the Bookstore Object
183(1)
Preparing the Table View
184(1)
The Book Detail View
185(14)
Setting Up the Outlets
199(3)
Plugging in the Book Details
202(2)
Summary
204(1)
Exercises
205(2)
Chapter 9 Comparing Data
207(16)
Revisiting Boolean Logic
207(1)
Using Relational Operators
208(1)
Comparing Numbers
208(1)
Creating an Example Xcode App
209(5)
Using Boolean Expressions
214(1)
Comparing Strings
215(2)
Comparing Dates
217(2)
Combining Comparisons
219(1)
Using the switch Statement
220(1)
Summary
221(1)
Exercises
221(2)
Chapter 10 Creating User Interfaces
223(20)
Understanding Interface Builder
224(1)
The Model-View-Controller
224(2)
Human Interface Guidelines
226(1)
Creating an Example iPhone App with Interface Builder
227(5)
Using Interface Builder
232(1)
The Document Outline
233(1)
The Object Library
234(1)
Creating the View
235(2)
Using Outlets
237(2)
Connecting Actions and Objects
239(1)
Implementation File
239(1)
Summary
240(1)
Exercises
241(2)
Chapter 11 Storing Information
243(30)
Storage Considerations
243(1)
Preferences
243(1)
Writing Preferences
244(1)
Reading Preferences
245(1)
Databases
245(1)
Storing Information in a Database
245(1)
Getting Started with Core Data
246(2)
The Model
248(10)
Managed Object Context
258(1)
Setting Up the Interface
258(12)
Summary
270(1)
Exercises
271(2)
Chapter 12 Protocols and Delegates
273(4)
Multiple Inheritance
273(1)
Understanding Protocols
274(1)
Protocol Syntax
275(1)
Understanding Delegates
275(1)
Next Steps
276(1)
Summary
276(1)
Chapter 13 Introducing the Xcode Debugger
277(14)
Getting Started with Debugging
277(1)
Setting Breakpoints
278(2)
Using the Breakpoint Navigator
280(2)
Debugging Basics
282(1)
Working with the Debugger Controls
283(1)
Using the Step Controls
284(2)
Looking at the Thread Window and Call Stack
286(1)
Debugging Variables
286(2)
Dealing with Code Errors and Warnings
288(1)
Warnings
288(2)
Summary
290(1)
Exercises
290(1)
Index 291
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.