?

Log in

No account? Create an account

Previous Entry | Next Entry

Go go gadget codebase!

I grabbed a new Camino nightly, and it looks like they fixed the rendering of Georgia and Trebuchet MS, the two fonts I have a long-time torrid love affair with. Yay!

In other news, I wrote my first Mac GUI program last night. It was based on an exercise from the Yellow Book—basically, write a GUI program where you can type in a text box and it'll count the number of characters. The cool thing was, I wrote only one line of code:
[label setStringValue:[
    NSString stringWithFormat:@"%d characters", 
        [[sender stringValue] length]
    ]
];
Most of the rest was just frozen objects that are automatically thawed when the program starts. So cool.

Tags: