Category Archives: Technology

Core Data: Transient Properties on NSManagedObject

      15 Comments on Core Data: Transient Properties on NSManagedObject

Transient properties are properties on a NSManagedObject that are not persisted to the object store. They are calculated at runtime, usually on the basis of other property values. The classic example would be for a Person object, generating a fullName property that is not persisted to the object store as both firstName and lastName are, so it can be composed at runtime.

Thoughts on iOS 7 After a Week

      No Comments on Thoughts on iOS 7 After a Week

Ben Brooks posted some thoughts on the good and the not so good aspects of iOS 7. I have to take task with some of them, because not all is rosey. The Good (Apparently) The lock screen is f*cking gorgeous — I don’t care what anyone says. Well I say not so gorgeous. The time font is too light. I… Read more »

TDD in Objective-C: Scoping an iOS Project via Mocks and Protocols with Unit Tests in Kiwi

Overview The following is an overview of how I approach Test Driven Development (TDD) for iOS projects. I use Kiwi as my TDD tool of choice, but you could apply the following with other TDD tools if you like. The only prerequisite is that the TDD tool supports mocks on protocols. App Requirements For this example I’m building an application… Read more »

iOS 7 First Impressions

      No Comments on iOS 7 First Impressions

Finally managed to get the iOS 7 over-the-air update overnight after it became available from 6pm UK time. I’ve not got a brilliant connection on this campsite, but it was not helped by Apple’s servers being overwhelmed. But then you try doing updates of a 700mb download to 300 million people. iPad mini had the wrong timezone from the welcome… Read more »

Microsoft CEO Steve Ballmer to Retire in Next 12 Months

Now here is some news that I think many have been clamouring for for many a year. Microsoft has never been the same since the departure of Bill Gates, and you might argue even for some time before that. Microsoft had a monopoly on the PC industry for a long time, and that as been squandered throughout the current millennium.

Apple WWDC 2013 Predictions

      No Comments on Apple WWDC 2013 Predictions

Well its that time of the year again, you can’t be an Apple fan and run a blog without the obligatory predictions of what Apple will announce at its Worldwide Developer Conference, they keynote for which will start at 6pm BST. With Apple aiming to tighten up on pre-keynote leaks, there isn’t a great deal of concrete information for people… Read more »

TDD Exercise – A StringCalculator in Objective-C

After struggling over a custom UIControl implementation for iOS, I decided to take a little time out to play and learn more about design patterns and approaches in Objective-C. This exercise was the basis for learning a great deal about how I approach the design of a solution, and I hope it will benefit my other developments.

Test and Behaviour Driven Development on iOS with Kiwi

One thing about getting back into iOS development is that in the intervening two years or so, Xcode and the iOS SDK has changed quite a bit, and this has meant I’ve needed to try and overcome some preconceptions about how to approach certain development tasks. Automatic Reference Counting (ARC) has greatly simplified retain/release logic, and Storyboarding is a better… Read more »