Tag Archives: Source Code

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 , , , , , , | Leave a comment

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 , , , , , , | 3 Comments

Sequence Grabber Code – now with CoreGoodness

I’ve improved my Cocoa Sequence Grabber code (read: iSight code). I’ve added a couple of extra classes to represent audio and video channels. Gone are the dependencies on my MoreFile framework and some of my other Cocoa/Carbon utility classes (making … Continue reading

Posted in Default | Tagged , , , , , , | 8 Comments

Sequence Grabber Cocoa Source Code

Cocoa source code showing how to use a QuickTime Sequence Grabber (e.g. an iSight camera) from your Cocoa application. Update. I’ve uploaded a new version of the SequenceGrabber source code that should compile cleanly on any Mac OS X 10.3 … Continue reading

Posted in Default | Tagged , , , , , , , | 1 Comment

Cocoa: Fetching all attachments from an NSAttributedString

This code snippet is a category of NSAttributedString that shows how to fetch all attachments from the string. Header: @interface NSAttributedString (NSAttributedString_MoreExtensions) /** * @method allAttachments * @abstract Fetchs all attachments from an NSAttributedString. * @discussion This method searchs for … Continue reading

Posted in Default | Tagged , , | Leave a comment