Welcome!

Blog Feed Post

Learning Objective-C 2.0: A Hands-on Guide to Objective-C for Mac and iOS Developers (2nd Edition) Book Review

If I had to give this book a one word description, I would say it is 'balanced'. In the beginning of the book the author mentions that he does not want to right one of those books that list a little code and then explains the code, changes the code, explains those changes and so on and so on.

At first he scared me. I have read some insanely wordy programming and engineering books. I have a much harder time getting through those than the type the author described. I was afraid this book would be one of those that I don't get anything out of except war stories from the author's career. That would not be all bad if the stories had anything to do with the book. I am happy to report that is not what happened.

I found the author had just the right amount of discussion around the different language features he was covering. I thought that the offer had a very no nonsense approach to all the topic that he covered.

The book is broken down into four parts. Below I have listed the three different parts, and the chapters that they contain.

Part I: Introduction to Objective-C
Chapter 1. C, the Foundation of Objective-C
Chapter 2. More about C Variables
Chapter 3. An Introduction to Object-Oriented Programming
Chapter 4. Your First Objective-C Program

Part II: Language Basics
Chapter 5. Messaging
Chapter 6. Classes and Objects
Chapter 7. The Class Object
Chapter 8. Frameworks
Chapter 9. Common Foundation Classes
Chapter 10. Control Structures in Objective-C
Chapter 11. Categories, Extensions, and Security
Chapter 12. Properties
Chapter 13. Protocols
Part III: Advanced Concepts Chapter 14. Memory Management Overview
Chapter 15. Reference Counting
Chapter 16. ARC
Chapter 17. Blocks
Chapter 18. A Few More Things

Part IV: Appendices
Appendix A. Reserved Words and Compiler Directives
Appendix B. Toll-Free Bridged Classes
Appendix C. 32- and 64-Bit
Appendix D. The Fragile Base Class Problem
Appendix E. Resources for Objective-C

One thing I really liked about the book was that the author did not use ARC throughout the book. He decided that reference counting is a very important topic to understand. The logic is that you're going to have to work with legacy code that is not going to be using ARC. There's much more legacy code out there then there is new code. He does take the time to explain how ARC works later in the book and the advanced concepts part.

I thought that I would lightly skim the first few chapters that cover the foundation of Objective-C. But as I was skimming, I found the author's writing style very nice to read, and therefore I ended up reading it word for word.

I must admit that I have been using messaging for a while now, but I never really understood messaging within the Objective-C context until I read this author's explanation of it. The author also has excellent coverage of properties and all of the different ways they can be declared.

The chapter on blocks was also very well put together. The author starts out by explaining function pointers and the issues that you can run into using them. He then does a very thorough job of covering blocks.

Every chapter in the book is a gem and overall I found this author's writing style made the book very easy to read. This book will stay by my side. It's not only a good cover to cover read, it is also a very good reference.

I would recommend this book as the place to start for anyone coming from a different find which such as C# or Java, and also as the place to start for anybody looking to get into building applications with Objective-C.

Learning Objective-C 2.0: A Hands-on Guide to Objective-C for Mac and iOS Developers (2nd Edition)

Read the original blog entry...

More Stories By Tad Anderson

Tad Anderson has been doing Software Architecture for 18 years and Enterprise Architecture for the past few.

Latest Stories
Modern software design has fundamentally changed how we manage applications, causing many to turn to containers as the new virtual machine for resource management. As container adoption grows beyond stateless applications to stateful workloads, the need for persistent storage is foundational - something customers routinely cite as a top pain point. In his session at @DevOpsSummit at 21st Cloud Expo, Bill Borsari, Head of Systems Engineering at Datera, explored how organizations can reap the bene...
Serverless Architecture is the new paradigm shift in cloud application development. It has potential to take the fundamental benefit of cloud platform leverage to another level. "Focus on your application code, not the infrastructure" All the leading cloud platform provide services to implement Serverless architecture : AWS Lambda, Azure Functions, Google Cloud Functions, IBM Openwhisk, Oracle Fn Project.
As you know, enterprise IT conversation over the past year have often centered upon the open-source Kubernetes container orchestration system. In fact, Kubernetes has emerged as the key technology -- and even primary platform -- of cloud migrations for a wide variety of organizations. Kubernetes is critical to forward-looking enterprises that continue to push their IT infrastructures toward maximum functionality, scalability, and flexibility.
At CloudEXPO Silicon Valley, June 24-26, 2019, Digital Transformation (DX) is a major focus with expanded DevOpsSUMMIT and FinTechEXPO programs within the DXWorldEXPO agenda. Successful transformation requires a laser focus on being data-driven and on using all the tools available that enable transformation if they plan to survive over the long term. A total of 88% of Fortune 500 companies from a generation ago are now out of business. Only 12% still survive. Similar percentages are found throug...
AI and machine learning disruption for Enterprises started happening in the areas such as IT operations management (ITOPs) and Cloud management and SaaS apps. In 2019 CIOs will see disruptive solutions for Cloud & Devops, AI/ML driven IT Ops and Cloud Ops. Customers want AI-driven multi-cloud operations for monitoring, detection, prevention of disruptions. Disruptions cause revenue loss, unhappy users, impacts brand reputation etc.
In 2014, Amazon announced a new form of compute called Lambda. We didn't know it at the time, but this represented a fundamental shift in what we expect from cloud computing. Now, all of the major cloud computing vendors want to take part in this disruptive technology. In his session at 20th Cloud Expo, John Jelinek IV, a web developer at Linux Academy, will discuss why major players like AWS, Microsoft Azure, IBM Bluemix, and Google Cloud Platform are all trying to sidestep VMs and containers...
Serverless applications increase developer productivity and time to market, by freeing engineers from spending time on infrastructure provisioning, configuration and management. Serverless also simplifies Operations and reduces cost - as the Kubernetes container infrastructure required to run these applications is automatically spun up and scaled precisely with the workload, to optimally handle all runtime requests. Recent advances in open source technology now allow organizations to run Serv...
Serverless Computing or Functions as a Service (FaaS) is gaining momentum. Amazon is fueling the innovation by expanding Lambda to edge devices and content distribution network. IBM, Microsoft, and Google have their own FaaS offerings in the public cloud. There are over half-a-dozen open source serverless projects that are getting the attention of developers.
The benefits of automated cloud deployments for speed, reliability and security are undeniable. The cornerstone of this approach, immutable deployment, promotes the idea of continuously rolling safe, stable images instead of trying to keep up with managing a fixed pool of virtual or physical machines. In this talk, we'll explore the immutable infrastructure pattern and how to use continuous deployment and continuous integration (CI/CD) process to build and manage server images for any platform....
If you are part of the cloud development community, you certainly know about “serverless computing,” almost a misnomer. Because it implies there are no servers which is untrue. However the servers are hidden from the developers. This model eliminates operational complexity and increases developer productivity. We came from monolithic computing to client-server to services to microservices to the serverless model. In other words, our systems have slowly “dissolved” from monolithic to function-...
Containers and Kubernetes allow for code portability across on-premise VMs, bare metal, or multiple cloud provider environments. Yet, despite this portability promise, developers may include configuration and application definitions that constrain or even eliminate application portability. In this session we'll describe best practices for "configuration as code" in a Kubernetes environment. We will demonstrate how a properly constructed containerized app can be deployed to both Amazon and Azure ...
Atmosera delivers modern cloud services that maximize the advantages of cloud-based infrastructures. Offering private, hybrid, and public cloud solutions, Atmosera works closely with customers to engineer, deploy, and operate cloud architectures with advanced services that deliver strategic business outcomes. Atmosera's expertise simplifies the process of cloud transformation and our 20+ years of experience managing complex IT environments provides our customers with the confidence and trust tha...
Docker is sweeping across startups and enterprises alike, changing the way we build and ship applications. It's the most prominent and widely known software container platform, and it's particularly useful for eliminating common challenges when collaborating on code (like the "it works on my machine" phenomenon that most devs know all too well). With Docker, you can run and manage apps side-by-side - in isolated containers - resulting in better compute density. It's something that many developer...
Is advanced scheduling in Kubernetes achievable?Yes, however, how do you properly accommodate every real-life scenario that a Kubernetes user might encounter? How do you leverage advanced scheduling techniques to shape and describe each scenario in easy-to-use rules and configurations? In his session at @DevOpsSummit at 21st Cloud Expo, Oleg Chunikhin, CTO at Kublr, answered these questions and demonstrated techniques for implementing advanced scheduling. For example, using spot instances and co...
At CloudEXPO Silicon Valley, June 24-26, 2019, Digital Transformation (DX) is a major focus with expanded DevOpsSUMMIT and FinTechEXPO programs within the DXWorldEXPO agenda. Successful transformation requires a laser focus on being data-driven and on using all the tools available that enable transformation if they plan to survive over the long term. A total of 88% of Fortune 500 companies from a generation ago are now out of business. Only 12% still survive. Similar percentages are found throug...