toxicsoftware.com

RANDOMIZE USR 0

toxicsoftware.com header image 4

Sequence Grabber Code - now with CoreGoodness

August 8th, 2005 · Comments · Default

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 the project more lightweight). I’ve improved the code all round - but the key addition [...]

[Read more →]

Tags:······

Sequence Grabber Cocoa Source Code

November 22nd, 2004 · Comments · Default

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 machine. Thanks to “jlecuyer” for pointing out the original version was broken.

Update: Information on new version [...]

[Read more →]

Tags:·······

Cocoa: Fetching all attachments from an NSAttributedString

November 27th, 2003 · Comments · Default

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 NSAttachmentAttributeName attributes within the string instead of searching for NSAttachmentCharacter characters. */ - (NSArray *)allAttachments;

@end

Source:

@implementation [...]

[Read more →]

Tags:··