// // NSObject+BlockObservation.h // Version 1.0 // // Andy Matuschak // andy@andymatuschak.org // Public domain because I love you. Let me know how you use it. // #import <Cocoa/Cocoa.h> typedef NSString AMBlockToken; typedef void (^AMBlockTask)(id obj, NSDictionary *change); @interface NSObject (AMBlockObservation) - (AMBlockToken *)addObserverForKeyPath:(NSString *)keyPath task:(AMBlockTask)task; - (AMBlockToken *)addObserverForKeyPath:(NSString *)keyPath onQueue:(NSOperationQueue *)queue task:(AMBlockTask)task; - (void)removeObserverWithBlockToken:(AMBlockToken *)token; @end
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 8331 | Matt Attaway |
Adding initial version of MacMenu for Perforce MacMenu is a helpful Perforce client that sits in your toolbar. It allows you to run standard Perforce operations on the document that is open the currently active editor/viewer. |