Services
Find Stuff
Pages
Buy My Apps
Other Stuff I’ve Built
Book Club
Archives
- May 2018
- February 2014
- December 2013
- November 2013
- August 2012
- July 2012
- April 2012
- March 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
Categories
- Boxing (23)
- Energy (5)
- iPhone (142)
- Jack Handy (283)
- NaNoWriMo (3)
- People (11)
- Planet Microsoft (5)
- Projects (88)
- Python (43)
- Reelviews (13)
- Reverse Engineering (18)
- Six Word Stories (111)
- The Hard Way (3)
- Uncategorized (6)
- UNIX (8)
- Vacation Slides (30)
- Web stuff (51)
Blogroll
Category Archives: iPhone
objectAtIndexPath:
I’ve praised the amazingly useful NSFetchedResultsController before, but today I want to point out a tiny little problem with this class, or at least its documentation. Briefly, objectAtIndexPath: will sometimes return objects for invalid index paths.
Posted in iPhone
Comments Off
Table Updates & Scrolling
I want to follow up on a post from a few weeks ago; I’d posted some code that demonstrated how an NSFetchedResultsController could be used to automatically update a UITableView when the data in a ManagedObjectContext were changed. Unfortunately, that … Continue reading
Posted in iPhone
Comments Off
Deep Copying (Bug Fix)
A few months ago I wrote a short piece on creating deep mutable copies of plist data structures. Today, a (modestly anonymous) reader was kind enough to write in with a bug fix, which I would like to share with … Continue reading
Posted in iPhone
Comments Off
Quickie: Core Data “Scratchpads”
The Cocoa Core Data documentation makes frequent reference to the fact that Managed Object Contexts (MOCs) are “scratchpads“, in which objects can be moved around willy-nilly without affecting the permanent store. This is all well and good, but it leaves … Continue reading
Posted in iPhone
Comments Off
Housekeeping
Today I just want to take care of a little administrivia. I’ve piled up a fair number of posts related to Shiny Red Buttons, but they’re scattered a little randomly throughout the blog. Therefore, I pulled together a page devoted … Continue reading
Posted in iPhone
Comments Off
SMS Bubbles
Talking with Benoit Cerrina (of ShinKanji) about a related issue, I started to wonder how you could render “bubble” text, as for instance in the SMS application. It turns out to be pretty easy; all you need is a little … Continue reading
Posted in iPhone
Comments Off
Fitted Labels
A recent problem required me to find bounding boxes for text on the iPhone. While this problem is neither typical nor particularly hard, I did spend some time digging though the documentation until I found an approach that I was … Continue reading
Posted in iPhone
Comments Off
Core Data
One of the developer-side enhancements included in iPhone OS 3.0 was Core Data. Core Data is basically an ORM layer, which one could either take or leave; it’s nice to avoid writing all that SQL, but you’re always taking on … Continue reading
Posted in iPhone
Comments Off
Fixed-Width
This one is a little personal. I have an idiosyncratic, and probably ill-advised, interest in getting ASCII art to display properly on the iPhone. (This was actually one of the first things I experimented with on the platform.) My efforts … Continue reading
Posted in iPhone
Comments Off
More Choices
I want to follow up on Monday’s post about my ChoiceMenu class; that class contained one particular line of code that made it a lot more useful and flexible. Perhaps I’m inordinately proud of it, but I think it’s worth … Continue reading
Posted in iPhone
Comments Off