iPhone/iPad Programming
$23.00
Minimum price
$23.00
Suggested price

iPhone/iPad Programming

Learn By Building Real Apps

About the Book

This book evolved out of a course on iPhone/iPad programming that I teach in the Bay Area. The excitement level in the class peaks when we are building apps.

This book draws on the same energy: We are going to build apps. And in the process of making our apps we will learn Objective-C and iPhone/iPad/iOS programming.

This book is dedicated to makers everywhere. People who know the thrill of creating. People who create things and release them.

  • Share this book

  • Categories

    • Software

About the Author

Asim Jalis
Asim Jalis

Asim Jalis has worked as a software developer at Microsoft, Hewlett-Packard, and Salesforce. He is a software consultant and instructor in San Francisco and has published several iOS apps.

Table of Contents

  • Preface
  • Why was this book written?
  • Who should read this book?
  • How is this book different from other books?
  • Who is the author?
  • How should this book be used?
  • Final words
  • Introduction
  • Overview
  • 1 Xcode
  • 1.1 Set Up Xcode
  • 1.2 Create Xcode Project
  • 1.3 Tour of Xcode
  • 2 Create Your First App
  • 2.1 App: Dice
  • 2.2 Create App UI
  • 2.3 Model-View-Controller
  • 2.4 Connecting View to Controller
  • 2.5 Defining App Logic
  • 2.6 Logging
  • 3 Variables and Data Types
  • 3.1 Variables
  • 3.2 Integers and Doubles
  • 3.3 Arithmetic Operators
  • 3.4 NSLog and Format Strings
  • 3.5 Assignment Operators
  • 4 Booleans
  • 4.1 Booleans
  • 4.2 Comparison Operators
  • 4.3 Boolean Operators
  • 4.4 Ternary Operator
  • 5 Strings
  • 5.1 Strings
  • 5.2 String Methods
  • 5.3 Escaped Characters
  • 6 Objects and Messages
  • 6.1 Messages to Classes
  • 6.2 Messages to Objects
  • 6.3 Comments
  • 6.4 Properties
  • 6.5 Dot Operator
  • 7 Methods
  • 7.1 Refactoring Methods
  • 7.2 Class Versus Instance Methods
  • 7.3 App: Tip Calculator
  • 8 Conditional Branching
  • 8.1 Conditional Branching
  • 8.2 App: Tip Calculator
  • 9 Repetition and Looping
  • 9.1 While Loop
  • 9.2 For Loop
  • 10 Arrays
  • 10.1 Creating Arrays
  • 11 Dictionaries
  • 11.1 Dictionaries
  • 11.2 Documentation
  • 12 Preserving State
  • 12.1 Properties
  • 12.2 Flashlight App
  • 13 Background Image
  • 13.1 Adding Background Image
  • 14 iPhone And iPad
  • 14.1 Testing Apps In iPad
  • 14.2 Porting To iPad
  • 14.3 Multiple Targets
  • 14.4 Testing Orientations
  • 14.5 Adding Gorgeousness With Icons
  • 14.6 Deploying and Submitting iOS Apps
  • 15 More Apps
  • 15.1 App: State Capitals
  • 15.2 App: Coin Flip
  • 15.3 App: Guess Number
  • 15.4 App: Chat Bot
  • 16 Conclusion
  • 16.1 What Next?
  • 16.2 Next Steps

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

80% Royalties. Earn $16 on a $20 book.

We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $13 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub