While working on an iPhone application, I decided I wanted to change the colors of the background and section headers of a UITableView
with the UITableViewStyleGrouped
style. It took a lot more work than I expected, so I'm sharing what I learned with anyone else who needs to do this …
code
Adding a Custom View to an NSStatusItem
My Menubar Countdown application uses an NSStatusItem to display itself in the menu bar. I recently had to add a custom view to that status item, and thought I'd share what I learned about the process here.
A little background: a status item is one of those little thingees you …
Saving a View as a Photo in an iPhone App
For an iPhone app that I'm working on, I want to be able to save the screen image to the Photos album. My first attempt at this was complicated: I created a color space, a bitmap context, a CGImage, and finally a UIImage, copying and pasting most of the code …