#import <Cocoa/Cocoa.h>


@interface NSObject (Events)

- (BOOL) isOS102OrHigher;
- (BOOL) isOS103OrHigher;

- (void) postNotificationAboutSelf: (id) name;
- (void) postNotificationAboutSelfLater: (id) name;

- (void) listenForNotification: (id) name selector: (SEL) sel;
- (void) listenForNotification: (id) name selector: (SEL) sel object: (id) obj;

- (void) stopListening;

- (id) repeatingTimerWithTimeInterval: (NSTimeInterval) interval selector: (SEL) sel;

@end