Skip to content

{ Author Archives }

Customer Support

Why do companies need to make reporting a bug difficult? I started up a bunch of apps this afternoon, trying to use up a bunch of memory and trigger a bug where something sends a stop signal to Preview. This is a problem because whatever sent the signal never tells it to continue, and this [...]

class-dump 3.3.4 is now available

Lion’s been out for about six weeks now, so it’s time to release an updated version of class-dump. Especially when the old version gets assertion failures on Lion! So here it is, version 3.3.4. You can download this version from the class-dump project page. class-dump now handles two more types: _Complex, which fixes a parse [...]

class-dump 3.3.1 is now available

Version 3.3.1 adds support for dumping 10.6 style protected binaries, so that you can once again look at the Finder, Dock, SystemUIServer, and a few other applications. This release fixes a crasher when trying to dump 64-bit files with the 32-bit version of class-dump. Now it prints an error message saying that this isn’t supported. [...]

class-dump 3.3 is now available

A new version of class-dump is now available. You can download it from the links on the class-dump project page. It is built for Mac OS X 10.5 or later. Version 3.3 adds support for Snow Leopard, improves property handling, improves structure/union handling, fixes a bunch of bugs (including two crashers), and no doubt adds [...]

class-dump 3.2 is now availabe

A new version of class-dump is now available. You can download it from the links on the class-dump project page. It is built for Mac OS X 10.5 or later. This release includes support for Objective-C 2.0 on both 32 bit (iPhone) and 64 bit (Mac OS X). It shows class properties and handles all [...]

Private API to the rescue

I started using a new method, -[NSView viewWillDraw], in one of my views for performing layout. This is a really handy method. It supports further dirtying of the view and frame changes. But while I was converting my code I discovered a case where my entire view was being redrawn. This was odd, so I [...]

Using NSTrackingArea for cursor rects

As I said before, Leopard adds a new class, NSTrackingArea, that is now the preferred way of setting up cursor rectangles. It can also handle mouse entered/exited and mouse moved events, but right now I’m only interested in cursor updates. I didn’t really gain anything from using NSTrackingArea in this case. I still have to [...]

Old style cursor rects

Leopard adds a new class, NSTrackingArea, that is now the preferred way of setting up cursor rectangles. I’m looking at switching some old code to use the new method, but first I’ll describe how it currently works. The old way Your NSView subclass implements -resetCursorRects to add the cursor rects. The old ones have already [...]

iCal 3: Shake, Rattle, and Scroll

It’s not my fault. I just wanted to move the iCal window out of the way so that I could see Pierre Igot’s blog entry on iCal 3 hyphenation. I was going to add an appointment and watch the problem in action. But when I moved the window, the day view started scrolling up. This [...]

Leopard hates custom views that draw focus rings

The Cocoa release notes say this: To help guarantee correct redraw of focus rings, AppKit may automatically draw additional parts of a window beyond those that application code marked as needing display. It may do this for the first responder view in the application’s key window, if that first responder view’s focusRingType property is set [...]