Tag Archives: Source Code

AcornImage

It was just your typical InterfaceBuilder 3 window… with your vanilla NSImageView… referring to an image file within an Xcode project… Holy Cow! An Acorn file? Does that mean I can use Acorn files directly in Interface Builder 3? Does … Continue reading

Posted in Default | Tagged , , , , | View Comments

R.I.P Toxic Progress Indicator

Thanks to Matt Gemmell for pointing out that Apple has finally provided a pie chart style NSProgressIndicator for the circular/determinate modes. This style is new to Leopard. This means my Toxic Progress Indicator class can be retired, at least for … Continue reading

Posted in Default | Tagged , , , | View Comments

SpaceNavigator controlled Lego Mindstorms NXT

It’s my second year of coaching a First Lego League team. The experience has been fantastic, I’m teaching 4th and 5th grade children about robots and computers, and teaching them to build and program their own robots. This year the … Continue reading

Posted in Default | Tagged , , , , , , | View Comments

The Intersection of Cool and Awesome

3Dconnexion (a division of Logitech) produces the coolest named device ever: The 3Dconnexion SpaceNavigator . This is a 3D input device with 6 degrees of freedom, meaning you can move and rotate it through the X, Y and Z planes. … Continue reading

Posted in Default | Tagged , , , , , | View Comments

Subversion Moved

I’ve had a lot of emails asking where the subversion repository has gone. The simple answer is I’ve stopped hosting my public subversion repository on DreamHost and have now created a Google Project for it. The project URL is: http://code.google.com/p/toxic-public/ … Continue reading

Posted in Default | Tagged , | Comments Off

‘Discrete’ NSLevelIndicatorCell too slow

I recently needed to embed the ‘Discrete’ variant of the NSLevelIndicatorCell into an NSTableView. The discrete cell looks like this: Unfortunately adding the cell caused drawing of the table’s window to slow to crawl. The spinning beachball of death would … Continue reading

Posted in Default | Tagged , , , , | View Comments

ToxicMedia & SequenceGrabber Stable

I’ve moved all the SequenceGrabber utility code into its own framework: ToxicMedia.framework, the code is available from trunk/Frameworks/ToxicMedia. All my projects that use CoreImage, CoreVideo or QTKit now depend on this framework. Now I don’t need to update 4 or … Continue reading

Posted in Default | Tagged , | View Comments

More SequenceGrabber Updates

Spurred on by interest in my Sequence Grabber source code I’ve added a whole slew of new functionality to it tonight (for various reasons this code is a lot of fun to work on). The most important change is CCoreImageView … Continue reading

Posted in Default | Tagged , , , , , , | Comments Off

Sequence Grabber Updated

My sequence grabber code (previously mentioned here) has been updated. It should be a lot easier to get up and running now – I’ve added a “CSequenceGrabberView” NSView subclasss that you just need to drag and drop into your nib’s … Continue reading

Posted in Default | Tagged , , , , , , | Comments Off

Sequence Grabber code now has Motion Detection

I’ve added basic motion detection capabilities to Cocoa Sequence Grabber code now. This is what happens when your cat wakes you up too darn early after peeing under the computer desk. Sample movie (MP4/QuickTime 7 required, 64KB file): MotionDetection.mp4 No … Continue reading

Posted in Default | Tagged , , , , , , | View Comments