How to properly hack your AppleTV

Posted by tom June 24th, 2007

Using the article on AwkwardTV I was able to hack my AppleTV in no-time (literally 15 minutes!) and more importantly it worked! There are some articles on the web, which just don’t work the way they describe.

The most important thing to remember is that once you add the EFI partition to your to-be-appletv-harddisk you can’t format the Media partition anymore (and basically you’ll need to start over).

For good photos on how to open up your AppleTV look at this article by Macworld, but follow the AwkwardTV instructions otherwise.

Cocoa: Deleting multiple NSTableView items

Posted by tom June 20th, 2007


NSIndexSet *selectedSet = [tableView selectedRowIndexes];

unsigned int row = [selectedSet lastIndex];
while (row != NSNotFound)
{
    [yourNsMutableArray removeObjectAtIndex:row];  
    row = [selectedSet indexLessThanIndex:row];
}