CDEvent Class Reference
| Inherits from | NSObject |
| Conforms to | NSCoding NSCopying |
| Declared in | CDEvent.h |
Overview
An Objective-C wrapper for a FSEvents event data.
@note Inpired by SCEvent class of the SCEvents project by Stuart Connolly.
@note The class is immutable.
Tasks
-
identifierThe event identifier.
property -
dateAn approximate date and time the event occured.
property -
URLThe URL of the item which changed.
property -
flagsThe flags of the event.
property -
+ eventWithIdentifier:date:URL:flags:Returns an
CDEventcreated with the given identifier, date, URL and flags. -
– initWithIdentifier:date:URL:flags:Returns an
CDEventobject initialized with the given identifier, date, URL and flags.
Properties
URL
The URL of the item which changed.
@property (readonly) NSURL *URLReturn Value
The URL of the item which changed.
Availability
1.0.0
Discussion
The URL of the item which changed.
Declared In
CDEvent.hdate
An approximate date and time the event occured.
@property (readonly) NSDate *dateReturn Value
The approximate date and time the event occured.
Availability
1.0.0
Discussion
An approximate date and time the event occured.
Declared In
CDEvent.hflags
The flags of the event.
@property (readonly) CDEventFlags flagsReturn Value
The flags of the event.
Availability
1.0.0
Declared In
CDEvent.hidentifier
The event identifier.
@property (readonly) CDEventIdentifier identifierReturn Value
The event identifier.
Availability
1.0.0
Declared In
CDEvent.hClass Methods
eventWithIdentifier:date:URL:flags:
Returns an CDEvent created with the given identifier, date, URL and flags.
+ (CDEvent *)eventWithIdentifier:(NSUInteger)identifier date:(NSDate *)date URL:(NSURL *)URL flags:(CDEventFlags)flagsParameters
- identifier
The identifier of the the event.
- date
The date when the event occured.
- URL
The URL of the item the event concerns.
- flags
The flags of the event.
Return Value
An CDEvent created with the given identifier, date, URL and flags.
Availability
1.0.0
Discussion
Returns an CDEvent created with the given identifier, date, URL and flags.
See Also
Declared In
CDEvent.hInstance Methods
initWithIdentifier:date:URL:flags:
Returns an CDEvent object initialized with the given identifier, date, URL and flags.
- (id)initWithIdentifier:(NSUInteger)identifier date:(NSDate *)date URL:(NSURL *)URL flags:(CDEventFlags)flagsParameters
- identifier
The identifier of the the event.
- date
The date when the event occured.
- URL
The URL of the item the event concerns.
- flags
The flags of the event.
Return Value
An CDEvent object initialized with the given identifier, date, URL and flags.
Availability
1.0.0
Discussion
Returns an CDEvent object initialized with the given identifier, date, URL and flags.
Declared In
CDEvent.h