![]() |
Apress Objective-C for Absolute Beginners iPhone iPad and Mac Programming |
Book Details
Title: Apress Objective-C for Absolute Beginners iPhone iPad and Mac Programming
ISBN-10: 942878347
Author: Gary Bennett
Publisher:Apress
Language: English
Subject: Objective C / Computers & Technology / Programming / Apple Programming
No. of pages: 311
Format: PDF
Introduction
Objective-C for Absolute
Beginners
iPhone, iPad and Mac Programming
Made Easy
Over the past seven years, we’ve heard this countless times: “I’ve never programmed before, but I have a
great idea for an iPhone/iPad app. Can I really learn to program the iPhone or iPad?” We always answer,
“Yes, but you have to believe you can.” Only you are going to tell yourself you can’t do it.
For the Newbie
This book assumes you may have never programmed before. It was also written for people who may
have never programmed before using object-oriented programming (OOP) languages. There are lots of Objective-C books, but all of these books assume you have programmed before and know OOP. We wanted to write a book that takes readers from knowing nothing about programming to being able to program in Objective-C.
Over the last seven years we have taught thousands of students at xcelMe.com to be iPhone/iPad developers. We have incorporated what we have learned in our first two courses, “Introduction to Object-Oriented Programming and Logic” and “Objective-C for iPhone/iPad Developers,” into this book.
For the More Experienced
There are lots of developers who programmed years ago or programmed in a non-OOP language and need the background in OOP and logic before they dive into Objective-C. This book is for you. We gently walk you through OOP and how it is used in iPhone/iPad development.
Why Alice: An Innovative 3D Programming Environment
Over the years, universities have struggled with several issues with their computer science departments:
For the Newbie
This book assumes you may have never programmed before. It was also written for people who may
have never programmed before using object-oriented programming (OOP) languages. There are lots of Objective-C books, but all of these books assume you have programmed before and know OOP. We wanted to write a book that takes readers from knowing nothing about programming to being able to program in Objective-C.
Over the last seven years we have taught thousands of students at xcelMe.com to be iPhone/iPad developers. We have incorporated what we have learned in our first two courses, “Introduction to Object-Oriented Programming and Logic” and “Objective-C for iPhone/iPad Developers,” into this book.
For the More Experienced
Swift 4 Programming Cookbook Full Source Code
There are lots of developers who programmed years ago or programmed in a non-OOP language and need the background in OOP and logic before they dive into Objective-C. This book is for you. We gently walk you through OOP and how it is used in iPhone/iPad development.
Why Alice: An Innovative 3D Programming Environment
Over the years, universities have struggled with several issues with their computer science departments:
-
High male-to-female ratios
-
High drop-out rates
-
Longer than average time to graduation
One of the biggest challenges to learning OOP languages like Java, C++, or Objective-C is the steep learning curve from the beginning. In the past, students had to learn the following topics all at once:
-
Object-oriented principles
-
A complex integrated development environment (IDE)
-
The syntax of the programming language
-
Programming logic and principles
Carnegie Mellon University received a grant from the U.S. government and developed Alice. Alice is an
innovative 3D programming environment that makes it easy to create rich graphical applications for new
developers. Alice is a teaching tool for students learning to program in an OOP environment. It uses 3D graphics
and a drag-and-drop interface to facilitate a more engaging, less frustrating first programming experience.
Alice enables you to focus on learning the principles of OOP without having to focus on learning a complex IDE and Objective-C principles all at once. You get to focus on each topic individually. This helps readers feel a real sense of accomplishment as they progress.
Alice removes all the complexity of learning an IDE and programming language syntax. It is drag-and-drop programming. You’ll see it is actually fun to do, and you can develop really cool and sophisticated apps in Alice.
After the OOP topic has been introduced and you feel comfortable with the material, we then move into Xcode, where you will get to use your new OOP knowledge in writing Objective-C applications. This enables you to focus on the Objective-C syntax and language without having to learn OOP at the same time.
How This Book Is Organized
You’ll notice that we are all about successes in this book. We introduce the OOP and logic concepts in Alice and then move those concepts into Xcode and Objective-C. Most students are visual and learn by doing. We use both of these techniques. We’ll walk you through topics and concepts with visual examples and then take you step-by-step examples reinforcing these.
Often we will repeat previous topics to reinforce what you have learned and apply these skills in new ways. This enables new programmers to re-apply development skills and feel a sense of accomplishment as they progress.
The Formula for Success
Learning to program is an interactive process between you and your program. Just like learning to play an instrument, you have to practice. You must work through the examples and exercises in this book. Just because you understand the concept doesn’t mean you will know how to apply it and use it.
You will learn a lot from this book. You will learn a lot from working through the exercises in this book. But you will really learn when you debug your programs. Spending time walking through your code and trying to find out why it is not working the way you want is a learning process that is unparalleled. The downside of debugging is it can be especially frustrating to the new developer. If you have never wanted to throw your computer out the window, you will. You will question why you are doing this and whether you are smart enough to solve the problem. Programming is humbling, even for the most experienced developer.
Like a musician, the more you practice the better you get. You can do some amazing things as a programmer. The world is your oyster. One of the most satisfying accomplishments you can have is seeing your app on the iTunes App Store. However, there is a price, and that price is time spent coding.
Alice enables you to focus on learning the principles of OOP without having to focus on learning a complex IDE and Objective-C principles all at once. You get to focus on each topic individually. This helps readers feel a real sense of accomplishment as they progress.
Alice removes all the complexity of learning an IDE and programming language syntax. It is drag-and-drop programming. You’ll see it is actually fun to do, and you can develop really cool and sophisticated apps in Alice.
After the OOP topic has been introduced and you feel comfortable with the material, we then move into Xcode, where you will get to use your new OOP knowledge in writing Objective-C applications. This enables you to focus on the Objective-C syntax and language without having to learn OOP at the same time.
How This Book Is Organized
You’ll notice that we are all about successes in this book. We introduce the OOP and logic concepts in Alice and then move those concepts into Xcode and Objective-C. Most students are visual and learn by doing. We use both of these techniques. We’ll walk you through topics and concepts with visual examples and then take you step-by-step examples reinforcing these.
Often we will repeat previous topics to reinforce what you have learned and apply these skills in new ways. This enables new programmers to re-apply development skills and feel a sense of accomplishment as they progress.
The Formula for Success
Learning to program is an interactive process between you and your program. Just like learning to play an instrument, you have to practice. You must work through the examples and exercises in this book. Just because you understand the concept doesn’t mean you will know how to apply it and use it.
You will learn a lot from this book. You will learn a lot from working through the exercises in this book. But you will really learn when you debug your programs. Spending time walking through your code and trying to find out why it is not working the way you want is a learning process that is unparalleled. The downside of debugging is it can be especially frustrating to the new developer. If you have never wanted to throw your computer out the window, you will. You will question why you are doing this and whether you are smart enough to solve the problem. Programming is humbling, even for the most experienced developer.
Like a musician, the more you practice the better you get. You can do some amazing things as a programmer. The world is your oyster. One of the most satisfying accomplishments you can have is seeing your app on the iTunes App Store. However, there is a price, and that price is time spent coding.
our formula for success:
Believe you can do it. You’ll be the only one who says you can’t do this. Don’t tell yourself that.
Work through all the examples and exercises in this book.
Code, code, and keeping coding. The more you code, the better you’ll get.
Be patient with yourself. If you were fortunate enough to have been a 4.0 student who can memorize material just by reading it, this will not happen with Objective-C coding. You are going to have to spend time coding.
Don’t give up!
Believe you can do it. You’ll be the only one who says you can’t do this. Don’t tell yourself that.
Work through all the examples and exercises in this book.
Code, code, and keeping coding. The more you code, the better you’ll get.
Be patient with yourself. If you were fortunate enough to have been a 4.0 student who can memorize material just by reading it, this will not happen with Objective-C coding. You are going to have to spend time coding.
Don’t give up!
The Development Technology Stack
We will walk you through the process of understanding the development process for your iPhone/iPad apps and what technology is needed. However, it is helpful to briefly look at all the pieces together, in other words, a sample iPhone app, in a Table View. See Figure I-1.
Required Software, Materials, and Equipment
One of the great things about Alice is it is available on the three main operating systems used today.
We will walk you through the process of understanding the development process for your iPhone/iPad apps and what technology is needed. However, it is helpful to briefly look at all the pieces together, in other words, a sample iPhone app, in a Table View. See Figure I-1.
Required Software, Materials, and Equipment
One of the great things about Alice is it is available on the three main operating systems used today.
-
Windows
-
Mac
- Linux
The other great thing about Alice is it is free! You can download Alice at www.Alice.org.
Operating System and IDE
Although you can use Alice on many platforms, the IDE that developers use to develop iPhone/iPad apps is
Xcode. The IDE is free and is available in the Mac App Store.
Dual Monitors
It is highly recommended that developers have a second monitor connected to their computer. It is great
to step through your code and watch your output window and iPad simulator at the same time on dual,
independent monitors. Apple hardware makes this easy. Note it is not required to have dual monitors; you
will just have to organize your open windows to fit on your screen if you don’t.
To access the dual-monitor set up feature, go to Apple System Preferences and select Displays
No comments:
Post a Comment