Brent Dax (brentdax) wrote,
Brent Dax
brentdax

  • Mood:
  • Music:

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: geekiness, mac
Subscribe
  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 0 comments