Objective-C Programmer's Reference provides the tools necessary to write software in Objective-C—the language of choice for developing iOS and OS X applications. Author Carlos Oliveira begins from the basic building blocks of the language. He shows how to create correct and efficient applications by applying your knowledge of object-oriented and structured programming. This book:
- Takes you quickly through fundamental concepts such as interfaces and class implementations.
- Provides a concise reference to the Foundation Framework that is all-important when programming in Objective-C.
- Highlights key differences between Objective-C and other popular languages such as Java or Python.
- Provides the fundamentals of Cocoa and Cocoa Touch, which are the standard for OS X and iOS development.
Objective-C Programmer's Reference is a book for professional developers in Objective-C, or those who are moving to Objective-C from other languages. The book is written for readers who lack the time to invest in more traditional books, which usually spend hundreds of pages to explain concepts that are part of the working programmer’s standard vocabulary.
What you’ll learn
- Grasp the basic syntax of the Objective-C language.
- Create classes and methods in Objective-C.
- Apply Objective-C’s message-passing mechanism to simplify your code and avoid deep class hierarchies.
- Store and access dynamic data through Objective-C’s built-in, key-value system.
- Make effective use of container classes such as arrays and dictionaries with their immutable and mutable versions.
- Create simple applications for iPhones, iPads, Macbooks, and other iOS and Mac OS X devices.
Who this book is for
Objective-C Programmer's Reference is for programmers in Objective-C who are looking for a handy reference to keep them on top of their game. The book is also designed for programmers moving to Objective-C from some other language, especially from another C-like language such as Java or C#, providing just that additional bit that is needed to transfer their expertise into Objective-C and get a leg up on creating applications for the iOS and OS X platforms underlying Apple’s hugely successful devices such as the iPhone, iPad, and Macbook.
Table of ContentsPart I: The Language
1. The C in Objective-C
3. Strings and Container Classes
4. Protocols and Categories
6. Block Syntax
7. Dynamic Binding
8. Memory Management
9. Key-Value Programming
10. The Filesystem
Part II: Reference
11. The Foundation Framework
Part III: The Tools
12. The Compiler
13. The Preprocessor
14. Unit Test
Part IV: Writing Apps for OS X and iOS
16. Cocoa Framework Example
17. Cocoa Touch Example
|Edition description:||1st ed.|
|Product dimensions:||7.50(w) x 9.20(h) x 0.80(d)|
About the Author
Carlos Oliveira works in the area of quantitative finance, with more than ten years of experience in creating scientific and financial models in C++. During his career, Carlos has developed several large-scale applications for financial companies such as Bloomberg L.P. and F-Squared Investments.
Carlos Oliveira obtained a PhD in Operations Research and Systems Engineering from the University of Florida, an MSc in Computer Science from UFC (Brazil), and a BSc in Computer Science from UECE (Brazil). He has also performed academic research in the field of combinatorial optimization, with applications in diverse areas such as finance, telecommunications, computational biology, and logistics. Carlos has written more than 30 academic papers on optimization, and authored three books, including Practical C++ Financial Programming (Apress, 2015).