You are currently looking at an older section of the wincent.dev website.
Please check the new version of the site at https://wincent.dev/ for updated content.

wincent Wincent Colaiuta's weblog

« June 2005 | Index | August 2005 »

July 21, 2005

Infuriating Cocoa bugs

Every now and again I come up against an infuriating Cocoa bug. Today I've just spent a few hours struggling against one in particular.

Read full article

More Cocoa articles , More Development articles

Posted by wincent at 8:38 AM

July 19, 2005

Coding notes: optimization and plug-ins

Donald Knuth famously said "premature optimization is the root of all evil".

Read full article

More Cocoa articles , More Development articles

Posted by wincent at 4:06 PM

July 15, 2005

Gefen DVI DL Switcher KVM recommendation

I just got hold of a Gefen DVI DL Switcher KVM today and wanted to post a recommendation. Gefen definitely don't make the cheapest KVMs out there but they could well make the best ones.

Read full article

Posted by wincent at 9:33 PM

July 14, 2005

Category bonanza

I just noticed that I'm extending nearly 30 Cocoa classes using categories in the WOBase framework alone.

Read full article

More Cocoa articles , More Development articles

Posted by wincent at 10:16 PM

The best way to write accessors

As you learn Objective-C you'll come across lots of advice about how, when, why to write accessor methods and you'll see many different ways of writing them.

Read full article

More Cocoa articles , More Development articles

Posted by wincent at 11:01 AM

July 13, 2005

Whittling away the controller

Since my post the other day about my monstrously large main controller class I've been working hard on adding new features to Synergy Advance. But working on a large body of code is like moulding pottery from clay: even as you go along adding new bits you continue to work with the already-existing clay, moulding it, reforming it, smoothing it and so on.

Read full article

More Cocoa articles , More Development articles

Posted by wincent at 1:45 PM

July 10, 2005

Nice moments

I just had one of those nice moments where you write some code and you know straight away that you've done the right thing. These moments usually follow a period of doubt, then something slips into place and you realize that you've found the correct solution. In this case I was writing an Objective-C wrapper for some sysctl(3) stuff.

Read full article

More Cocoa articles , More Development articles

Posted by wincent at 11:59 PM

Synergy Advance source code

I have decided to release lines 4452 to 4455 (inclusive) of the file, "WOSynergyAdvanceController.m", part of the source code for Synergy Advance, into the public domain.... But I post it here for three reasons: (1) It's Sunday and I'm a little bored; (2) Because I love short methods (they're much easier to maintain); and (3) Because it's one hell of a long source file.

Read full article

More Cocoa articles , More Development articles

Posted by wincent at 10:11 AM

July 6, 2005

Synergy Advance framework

From the very beginning I've wanted Synergy Advance to be as modular as possible to maximize code reuse and make it easily extensible. The first thing I started by doing was splitting off code into reusable frameworks.

Read full article

More Cocoa articles , More Development articles

Posted by wincent at 5:02 PM

July 5, 2005

Worst interface ever

The Worst. Interface. Ever.

Read full article

More Opinion articles

Posted by wincent at 11:12 AM

July 3, 2005

Open source licensing

There is a lot of misinformation on the net about the different types of open source licenses so I just wanted to offer some clarification.

Read full article

More Opinion articles

Posted by wincent at 7:32 AM