Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
An Objective-C wrapper for Mac OS X’s FSEvents C API.
Objective-C Shell Ruby

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
CDEvents.xcodeproj
English.lproj
TestApp
CDEvent.h
CDEvent.m
CDEvents.h
CDEvents.m
CDEventsDelegate.h
CDEventsTestApp-Info.plist
CDEvents_Prefix.pch
Info.plist
README.mdown
version.plist

README.mdown

CDEvents

What is this?

It's an Objective-C wrapper for Mac OS X's FSEvents C API. Inspired and based upon the (MIT-licensed open source project SCEvents created by Stuart Connolly.

Requirements

Requires Mac OS X 10.5, since FSEvents were introduced in 10.5, and an Intel CPU. Supports both manual memory management and garbage collection.

What differentiates CDEvents from SCEvents then?

Not all that much but a litle. First of all all classes and protocols are prefixed with CD instead of SC, I hope that won't be to hard to remember? Secondly CDEvent (the event data wrapper-class) is immutable in contrast to SCEvent which is mutable. The next reason, this is the initial reason why I decided to rewrite SCEvents, being that the class SCEvents' is a singleton. I couldn't find a good reason as to why it had been designed this way and for my project an ordinary alloc/init route would be a better choise.

Another difference between CDEvents and SCEvents is that CDEvents is available for both manual memory management and environments using garbage collection.

So I've some of the code from scratch and taken some from SCEvents.

License

The code is released under the MIT-license.

Something went wrong with that request. Please try again.