Author Posts

no_thumbnail

Sharing your mouse, keyboard and pasteboard with several Macs (or PC's)

Like many people, I have several computers at work that I frequently switch among: I recently started using Synergy to share my mouse, keyboard and pasteboard among my main work G5 and my home Powerbook.... [read more]
General
no_thumbnail

Leopards Etc

Last weekend at Ken Adelman’s house, I got to see five of the gorgeous cats from Leopards, Etc. It was really really really cool! I like wild cats, and it was great to see them... [read more]
General, Other Stuff
no_thumbnail

Using Xcode to become a faster programmer

You can utilize some of Xcode’s cool features to become a faster Mac OS X programmer. Here are some things which you may not know: 1. Use Code Completion (Code Sense). However, the default keyboard... [read more]
Apple, General
no_thumbnail

Cmd – click. The subtle secret of Mac OS X.

It seems that a lot of people don’t know how cmd click works in a lot of Mac OS X Cocoa applications. To put it simply, Cmd-clicking on a non key window (or application for... [read more]
Cocoa, General
no_thumbnail

Drag and Drop in an NSTableView

Drag and Drop in an NSTableView is easy to do. However, I think the documentation (Table Views: Using Drag and Drop in Tables) for it isn’t particularly great. It misses a few points, so I’m... [read more]
Cocoa, General
no_thumbnail

Dynamically populating an NSPopUpButtonCell in an NSTableView

It is quite common. You have a PopUpButton (NSPopUpButtonCell) in an NSTableView and you want to dynamically change the contents based on the selected row: How do you do this? There are a few tricky... [read more]
Cocoa, General
no_thumbnail

Delphi easter eggs

I can’t believe people found out about the Kitchen sink! http://www.blong.com/Undocumented/Delphi2005.htm I did write that silly easter egg.
General, Other Stuff
no_thumbnail

Discovery HD — Weird Homes

Hi All, Someone just emailed me saying they saw the episode of “Weird Homes” with me in it. It appears to be airing right now! Discovery HD Theater channel. here’s info: http://dhd.discovery.com/schedule/episode.jsp?episode=26&cpi=82216&gid=0 Cool, huh! I’m... [read more]
General, Treehouses
no_thumbnail

Different cells on each row in an NSTableView or NSOutlineView

Some people have asked me how to dynamically change the cell that is displayed for each row in an NSTableView or NSOutlineView. Generally, the same cell is used for each row, but it is possible... [read more]
Cocoa, General
no_thumbnail

Fixing the annoying focus stealing habit of Safari RSS feeds

Safari RSS support is way cool. Except for the fact that after a page has loaded, the search field receives focus, causing the space bar to not scroll down a page at a time. I... [read more]
Apple, General
no_thumbnail

Debugging OCTest bundles

Another old article: June 20, 2005 Debugging OCTest bundles To debug OCTest bundles: 1. Add a new executable to your Xcode project pointing it to “otest” at /Developer/Tools/otest 2. Double click on the executable, and... [read more]
Apple, Cocoa, General
no_thumbnail

Repost: How to find memory leaks in Cocoa apps with Object Alloc

(The original of this I accidentally killed — here is a copy). If your Cocoa application leaks memory, here is a way to find those leaks! 1) Open your application in Object Alloc 2) Start... [read more]
Apple, Cocoa, General
no_thumbnail

Changing the disclosure triangle in an NSOutlineView

At WWDC I was asked how to remove the disclosure triangle in an NSOutlineView. Well, first things first. You can change it with this bit of code in your delegate: - (void)outlineView:(NSOutlineView *)ov willDisplayOutlineCell:(NSButtonCell *)cell... [read more]
Apple, Cocoa, General
no_thumbnail

rail unicycle riding at East Cliff Rd, Santa Cruz, CA (aka: ‘the hook’)

I did some cool rail riding last weekend: http://www.bluetreesoft.com/wallpapers/wallpapers.cgi/east_cliff?ppp=0 Here’s a snapshot: I am actually right above the cliff. Check out the other pictures. Cool, huh! This is what I do in my spare time.... [read more]
General, Unicycling
no_thumbnail

Tooltips for NSTableView cell’s in Tiger

At WWDC, I quickly mentioned how easy it is to add tooltip’s to an NSCell for an NSTableView/NSOutlineView. Here is a quick snippet of code on how to do this only if the text doesn’t... [read more]
Apple, Cocoa, General
no_thumbnail

Tiger and the keyboard

Okay, one of the coolest Tiger enhancements has to do with keyboard shortcuts. The “really smart” Human Interface people at Apple figured out some stuff that bothered me in Panther. The main one that I... [read more]
Apple, General
no_thumbnail

Drawing a “mail like” border on items in an NSTableView

Mail has a cool way of making unread messages stand out. It is really easy to do this type of thing with NSTableView/NSOutlineView. Subclass the one you want, and override drawRow. Toss in the code... [read more]
Apple, Cocoa, General

Subscribe to new posts:

You'll get an email whenever a I publish a new post to my blog and nothing more. -- Corbin

As an Amazon Associate I earn from qualifying purchases.

(c) 2008-2024 Corbin Dunn

Privacy Policy

Subscribe to RSS feeds for entries.

43 queries. 0.190 seconds.

Log in