1. KJGridLayout

    Xcode's Interface Builder is a pretty good user-interface layout tool, especially for simple situations. However, it is not the best tool for every job. Sometimes you have to write code to dynamically create user interface elements or to move them around as the view is resized.

    When you do this …

    » Read more

  2. Easy Gradient Backgrounds for UITextViewCells

    When you create a table-view-based iPhone app, by default you get tables with plain white rows. But all the cool kids are making apps with 3D-ish gradient backgrounds. You want to make those kinds of apps too, right? This article explains how.


    Making table cells with custom backgrounds is …

    » Read more

  3. 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 …

    » Read more

© 2003-2023 Kristopher Johnson