I’ve been a die hard C programmer for many years. But it wasn’t until Objective-C (and eventually Swift) that I found an Object-Oriented programming that I found acceptable. And the reason was because while they had objects and classes, these weren’t the only ways to have different components interact with each other. I’ve often had […]
Here’s a few links to help with unit testing on iOS… Tools Specta Expecta OCMockito Cedar OCMock
Automatic Reference Counting (ARC) simplifies a lot in Objective-C, including singletons. Here’s a template for you:
Here’s the fullest implementation of a Singleton pattern for Objective-C.