Objective-C Quick Syntax Reference

By Matthew Campbell

Objective-C Quick Syntax Reference Cover Image

The Objective-C Quick Syntax Reference is a condensed code and syntax reference to the popular Objective-C programming language, which is the core language behind the APIs found in the Apple iOS and Mac OS SDKs. It presents the essential Objective-C syntax in a well-organized format that can be used as a handy reference.

Full Description

  • ISBN13: 978-1-4302-6487-3
  • 132 Pages
  • User Level: Beginner to Intermediate
  • Publication Date: December 27, 2013
  • Available eBook Formats: EPUB, MOBI, PDF
  • Print Book Price: $19.99
  • eBook Price: $13.99
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full Description

The Objective-C Quick Syntax Reference is a condensed code and syntax reference to the popular Objective-C programming language, which is the core language behind the APIs found in the Apple iOS and Mac OS SDKs. It presents the essential Objective-C syntax in a well-organized format that can be used as a handy reference.

You won’t find any technical jargon, bloated samples, drawn out history lessons, or witty stories in this book. What you will find is a language reference that is concise, to the point and highly accessible. The book is packed with useful information and is a must-have for any Objective-C programmer.

In the Objective-C Quick Syntax Reference, you will find:

  • A concise reference to the Objective-C language syntax.
  • Short, simple, and focused code examples.
  • A well laid out table of contents and a comprehensive index allowing easy review.

What you’ll learn

  • How to create an Objective-C HelloWorld
  • How to compile and run
  • What are the Objective-C code class definitions
  • How to use objects in Objective-C
  • How to effectively use categories to extend the various classes
  • What is key-value observation
  • How to archive an object graph
  • How to implement the delegation design pattern with protocols
  • How to master code blocks and much more

Who this book is for

This book is a quick, handy pocket syntax reference for experienced Objective-C, Mac, and iOS programmers, and a concise, easily-digested introduction for other programmers new to Objective-C.

Table of Contents

Table of Contents

1. Hello World

2. Build and Run

3. Variables

4. Operators

5. Objects

6. Strings

7. Numbers

8. Arrays

9. Dictionaries

10. For Loops

11. While Loops

12. Do While Loops

13. For-Each Loops

14. If-Statements

15. Switch Statements

16. Defining Classes

17. Class Methods

18. Inheritance

19. Categories

20. Blocks

21. Key-Value Coding

22. Key-Value Observing

23. Protocols

24. Implementing Delegation

25. Implementing Singleton

26. Error Handling

Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.

Errata

Please Login to submit errata.

No errata are currently published