The Glaring Hole in the NSTextInputClient Protocol

The fine folks at Apple generally do a pretty good job of designing the programmatic interfaces, “protocols” in Objective-C speak, that the system and applications use to communicate with each other. I mean that most sincerely. Designing programmatic interfaces is hard, because you have to anticipate the needs of different system components. Sometimes, you have…

0

Craig’s Bug

One of the things I love about this job is tracking downinteresting bugs.  It’s like readinga good who-done-it, complete with plot twists, multiple potential suspects and a fascinating array of characters. Late last September, Craig Eisler submitted a bug that had all of these elements. Now, when your general manager submits a bug, you don’t necessarily…

9

There Comes a Time

In every project, there’s a point where you have to stop tweaking this and touching up that little bit of behavior and focus on just fixing bugs.  If you don’t, then you never ship.  Nadyne gave some of the details over on mac mojo. Well, we’re getting close to that time with Mac Office 12. …

5

BBEdit 8.5

MacWorld has a decent review of BBEdit 8.5, but it fails to mention a new feature that is of particular use to programmers. One of the features of CodeWarrior that I’d missed was the syntax highlighting that the IDE applied to symbols that were defined within the project.  In fact, I hadn’t realized just how…

2

What’s Wrong with this Code: The Answer

Bjarne Stroustrup is a brilliant man, which means he’s very good at defining programming languages. It also means he’s not very good at writing books about the programming languages he’s defined. His writing goal is concise precision. Unfortunately, for those of us who have to read what he writes, that quest for concise precision often…

10

What’s Wrong with this Code?

A while back, Erik Schwiebert wrote about some of the travails of moving our build system from one using CodeWarrior to one using XCode and GCC. Erik mentioned the huge number of errors and warnings we’ve had to resolve, but, in reading some of the reactions around the web, I’m afraid that some people, particularly…

21

Compound Statement Macros

I had thought this was a rather well-known trick, but, after reacquanting myself with Alexandrescu’s Modern C++ Design, I’ve come to believe that it’s not at as well-known as I thought.  So, I thought I’d share it here for posterity. It’s common to write a macro that looks like a function call, yet expands to…

4

Got Frontier and MacBird Experience?

Dave Winer is looking for a Mac developer with knowledge of Frontier and MacBird to work on his latest project: an OPML editor. According to Dave, the Mac version is stalled. If I didn’t just get a load of work heaped on me, I’d be sorely tempted to toss my hat in. It’d be a…

1

Flipping Out

I’ve seen quite a few people comment in blogs that the endian issue I mentioned yesterday won’t turn out to be much of an issue. Well, you can’t say I didn’t warn you about drinking the Kool-Aid, but it you still have some lingering doubts that there isn’t a significant number of developers out there…

12

The Beginning of the Endian

So the rumors have been true. Apple is moving to Intel processors, which, in some ways, makes sense. At least it does from Apple’s point of view. The Kool-Aid has never really affected their ability to figure out what’s right for Apple regardless of the direction they’ve taken. For users, the transition won’t be all…

21