OOP the Easy Way
Object-Oriented Programming the Easy Way: a manifesto for reclaiming OOP from three decades of confusion and needless complexity.APPropriate Behaviour
APPosite Concerns
FSF
Category Archives: iPad
On the inevitability of Photoshop for iPad
Back in 2011, I was speaking at QCon London at the invitation of my friend and de Programmatica Ipsum co-conspirator akosma, and one of the conference’s community events was an iOS developer meet-up hosted in the conference centre. I think … Continue reading
Intuitive is the Enemy of Good
In the previous instalment, I discussed an interview in which Alan Kay maligned growth-restricted user interfaces. Here’s the quote again: There is the desire of a consumer society to have no learning curves. This tends to result in very dumbed-down … Continue reading
Standing at the Crossroads
A while back I wrote Conflicts in my Mental Model of Objective-C, in which I listed a few small scale dichotomies or cognitive dissonances that plagued my notion of my work. I just worked out what the overall picture is, … Continue reading
Posted in AAPL, iPad, OOP, Responsibility
Leave a comment
Garbage-collected Objective-C
When was a garbage collector added to Objective-C? If you follow Apple’s work with the language, you might be inclined to believe that it was in 2008 when AutoZone was added as part of Objective-C 2.0 (the AutoZone collector has … Continue reading
Posted in academia, architecture of sorts, gnustep, iPad, iPhone, Mac, OOP
Leave a comment
Lighter UIViewControllers
The first issue of Objective-C periodical objc.io has just been announced: Issue #1 is about lighter view controllers. The introduction tells you a bit more about this issue and us. First, Chris writes about lighter view controllers. Florian expands on … Continue reading
A two-dimensional dictionary
What? A thing I made has just been open-sourced by my employers at Agant: the AGTTwoDimensionalDictionary works a bit like a normal dictionary, except that the keys are CGPoints meaning we can find all the objects within a given rectangle. … Continue reading
Posted in code-level, iPad, iPhone, Mac, OOP, performance, software-engineering
Comments Off on A two-dimensional dictionary
Sideloading content into iOS apps
All non-trivial apps visualise content in some form, whether it’s game levels embedded in the app, data loaded from some internet service, or something else. In many cases the developer who’s writing the Objective-C code isn’t going to be the … Continue reading
Posted in iPad, iPhone, tool-support
Comments Off on Sideloading content into iOS apps
The debugger of royalty
We’ve all got little libraries of code or scripts that help us with debugging. Often these are for logging information in a particular way, or wrapping logs/tests such that they’re only invoked in Debug builds but not in production. Or … Continue reading
Posted in code-level, iPad, iPhone, Mac, TDiOSD
11 Comments
Why we don’t trust -retainCount
I’m pretty sure @bbum must have worn through a few keyboards telling users of StackOverflow not to rely on the value of an Objective-C object’s -retainCount. Why? When we create an object, it has a retain count of 1, right? … Continue reading
Posted in code-level, Foundation, iPad, iPhone, Mac
Comments Off on Why we don’t trust -retainCount
On explaining stuff to people
An article that recently made the rounds, though it was written back in September, is called Apple’s Idioten Vektor. It’s a discussion of how the CCCrypt() function in Apple’s CommonCrypto library, when used in its default cipher block chaining mode, … Continue reading
Posted in books, Crypto, documentation, Encryption, iPad, iPhone, Mac, PCAS
Leave a comment