Skip to content
Browse files

Initial Commit: Iteration 1 with Reflecticle Integration and Growl

  • Loading branch information...
0 parents commit 4356b3e2e8c4177200910f25276e4b11b483f487 @alindeman committed Aug 8, 2012
Showing with 2,390 additions and 0 deletions.
  1. +2 −0 .gitignore
  2. +1 −0 Growl.framework/Growl
  3. +1 −0 Growl.framework/Headers
  4. +1 −0 Growl.framework/Resources
  5. BIN Growl.framework/Versions/A/Growl
  6. +5 −0 Growl.framework/Versions/A/Headers/Growl.h
  7. +551 −0 Growl.framework/Versions/A/Headers/GrowlApplicationBridge.h
  8. +341 −0 Growl.framework/Versions/A/Headers/GrowlDefines.h
  9. +40 −0 Growl.framework/Versions/A/Resources/Info.plist
  10. +34 −0 Growl.framework/Versions/A/_CodeSignature/CodeResources
  11. +1 −0 Growl.framework/Versions/Current
  12. +354 −0 Reflecticle Activity Feed.xcodeproj/project.pbxproj
  13. +24 −0 Reflecticle Activity Feed/AppDelegate.h
  14. +36 −0 Reflecticle Activity Feed/AppDelegate.m
  15. +36 −0 Reflecticle Activity Feed/Reflecticle Activity Feed-Info.plist
  16. +7 −0 Reflecticle Activity Feed/Reflecticle Activity Feed-Prefix.pch
  17. +22 −0 Reflecticle Activity Feed/ReflecticleActivity.h
  18. +30 −0 Reflecticle Activity Feed/ReflecticleActivity.m
  19. +24 −0 Reflecticle Activity Feed/ReflecticleActivityFeed.h
  20. +45 −0 Reflecticle Activity Feed/ReflecticleActivityFeed.m
  21. +22 −0 Reflecticle Activity Feed/ReflecticleActivityNotification.h
  22. +30 −0 Reflecticle Activity Feed/ReflecticleActivityNotification.m
  23. +22 −0 Reflecticle Activity Feed/ReflecticleClient.h
  24. +64 −0 Reflecticle Activity Feed/ReflecticleClient.m
  25. +19 −0 Reflecticle Activity Feed/ReflecticleProject.h
  26. +28 −0 Reflecticle Activity Feed/ReflecticleProject.m
  27. +23 −0 Reflecticle Activity Feed/ReflecticleUser.h
  28. +36 −0 Reflecticle Activity Feed/ReflecticleUser.m
  29. +2 −0 Reflecticle Activity Feed/en.lproj/InfoPlist.strings
  30. +575 −0 Reflecticle Activity Feed/en.lproj/MainMenu.xib
  31. +14 −0 Reflecticle Activity Feed/main.m
2 .gitignore
@@ -0,0 +1,2 @@
+/Reflecticle Activity Feed.xcodeproj/xcuserdata
+/Reflecticle Activity Feed.xcodeproj/project.xcworkspace
1 Growl.framework/Growl
1 Growl.framework/Headers
1 Growl.framework/Resources
BIN Growl.framework/Versions/A/Growl
Binary file not shown.
5 Growl.framework/Versions/A/Headers/Growl.h
@@ -0,0 +1,5 @@
+#include <Growl/GrowlDefines.h>
+
+#ifdef __OBJC__
+# include <Growl/GrowlApplicationBridge.h>
+#endif
551 Growl.framework/Versions/A/Headers/GrowlApplicationBridge.h
@@ -0,0 +1,551 @@
+//
+// GrowlApplicationBridge.h
+// Growl
+//
+// Created by Evan Schoenberg on Wed Jun 16 2004.
+// Copyright 2004-2006 The Growl Project. All rights reserved.
+//
+
+/*!
+ * @header GrowlApplicationBridge.h
+ * @abstract Defines the GrowlApplicationBridge class.
+ * @discussion This header defines the GrowlApplicationBridge class as well as
+ * the GROWL_PREFPANE_BUNDLE_IDENTIFIER constant.
+ */
+
+#ifndef __GrowlApplicationBridge_h__
+#define __GrowlApplicationBridge_h__
+
+#import <Foundation/Foundation.h>
+#import <AppKit/AppKit.h>
+#import <Growl/GrowlDefines.h>
+
+//Forward declarations
+@protocol GrowlApplicationBridgeDelegate;
+
+//------------------------------------------------------------------------------
+#pragma mark -
+
+/*!
+ * @class GrowlApplicationBridge
+ * @abstract A class used to interface with Growl.
+ * @discussion This class provides a means to interface with Growl.
+ *
+ * Currently it provides a way to detect if Growl is installed and launch the
+ * GrowlHelperApp if it's not already running.
+ */
+@interface GrowlApplicationBridge : NSObject {
+
+}
+
+/*!
+ * @method isGrowlInstalled
+ * @abstract Detects whether Growl is installed.
+ * @discussion Determines if the Growl prefpane and its helper app are installed.
+ * @result this method will forever return YES.
+ */
++ (BOOL) isGrowlInstalled __attribute__((deprecated));
+
+/*!
+ * @method isGrowlRunning
+ * @abstract Detects whether GrowlHelperApp is currently running.
+ * @discussion Cycles through the process list to find whether GrowlHelperApp is running and returns its findings.
+ * @result Returns YES if GrowlHelperApp is running, NO otherwise.
+ */
++ (BOOL) isGrowlRunning;
+
+
+/*!
+ * @method isMistEnabled
+ * @abstract Gives the caller a fairly good indication of whether or not built-in notifications(Mist) will be used.
+ * @discussion since this call makes use of isGrowlRunning it is entirely possible for this value to change between call and
+ * executing a notification dispatch
+ * @result Returns YES if Growl isn't reachable and the developer has not opted-out of
+ * Mist and the user hasn't set the global mist enable key to false.
+ */
++ (BOOL)isMistEnabled;
+
+/*!
+ * @method setShouldUseBuiltInNotifications
+ * @abstract opt-out mechanism for the mist notification style in the event growl can't be reached.
+ * @discussion if growl is unavailable due to not being installed or as a result of being turned off then
+ * this option can enable/disable a built-in fire and forget display style
+ * @param should Specifies whether or not the developer wants to opt-in (default) or opt out
+ * of the built-in Mist style in the event Growl is unreachable.
+ */
++ (void)setShouldUseBuiltInNotifications:(BOOL)should;
+
+/*!
+ * @method shouldUseBuiltInNotifications
+ * @abstract returns the current opt-in state of the framework's use of the Mist display style.
+ * @result Returns NO if the developer opt-ed out of Mist, the default value is YES.
+ */
++ (BOOL)shouldUseBuiltInNotifications;
+
+#pragma mark -
+
+/*!
+ * @method setGrowlDelegate:
+ * @abstract Set the object which will be responsible for providing and receiving Growl information.
+ * @discussion This must be called before using GrowlApplicationBridge.
+ *
+ * The methods in the GrowlApplicationBridgeDelegate protocol are required
+ * and return the basic information needed to register with Growl.
+ *
+ * The methods in the GrowlApplicationBridgeDelegate_InformalProtocol
+ * informal protocol are individually optional. They provide a greater
+ * degree of interaction between the application and growl such as informing
+ * the application when one of its Growl notifications is clicked by the user.
+ *
+ * The methods in the GrowlApplicationBridgeDelegate_Installation_InformalProtocol
+ * informal protocol are individually optional and are only applicable when
+ * using the Growl-WithInstaller.framework which allows for automated Growl
+ * installation.
+ *
+ * When this method is called, data will be collected from inDelegate, Growl
+ * will be launched if it is not already running, and the application will be
+ * registered with Growl.
+ *
+ * If using the Growl-WithInstaller framework, if Growl is already installed
+ * but this copy of the framework has an updated version of Growl, the user
+ * will be prompted to update automatically.
+ *
+ * @param inDelegate The delegate for the GrowlApplicationBridge. It must conform to the GrowlApplicationBridgeDelegate protocol.
+ */
++ (void) setGrowlDelegate:(NSObject<GrowlApplicationBridgeDelegate> *)inDelegate;
+
+/*!
+ * @method growlDelegate
+ * @abstract Return the object responsible for providing and receiving Growl information.
+ * @discussion See setGrowlDelegate: for details.
+ * @result The Growl delegate.
+ */
++ (NSObject<GrowlApplicationBridgeDelegate> *) growlDelegate;
+
+#pragma mark -
+
+/*!
+ * @method notifyWithTitle:description:notificationName:iconData:priority:isSticky:clickContext:
+ * @abstract Send a Growl notification.
+ * @discussion This is the preferred means for sending a Growl notification.
+ * The notification name and at least one of the title and description are
+ * required (all three are preferred). All other parameters may be
+ * <code>nil</code> (or 0 or NO as appropriate) to accept default values.
+ *
+ * If using the Growl-WithInstaller framework, if Growl is not installed the
+ * user will be prompted to install Growl. If the user cancels, this method
+ * will have no effect until the next application session, at which time when
+ * it is called the user will be prompted again. The user is also given the
+ * option to not be prompted again. If the user does choose to install Growl,
+ * the requested notification will be displayed once Growl is installed and
+ * running.
+ *
+ * @param title The title of the notification displayed to the user.
+ * @param description The full description of the notification displayed to the user.
+ * @param notifName The internal name of the notification. Should be human-readable, as it will be displayed in the Growl preference pane.
+ * @param iconData <code>NSData</code> object to show with the notification as its icon. If <code>nil</code>, the application's icon will be used instead.
+ * @param priority The priority of the notification. The default value is 0; positive values are higher priority and negative values are lower priority. Not all Growl displays support priority.
+ * @param isSticky If YES, the notification will remain on screen until clicked. Not all Growl displays support sticky notifications.
+ * @param clickContext A context passed back to the Growl delegate if it implements -(void)growlNotificationWasClicked: and the notification is clicked. Not all display plugins support clicking. The clickContext must be plist-encodable (completely of <code>NSString</code>, <code>NSArray</code>, <code>NSNumber</code>, <code>NSDictionary</code>, and <code>NSData</code> types).
+ */
++ (void) notifyWithTitle:(NSString *)title
+ description:(NSString *)description
+ notificationName:(NSString *)notifName
+ iconData:(NSData *)iconData
+ priority:(signed int)priority
+ isSticky:(BOOL)isSticky
+ clickContext:(id)clickContext;
+
+/*!
+ * @method notifyWithTitle:description:notificationName:iconData:priority:isSticky:clickContext:identifier:
+ * @abstract Send a Growl notification.
+ * @discussion This is the preferred means for sending a Growl notification.
+ * The notification name and at least one of the title and description are
+ * required (all three are preferred). All other parameters may be
+ * <code>nil</code> (or 0 or NO as appropriate) to accept default values.
+ *
+ * If using the Growl-WithInstaller framework, if Growl is not installed the
+ * user will be prompted to install Growl. If the user cancels, this method
+ * will have no effect until the next application session, at which time when
+ * it is called the user will be prompted again. The user is also given the
+ * option to not be prompted again. If the user does choose to install Growl,
+ * the requested notification will be displayed once Growl is installed and
+ * running.
+ *
+ * @param title The title of the notification displayed to the user.
+ * @param description The full description of the notification displayed to the user.
+ * @param notifName The internal name of the notification. Should be human-readable, as it will be displayed in the Growl preference pane.
+ * @param iconData <code>NSData</code> object to show with the notification as its icon. If <code>nil</code>, the application's icon will be used instead.
+ * @param priority The priority of the notification. The default value is 0; positive values are higher priority and negative values are lower priority. Not all Growl displays support priority.
+ * @param isSticky If YES, the notification will remain on screen until clicked. Not all Growl displays support sticky notifications.
+ * @param clickContext A context passed back to the Growl delegate if it implements -(void)growlNotificationWasClicked: and the notification is clicked. Not all display plugins support clicking. The clickContext must be plist-encodable (completely of <code>NSString</code>, <code>NSArray</code>, <code>NSNumber</code>, <code>NSDictionary</code>, and <code>NSData</code> types).
+ * @param identifier An identifier for this notification. Notifications with equal identifiers are coalesced.
+ */
++ (void) notifyWithTitle:(NSString *)title
+ description:(NSString *)description
+ notificationName:(NSString *)notifName
+ iconData:(NSData *)iconData
+ priority:(signed int)priority
+ isSticky:(BOOL)isSticky
+ clickContext:(id)clickContext
+ identifier:(NSString *)identifier;
+
+/*! @method notifyWithDictionary:
+ * @abstract Notifies using a userInfo dictionary suitable for passing to
+ * <code>NSDistributedNotificationCenter</code>.
+ * @param userInfo The dictionary to notify with.
+ * @discussion Before Growl 0.6, your application would have posted
+ * notifications using <code>NSDistributedNotificationCenter</code> by
+ * creating a userInfo dictionary with the notification data. This had the
+ * advantage of allowing you to add other data to the dictionary for programs
+ * besides Growl that might be listening.
+ *
+ * This method allows you to use such dictionaries without being restricted
+ * to using <code>NSDistributedNotificationCenter</code>. The keys for this dictionary
+ * can be found in GrowlDefines.h.
+ */
++ (void) notifyWithDictionary:(NSDictionary *)userInfo;
+
+#pragma mark -
+
+/*! @method registerWithDictionary:
+ * @abstract Register your application with Growl without setting a delegate.
+ * @discussion When you call this method with a dictionary,
+ * GrowlApplicationBridge registers your application using that dictionary.
+ * If you pass <code>nil</code>, GrowlApplicationBridge will ask the delegate
+ * (if there is one) for a dictionary, and if that doesn't work, it will look
+ * in your application's bundle for an auto-discoverable plist.
+ * (XXX refer to more information on that)
+ *
+ * If you pass a dictionary to this method, it must include the
+ * <code>GROWL_APP_NAME</code> key, unless a delegate is set.
+ *
+ * This method is mainly an alternative to the delegate system introduced
+ * with Growl 0.6. Without a delegate, you cannot receive callbacks such as
+ * <code>-growlIsReady</code> (since they are sent to the delegate). You can,
+ * however, set a delegate after registering without one.
+ *
+ * This method was introduced in Growl.framework 0.7.
+ */
++ (BOOL) registerWithDictionary:(NSDictionary *)regDict;
+
+/*! @method reregisterGrowlNotifications
+ * @abstract Reregister the notifications for this application.
+ * @discussion This method does not normally need to be called. If your
+ * application changes what notifications it is registering with Growl, call
+ * this method to have the Growl delegate's
+ * <code>-registrationDictionaryForGrowl</code> method called again and the
+ * Growl registration information updated.
+ *
+ * This method is now implemented using <code>-registerWithDictionary:</code>.
+ */
++ (void) reregisterGrowlNotifications;
+
+#pragma mark -
+
+/*! @method setWillRegisterWhenGrowlIsReady:
+ * @abstract Tells GrowlApplicationBridge to register with Growl when Growl
+ * launches (or not).
+ * @discussion When Growl has started listening for notifications, it posts a
+ * <code>GROWL_IS_READY</code> notification on the Distributed Notification
+ * Center. GrowlApplicationBridge listens for this notification, using it to
+ * perform various tasks (such as calling your delegate's
+ * <code>-growlIsReady</code> method, if it has one). If this method is
+ * called with <code>YES</code>, one of those tasks will be to reregister
+ * with Growl (in the manner of <code>-reregisterGrowlNotifications</code>).
+ *
+ * This attribute is automatically set back to <code>NO</code> (the default)
+ * after every <code>GROWL_IS_READY</code> notification.
+ * @param flag <code>YES</code> if you want GrowlApplicationBridge to register with
+ * Growl when next it is ready; <code>NO</code> if not.
+ */
++ (void) setWillRegisterWhenGrowlIsReady:(BOOL)flag;
+/*! @method willRegisterWhenGrowlIsReady
+ * @abstract Reports whether GrowlApplicationBridge will register with Growl
+ * when Growl next launches.
+ * @result <code>YES</code> if GrowlApplicationBridge will register with Growl
+ * when next it posts GROWL_IS_READY; <code>NO</code> if not.
+ */
++ (BOOL) willRegisterWhenGrowlIsReady;
+
+#pragma mark -
+
+/*! @method registrationDictionaryFromDelegate
+ * @abstract Asks the delegate for a registration dictionary.
+ * @discussion If no delegate is set, or if the delegate's
+ * <code>-registrationDictionaryForGrowl</code> method returns
+ * <code>nil</code>, this method returns <code>nil</code>.
+ *
+ * This method does not attempt to clean up the dictionary in any way - for
+ * example, if it is missing the <code>GROWL_APP_NAME</code> key, the result
+ * will be missing it too. Use <code>+[GrowlApplicationBridge
+ * registrationDictionaryByFillingInDictionary:]</code> or
+ * <code>+[GrowlApplicationBridge
+ * registrationDictionaryByFillingInDictionary:restrictToKeys:]</code> to try
+ * to fill in missing keys.
+ *
+ * This method was introduced in Growl.framework 0.7.
+ * @result A registration dictionary.
+ */
++ (NSDictionary *) registrationDictionaryFromDelegate;
+
+/*! @method registrationDictionaryFromBundle:
+ * @abstract Looks in a bundle for a registration dictionary.
+ * @discussion This method looks in a bundle for an auto-discoverable
+ * registration dictionary file using <code>-[NSBundle
+ * pathForResource:ofType:]</code>. If it finds one, it loads the file using
+ * <code>+[NSDictionary dictionaryWithContentsOfFile:]</code> and returns the
+ * result.
+ *
+ * If you pass <code>nil</code> as the bundle, the main bundle is examined.
+ *
+ * This method does not attempt to clean up the dictionary in any way - for
+ * example, if it is missing the <code>GROWL_APP_NAME</code> key, the result
+ * will be missing it too. Use <code>+[GrowlApplicationBridge
+ * registrationDictionaryByFillingInDictionary:]</code> or
+ * <code>+[GrowlApplicationBridge
+ * registrationDictionaryByFillingInDictionary:restrictToKeys:]</code> to try
+ * to fill in missing keys.
+ *
+ * This method was introduced in Growl.framework 0.7.
+ * @result A registration dictionary.
+ */
++ (NSDictionary *) registrationDictionaryFromBundle:(NSBundle *)bundle;
+
+/*! @method bestRegistrationDictionary
+ * @abstract Obtains a registration dictionary, filled out to the best of
+ * GrowlApplicationBridge's knowledge.
+ * @discussion This method creates a registration dictionary as best
+ * GrowlApplicationBridge knows how.
+ *
+ * First, GrowlApplicationBridge contacts the Growl delegate (if there is
+ * one) and gets the registration dictionary from that. If no such dictionary
+ * was obtained, GrowlApplicationBridge looks in your application's main
+ * bundle for an auto-discoverable registration dictionary file. If that
+ * doesn't exist either, this method returns <code>nil</code>.
+ *
+ * Second, GrowlApplicationBridge calls
+ * <code>+registrationDictionaryByFillingInDictionary:</code> with whatever
+ * dictionary was obtained. The result of that method is the result of this
+ * method.
+ *
+ * GrowlApplicationBridge uses this method when you call
+ * <code>+setGrowlDelegate:</code>, or when you call
+ * <code>+registerWithDictionary:</code> with <code>nil</code>.
+ *
+ * This method was introduced in Growl.framework 0.7.
+ * @result A registration dictionary.
+ */
++ (NSDictionary *) bestRegistrationDictionary;
+
+#pragma mark -
+
+/*! @method registrationDictionaryByFillingInDictionary:
+ * @abstract Tries to fill in missing keys in a registration dictionary.
+ * @discussion This method examines the passed-in dictionary for missing keys,
+ * and tries to work out correct values for them. As of 0.7, it uses:
+ *
+ * Key Value
+ * --- -----
+ * <code>GROWL_APP_NAME</code> <code>CFBundleExecutableName</code>
+ * <code>GROWL_APP_ICON_DATA</code> The data of the icon of the application.
+ * <code>GROWL_APP_LOCATION</code> The location of the application.
+ * <code>GROWL_NOTIFICATIONS_DEFAULT</code> <code>GROWL_NOTIFICATIONS_ALL</code>
+ *
+ * Keys are only filled in if missing; if a key is present in the dictionary,
+ * its value will not be changed.
+ *
+ * This method was introduced in Growl.framework 0.7.
+ * @param regDict The dictionary to fill in.
+ * @result The dictionary with the keys filled in. This is an autoreleased
+ * copy of <code>regDict</code>.
+ */
++ (NSDictionary *) registrationDictionaryByFillingInDictionary:(NSDictionary *)regDict;
+/*! @method registrationDictionaryByFillingInDictionary:restrictToKeys:
+ * @abstract Tries to fill in missing keys in a registration dictionary.
+ * @discussion This method examines the passed-in dictionary for missing keys,
+ * and tries to work out correct values for them. As of 0.7, it uses:
+ *
+ * Key Value
+ * --- -----
+ * <code>GROWL_APP_NAME</code> <code>CFBundleExecutableName</code>
+ * <code>GROWL_APP_ICON_DATA</code> The data of the icon of the application.
+ * <code>GROWL_APP_LOCATION</code> The location of the application.
+ * <code>GROWL_NOTIFICATIONS_DEFAULT</code> <code>GROWL_NOTIFICATIONS_ALL</code>
+ *
+ * Only those keys that are listed in <code>keys</code> will be filled in.
+ * Other missing keys are ignored. Also, keys are only filled in if missing;
+ * if a key is present in the dictionary, its value will not be changed.
+ *
+ * This method was introduced in Growl.framework 0.7.
+ * @param regDict The dictionary to fill in.
+ * @param keys The keys to fill in. If <code>nil</code>, any missing keys are filled in.
+ * @result The dictionary with the keys filled in. This is an autoreleased
+ * copy of <code>regDict</code>.
+ */
++ (NSDictionary *) registrationDictionaryByFillingInDictionary:(NSDictionary *)regDict restrictToKeys:(NSSet *)keys;
+
+/*! @brief Tries to fill in missing keys in a notification dictionary.
+ * @param notifDict The dictionary to fill in.
+ * @return The dictionary with the keys filled in. This will be a separate instance from \a notifDict.
+ * @discussion This function examines the \a notifDict for missing keys, and
+ * tries to get them from the last known registration dictionary. As of 1.1,
+ * the keys that it will look for are:
+ *
+ * \li <code>GROWL_APP_NAME</code>
+ * \li <code>GROWL_APP_ICON_DATA</code>
+ *
+ * @since Growl.framework 1.1
+ */
++ (NSDictionary *) notificationDictionaryByFillingInDictionary:(NSDictionary *)regDict;
+
++ (NSDictionary *) frameworkInfoDictionary;
+@end
+
+//------------------------------------------------------------------------------
+#pragma mark -
+
+/*!
+ * @protocol GrowlApplicationBridgeDelegate
+ * @abstract Required protocol for the Growl delegate.
+ * @discussion The methods in this protocol are required and are called
+ * automatically as needed by GrowlApplicationBridge. See
+ * <code>+[GrowlApplicationBridge setGrowlDelegate:]</code>.
+ * See also <code>GrowlApplicationBridgeDelegate_InformalProtocol</code>.
+ */
+
+@protocol GrowlApplicationBridgeDelegate
+
+// -registrationDictionaryForGrowl has moved to the informal protocol as of 0.7.
+
+@end
+
+//------------------------------------------------------------------------------
+#pragma mark -
+
+/*!
+ * @category NSObject(GrowlApplicationBridgeDelegate_InformalProtocol)
+ * @abstract Methods which may be optionally implemented by the GrowlDelegate.
+ * @discussion The methods in this informal protocol will only be called if implemented by the delegate.
+ */
+@interface NSObject (GrowlApplicationBridgeDelegate_InformalProtocol)
+
+/*!
+ * @method registrationDictionaryForGrowl
+ * @abstract Return the dictionary used to register this application with Growl.
+ * @discussion The returned dictionary gives Growl the complete list of
+ * notifications this application will ever send, and it also specifies which
+ * notifications should be enabled by default. Each is specified by an array
+ * of <code>NSString</code> objects.
+ *
+ * For most applications, these two arrays can be the same (if all sent
+ * notifications should be displayed by default).
+ *
+ * The <code>NSString</code> objects of these arrays will correspond to the
+ * <code>notificationName:</code> parameter passed in
+ * <code>+[GrowlApplicationBridge
+ * notifyWithTitle:description:notificationName:iconData:priority:isSticky:clickContext:]</code> calls.
+ *
+ * The dictionary should have the required key object pairs:
+ * key: GROWL_NOTIFICATIONS_ALL object: <code>NSArray</code> of <code>NSString</code> objects
+ * key: GROWL_NOTIFICATIONS_DEFAULT object: <code>NSArray</code> of <code>NSString</code> objects
+ *
+ * The dictionary may have the following key object pairs:
+ * key: GROWL_NOTIFICATIONS_HUMAN_READABLE_NAMES object: <code>NSDictionary</code> of key: notification name object: human-readable notification name
+ *
+ * You do not need to implement this method if you have an auto-discoverable
+ * plist file in your app bundle. (XXX refer to more information on that)
+ *
+ * @result The <code>NSDictionary</code> to use for registration.
+ */
+- (NSDictionary *) registrationDictionaryForGrowl;
+
+/*!
+ * @method applicationNameForGrowl
+ * @abstract Return the name of this application which will be used for Growl bookkeeping.
+ * @discussion This name is used both internally and in the Growl preferences.
+ *
+ * This should remain stable between different versions and incarnations of
+ * your application.
+ * For example, "SurfWriter" is a good app name, whereas "SurfWriter 2.0" and
+ * "SurfWriter Lite" are not.
+ *
+ * You do not need to implement this method if you are providing the
+ * application name elsewhere, meaning in an auto-discoverable plist file in
+ * your app bundle (XXX refer to more information on that) or in the result
+ * of -registrationDictionaryForGrowl.
+ *
+ * @result The name of the application using Growl.
+ */
+- (NSString *) applicationNameForGrowl;
+
+/*!
+ * @method applicationIconForGrowl
+ * @abstract Return the <code>NSImage</code> to treat as the application icon.
+ * @discussion The delegate may optionally return an <code>NSImage</code>
+ * object to use as the application icon. If this method is not implemented,
+ * {{{-applicationIconDataForGrowl}}} is tried. If that method is not
+ * implemented, the application's own icon is used. Neither method is
+ * generally needed.
+ * @result The <code>NSImage</code> to treat as the application icon.
+ */
+- (NSImage *) applicationIconForGrowl;
+
+/*!
+ * @method applicationIconDataForGrowl
+ * @abstract Return the <code>NSData</code> to treat as the application icon.
+ * @discussion The delegate may optionally return an <code>NSData</code>
+ * object to use as the application icon; if this is not implemented, the
+ * application's own icon is used. This is not generally needed.
+ * @result The <code>NSData</code> to treat as the application icon.
+ * @deprecated In version 1.1, in favor of {{{-applicationIconForGrowl}}}.
+ */
+- (NSData *) applicationIconDataForGrowl;
+
+/*!
+ * @method growlIsReady
+ * @abstract Informs the delegate that Growl has launched.
+ * @discussion Informs the delegate that Growl (specifically, the
+ * GrowlHelperApp) was launched successfully. The application can take actions
+ * with the knowledge that Growl is installed and functional.
+ */
+- (void) growlIsReady;
+
+/*!
+ * @method growlNotificationWasClicked:
+ * @abstract Informs the delegate that a Growl notification was clicked.
+ * @discussion Informs the delegate that a Growl notification was clicked. It
+ * is only sent for notifications sent with a non-<code>nil</code>
+ * clickContext, so if you want to receive a message when a notification is
+ * clicked, clickContext must not be <code>nil</code> when calling
+ * <code>+[GrowlApplicationBridge notifyWithTitle: description:notificationName:iconData:priority:isSticky:clickContext:]</code>.
+ * @param clickContext The clickContext passed when displaying the notification originally via +[GrowlApplicationBridge notifyWithTitle:description:notificationName:iconData:priority:isSticky:clickContext:].
+ */
+- (void) growlNotificationWasClicked:(id)clickContext;
+
+/*!
+ * @method growlNotificationTimedOut:
+ * @abstract Informs the delegate that a Growl notification timed out.
+ * @discussion Informs the delegate that a Growl notification timed out. It
+ * is only sent for notifications sent with a non-<code>nil</code>
+ * clickContext, so if you want to receive a message when a notification is
+ * clicked, clickContext must not be <code>nil</code> when calling
+ * <code>+[GrowlApplicationBridge notifyWithTitle: description:notificationName:iconData:priority:isSticky:clickContext:]</code>.
+ * @param clickContext The clickContext passed when displaying the notification originally via +[GrowlApplicationBridge notifyWithTitle:description:notificationName:iconData:priority:isSticky:clickContext:].
+ */
+- (void) growlNotificationTimedOut:(id)clickContext;
+
+
+/*!
+ * @method hasNetworkClientEntitlement
+ * @abstract Used only in sandboxed situations since we don't know whether the app has com.apple.security.network.client entitlement
+ * @discussion GrowlDelegate calls to find out if we have the com.apple.security.network.client entitlement,
+ * since we can't find this out without hitting the sandbox. We only call it if we detect that the application is sandboxed.
+ */
+- (BOOL) hasNetworkClientEntitlement;
+
+@end
+
+#pragma mark -
+
+#endif /* __GrowlApplicationBridge_h__ */
341 Growl.framework/Versions/A/Headers/GrowlDefines.h
@@ -0,0 +1,341 @@
+//
+// GrowlDefines.h
+//
+
+#ifndef _GROWLDEFINES_H
+#define _GROWLDEFINES_H
+
+#ifdef __OBJC__
+#define XSTR(x) (@x)
+#else
+#define XSTR CFSTR
+#endif
+
+/*! @header GrowlDefines.h
+ * @abstract Defines all the notification keys.
+ * @discussion Defines all the keys used for registration with Growl and for
+ * Growl notifications.
+ *
+ * Most applications should use the functions or methods of Growl.framework
+ * instead of posting notifications such as those described here.
+ * @updated 2004-01-25
+ */
+
+// UserInfo Keys for Registration
+#pragma mark UserInfo Keys for Registration
+
+/*! @group Registration userInfo keys */
+/* @abstract Keys for the userInfo dictionary of a GROWL_APP_REGISTRATION distributed notification.
+ * @discussion The values of these keys describe the application and the
+ * notifications it may post.
+ *
+ * Your application must register with Growl before it can post Growl
+ * notifications (and have them not be ignored). However, as of Growl 0.6,
+ * posting GROWL_APP_REGISTRATION notifications directly is no longer the
+ * preferred way to register your application. Your application should instead
+ * use Growl.framework's delegate system.
+ * See +[GrowlApplicationBridge setGrowlDelegate:] or Growl_SetDelegate for
+ * more information.
+ */
+
+/*! @defined GROWL_APP_NAME
+ * @abstract The name of your application.
+ * @discussion The name of your application. This should remain stable between
+ * different versions and incarnations of your application.
+ * For example, "SurfWriter" is a good app name, whereas "SurfWriter 2.0" and
+ * "SurfWriter Lite" are not.
+ */
+#define GROWL_APP_NAME XSTR("ApplicationName")
+/*! @defined GROWL_APP_ID
+ * @abstract The bundle identifier of your application.
+ * @discussion The bundle identifier of your application. This key should
+ * be unique for your application while there may be several applications
+ * with the same GROWL_APP_NAME.
+ * This key is optional.
+ */
+#define GROWL_APP_ID XSTR("ApplicationId")
+/*! @defined GROWL_APP_ICON_DATA
+ * @abstract The image data for your application's icon.
+ * @discussion Image data representing your application's icon. This may be
+ * superimposed on a notification icon as a badge, used as the notification
+ * icon when a notification-specific icon is not supplied, or ignored
+ * altogether, depending on the display. Must be in a format supported by
+ * NSImage, such as TIFF, PNG, GIF, JPEG, BMP, PICT, or PDF.
+ *
+ * Optional. Not supported by all display plugins.
+ */
+#define GROWL_APP_ICON_DATA XSTR("ApplicationIcon")
+/*! @defined GROWL_NOTIFICATIONS_DEFAULT
+ * @abstract The array of notifications to turn on by default.
+ * @discussion These are the names of the notifications that should be enabled
+ * by default when your application registers for the first time. If your
+ * application reregisters, Growl will look here for any new notification
+ * names found in GROWL_NOTIFICATIONS_ALL, but ignore any others.
+ */
+#define GROWL_NOTIFICATIONS_DEFAULT XSTR("DefaultNotifications")
+/*! @defined GROWL_NOTIFICATIONS_ALL
+ * @abstract The array of all notifications your application can send.
+ * @discussion These are the names of all of the notifications that your
+ * application may post. See GROWL_NOTIFICATION_NAME for a discussion of good
+ * notification names.
+ */
+#define GROWL_NOTIFICATIONS_ALL XSTR("AllNotifications")
+/*! @defined GROWL_NOTIFICATIONS_HUMAN_READABLE_DESCRIPTIONS
+ * @abstract A dictionary of human-readable names for your notifications.
+ * @discussion By default, the Growl UI will display notifications by the names given in GROWL_NOTIFICATIONS_ALL
+ * which correspond to the GROWL_NOTIFICATION_NAME. This dictionary specifies the human-readable name to display.
+ * The keys of the dictionary are GROWL_NOTIFICATION_NAME strings; the objects are the human-readable versions.
+ * For any GROWL_NOTIFICATION_NAME not specific in this dictionary, the GROWL_NOTIFICATION_NAME will be displayed.
+ *
+ * This key is optional.
+ */
+#define GROWL_NOTIFICATIONS_HUMAN_READABLE_NAMES XSTR("HumanReadableNames")
+/*! @defined GROWL_NOTIFICATIONS_DESCRIPTIONS
+* @abstract A dictionary of descriptions of _when_ each notification occurs
+* @discussion This is an NSDictionary whose keys are GROWL_NOTIFICATION_NAME strings and whose objects are
+* descriptions of _when_ each notification occurs, such as "You received a new mail message" or
+* "A file finished downloading".
+*
+* This key is optional.
+*/
+#define GROWL_NOTIFICATIONS_DESCRIPTIONS XSTR("NotificationDescriptions")
+
+/*! @defined GROWL_TICKET_VERSION
+ * @abstract The version of your registration ticket.
+ * @discussion Include this key in a ticket plist file that you put in your
+ * application bundle for auto-discovery. The current ticket version is 1.
+ */
+#define GROWL_TICKET_VERSION XSTR("TicketVersion")
+// UserInfo Keys for Notifications
+#pragma mark UserInfo Keys for Notifications
+
+/*! @group Notification userInfo keys */
+/* @abstract Keys for the userInfo dictionary of a GROWL_NOTIFICATION distributed notification.
+ * @discussion The values of these keys describe the content of a Growl
+ * notification.
+ *
+ * Not all of these keys are supported by all displays. Only the name, title,
+ * and description of a notification are universal. Most of the built-in
+ * displays do support all of these keys, and most other visual displays
+ * probably will also. But, as of 0.6, the Log, MailMe, and Speech displays
+ * support only textual data.
+ */
+
+/*! @defined GROWL_NOTIFICATION_NAME
+ * @abstract The name of the notification.
+ * @discussion The name of the notification. Note that if you do not define
+ * GROWL_NOTIFICATIONS_HUMAN_READABLE_NAMES when registering your ticket originally this name
+ * will the one displayed within the Growl preference pane and should be human-readable.
+ */
+#define GROWL_NOTIFICATION_NAME XSTR("NotificationName")
+/*! @defined GROWL_NOTIFICATION_TITLE
+ * @abstract The title to display in the notification.
+ * @discussion The title of the notification. Should be very brief.
+ * The title usually says what happened, e.g. "Download complete".
+ */
+#define GROWL_NOTIFICATION_TITLE XSTR("NotificationTitle")
+/*! @defined GROWL_NOTIFICATION_DESCRIPTION
+ * @abstract The description to display in the notification.
+ * @discussion The description should be longer and more verbose than the title.
+ * The description usually tells the subject of the action,
+ * e.g. "Growl-0.6.dmg downloaded in 5.02 minutes".
+ */
+#define GROWL_NOTIFICATION_DESCRIPTION XSTR("NotificationDescription")
+/*! @defined GROWL_NOTIFICATION_ICON
+ * @discussion Image data for the notification icon. Image data must be in a format
+ * supported by NSImage, such as TIFF, PNG, GIF, JPEG, BMP, PICT, or PDF.
+ *
+ * Optional. Not supported by all display plugins.
+ */
+#define GROWL_NOTIFICATION_ICON_DATA XSTR("NotificationIcon")
+/*! @defined GROWL_NOTIFICATION_APP_ICON
+ * @discussion Image data for the application icon, in case GROWL_APP_ICON does
+ * not apply for some reason. Image data be in a format supported by NSImage, such
+ * as TIFF, PNG, GIF, JPEG, BMP, PICT, or PDF.
+ *
+ * Optional. Not supported by all display plugins.
+ */
+#define GROWL_NOTIFICATION_APP_ICON_DATA XSTR("NotificationAppIcon")
+/*! @defined GROWL_NOTIFICATION_PRIORITY
+ * @discussion The priority of the notification as an integer number from
+ * -2 to +2 (+2 being highest).
+ *
+ * Optional. Not supported by all display plugins.
+ */
+#define GROWL_NOTIFICATION_PRIORITY XSTR("NotificationPriority")
+/*! @defined GROWL_NOTIFICATION_STICKY
+ * @discussion A Boolean number controlling whether the notification is sticky.
+ *
+ * Optional. Not supported by all display plugins.
+ */
+#define GROWL_NOTIFICATION_STICKY XSTR("NotificationSticky")
+/*! @defined GROWL_NOTIFICATION_CLICK_CONTEXT
+ * @abstract Identifies which notification was clicked.
+ * @discussion An identifier for the notification for clicking purposes.
+ *
+ * This will be passed back to the application when the notification is
+ * clicked. It must be plist-encodable (a data, dictionary, array, number, or
+ * string object), and it should be unique for each notification you post.
+ * A good click context would be a UUID string returned by NSProcessInfo or
+ * CFUUID.
+ *
+ * Optional. Not supported by all display plugins.
+ */
+#define GROWL_NOTIFICATION_CLICK_CONTEXT XSTR("NotificationClickContext")
+
+/*! @defined GROWL_NOTIFICATION_IDENTIFIER
+ * @abstract An identifier for the notification for coalescing purposes.
+ * Notifications with the same identifier fall into the same class; only
+ * the last notification of a class is displayed on the screen. If a
+ * notification of the same class is currently being displayed, it is
+ * replaced by this notification.
+ *
+ * Optional. Not supported by all display plugins.
+ */
+#define GROWL_NOTIFICATION_IDENTIFIER XSTR("GrowlNotificationIdentifier")
+
+/*! @defined GROWL_APP_PID
+ * @abstract The process identifier of the process which sends this
+ * notification. If this field is set, the application will only receive
+ * clicked and timed out notifications which originate from this process.
+ *
+ * Optional.
+ */
+#define GROWL_APP_PID XSTR("ApplicationPID")
+
+/*! @defined GROWL_NOTIFICATION_PROGRESS
+* @abstract If this key is set, it should contain a double value wrapped
+* in a NSNumber which describes some sort of progress (from 0.0 to 100.0).
+* If this is key is not set, no progress bar is shown.
+*
+* Optional. Not supported by all display plugins.
+*/
+#define GROWL_NOTIFICATION_PROGRESS XSTR("NotificationProgress")
+
+// Notifications
+#pragma mark Notifications
+
+/*! @group Notification names */
+/* @abstract Names of distributed notifications used by Growl.
+ * @discussion These are notifications used by applications (directly or
+ * indirectly) to interact with Growl, and by Growl for interaction between
+ * its components.
+ *
+ * Most of these should no longer be used in Growl 0.6 and later, in favor of
+ * Growl.framework's GrowlApplicationBridge APIs.
+ */
+
+/*! @defined GROWL_APP_REGISTRATION
+ * @abstract The distributed notification for registering your application.
+ * @discussion This is the name of the distributed notification that can be
+ * used to register applications with Growl.
+ *
+ * The userInfo dictionary for this notification can contain these keys:
+ * <ul>
+ * <li>GROWL_APP_NAME</li>
+ * <li>GROWL_APP_ICON_DATA</li>
+ * <li>GROWL_NOTIFICATIONS_ALL</li>
+ * <li>GROWL_NOTIFICATIONS_DEFAULT</li>
+ * </ul>
+ *
+ * No longer recommended as of Growl 0.6. An alternate method of registering
+ * is to use Growl.framework's delegate system.
+ * See +[GrowlApplicationBridge setGrowlDelegate:] or Growl_SetDelegate for
+ * more information.
+ */
+#define GROWL_APP_REGISTRATION XSTR("GrowlApplicationRegistrationNotification")
+/*! @defined GROWL_APP_REGISTRATION_CONF
+ * @abstract The distributed notification for confirming registration.
+ * @discussion The name of the distributed notification sent to confirm the
+ * registration. Used by the Growl preference pane. Your application probably
+ * does not need to use this notification.
+ */
+#define GROWL_APP_REGISTRATION_CONF XSTR("GrowlApplicationRegistrationConfirmationNotification")
+/*! @defined GROWL_NOTIFICATION
+ * @abstract The distributed notification for Growl notifications.
+ * @discussion This is what it all comes down to. This is the name of the
+ * distributed notification that your application posts to actually send a
+ * Growl notification.
+ *
+ * The userInfo dictionary for this notification can contain these keys:
+ * <ul>
+ * <li>GROWL_NOTIFICATION_NAME (required)</li>
+ * <li>GROWL_NOTIFICATION_TITLE (required)</li>
+ * <li>GROWL_NOTIFICATION_DESCRIPTION (required)</li>
+ * <li>GROWL_NOTIFICATION_ICON</li>
+ * <li>GROWL_NOTIFICATION_APP_ICON</li>
+ * <li>GROWL_NOTIFICATION_PRIORITY</li>
+ * <li>GROWL_NOTIFICATION_STICKY</li>
+ * <li>GROWL_NOTIFICATION_CLICK_CONTEXT</li>
+ * <li>GROWL_APP_NAME (required)</li>
+ * </ul>
+ *
+ * No longer recommended as of Growl 0.6. Three alternate methods of posting
+ * notifications are +[GrowlApplicationBridge notifyWithTitle:description:notificationName:iconData:priority:isSticky:clickContext:],
+ * Growl_NotifyWithTitleDescriptionNameIconPriorityStickyClickContext, and
+ * Growl_PostNotification.
+ */
+#define GROWL_NOTIFICATION XSTR("GrowlNotification")
+/*! @defined GROWL_PING
+ * @abstract A distributed notification to check whether Growl is running.
+ * @discussion This is used by the Growl preference pane. If it receives a
+ * GROWL_PONG, the preference pane takes this to mean that Growl is running.
+ */
+#define GROWL_PING XSTR("Honey, Mind Taking Out The Trash")
+/*! @defined GROWL_PONG
+ * @abstract The distributed notification sent in reply to GROWL_PING.
+ * @discussion GrowlHelperApp posts this in reply to GROWL_PING.
+ */
+#define GROWL_PONG XSTR("What Do You Want From Me, Woman")
+/*! @defined GROWL_IS_READY
+ * @abstract The distributed notification sent when Growl starts up.
+ * @discussion GrowlHelperApp posts this when it has begin listening on all of
+ * its sources for new notifications. GrowlApplicationBridge (in
+ * Growl.framework), upon receiving this notification, reregisters using the
+ * registration dictionary supplied by its delegate.
+ */
+#define GROWL_IS_READY XSTR("Lend Me Some Sugar; I Am Your Neighbor!")
+
+
+/*! @defined GROWL_DISTRIBUTED_NOTIFICATION_CLICKED_SUFFIX
+ * @abstract Part of the name of the distributed notification sent when a supported notification is clicked.
+ * @discussion When a Growl notification with a click context is clicked on by
+ * the user, Growl posts a distributed notification whose name is in the format:
+ * [NSString stringWithFormat:@"%@-%d-%@", appName, pid, GROWL_DISTRIBUTED_NOTIFICATION_CLICKED_SUFFIX]
+ * The GrowlApplicationBridge responds to this notification by calling a callback in its delegate.
+ */
+#define GROWL_DISTRIBUTED_NOTIFICATION_CLICKED_SUFFIX XSTR("GrowlClicked!")
+
+/*! @defined GROWL_DISTRIBUTED_NOTIFICATION_TIMED_OUT_SUFFIX
+ * @abstract Part of the name of the distributed notification sent when a supported notification times out without being clicked.
+ * @discussion When a Growl notification with a click context times out, Growl posts a distributed notification
+ * whose name is in the format:
+ * [NSString stringWithFormat:@"%@-%d-%@", appName, pid, GROWL_DISTRIBUTED_NOTIFICATION_TIMED_OUT_SUFFIX]
+ * The GrowlApplicationBridge responds to this notification by calling a callback in its delegate.
+ * NOTE: The user may have actually clicked the 'close' button; this triggers an *immediate* time-out of the notification.
+ */
+#define GROWL_DISTRIBUTED_NOTIFICATION_TIMED_OUT_SUFFIX XSTR("GrowlTimedOut!")
+
+/*! @group Other symbols */
+/* Symbols which don't fit into any of the other categories. */
+
+/*! @defined GROWL_KEY_CLICKED_CONTEXT
+ * @abstract Used internally as the key for the clickedContext passed over DNC.
+ * @discussion This key is used in GROWL_NOTIFICATION_CLICKED, and contains the
+ * click context that was supplied in the original notification.
+ */
+#define GROWL_KEY_CLICKED_CONTEXT XSTR("ClickedContext")
+/*! @defined GROWL_REG_DICT_EXTENSION
+ * @abstract The filename extension for registration dictionaries.
+ * @discussion The GrowlApplicationBridge in Growl.framework registers with
+ * Growl by creating a file with the extension of .(GROWL_REG_DICT_EXTENSION)
+ * and opening it in the GrowlHelperApp. This happens whether or not Growl is
+ * running; if it was stopped, it quits immediately without listening for
+ * notifications.
+ */
+#define GROWL_REG_DICT_EXTENSION XSTR("growlRegDict")
+
+
+#define GROWL_POSITION_PREFERENCE_KEY @"GrowlSelectedPosition"
+
+#endif //ndef _GROWLDEFINES_H
40 Growl.framework/Versions/A/Resources/Info.plist
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>BuildMachineOSBuild</key>
+ <string>11C74</string>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleExecutable</key>
+ <string>Growl</string>
+ <key>CFBundleIdentifier</key>
+ <string>com.growl.growlframework</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundlePackageType</key>
+ <string>FMWK</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.3.1</string>
+ <key>CFBundleSignature</key>
+ <string>GRRR</string>
+ <key>CFBundleVersion</key>
+ <string>1.3.1</string>
+ <key>DTCompiler</key>
+ <string>com.apple.compilers.llvm.clang.1_0</string>
+ <key>DTPlatformBuild</key>
+ <string>4D199</string>
+ <key>DTPlatformVersion</key>
+ <string>GM</string>
+ <key>DTSDKBuild</key>
+ <string>11C63</string>
+ <key>DTSDKName</key>
+ <string>macosx10.7</string>
+ <key>DTXcode</key>
+ <string>0420</string>
+ <key>DTXcodeBuild</key>
+ <string>4D199</string>
+ <key>NSPrincipalClass</key>
+ <string>GrowlApplicationBridge</string>
+</dict>
+</plist>
34 Growl.framework/Versions/A/_CodeSignature/CodeResources
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>files</key>
+ <dict>
+ <key>Resources/Info.plist</key>
+ <data>
+ SwzGt9RQsuVafBBrfBalB75dCwU=
+ </data>
+ </dict>
+ <key>rules</key>
+ <dict>
+ <key>^Resources/</key>
+ <true/>
+ <key>^Resources/.*\.lproj/</key>
+ <dict>
+ <key>optional</key>
+ <true/>
+ <key>weight</key>
+ <real>1000</real>
+ </dict>
+ <key>^Resources/.*\.lproj/locversion.plist$</key>
+ <dict>
+ <key>omit</key>
+ <true/>
+ <key>weight</key>
+ <real>1100</real>
+ </dict>
+ <key>^version.plist$</key>
+ <true/>
+ </dict>
+</dict>
+</plist>
1 Growl.framework/Versions/Current
354 Reflecticle Activity Feed.xcodeproj/project.pbxproj
@@ -0,0 +1,354 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ F125483815D2BB360030A1D8 /* ReflecticleActivityNotification.m in Sources */ = {isa = PBXBuildFile; fileRef = F125483715D2BB360030A1D8 /* ReflecticleActivityNotification.m */; };
+ F125483F15D2BDFF0030A1D8 /* ReflecticleProject.m in Sources */ = {isa = PBXBuildFile; fileRef = F125483E15D2BDFF0030A1D8 /* ReflecticleProject.m */; };
+ F15EE1AA15D2B32400B19E6B /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F15EE1A915D2B32400B19E6B /* Cocoa.framework */; };
+ F15EE1B415D2B32400B19E6B /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = F15EE1B215D2B32400B19E6B /* InfoPlist.strings */; };
+ F15EE1B615D2B32400B19E6B /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = F15EE1B515D2B32400B19E6B /* main.m */; };
+ F15EE1BD15D2B32400B19E6B /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = F15EE1BC15D2B32400B19E6B /* AppDelegate.m */; };
+ F15EE1C015D2B32400B19E6B /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = F15EE1BE15D2B32400B19E6B /* MainMenu.xib */; };
+ F15EE1D015D2B34E00B19E6B /* ReflecticleActivity.m in Sources */ = {isa = PBXBuildFile; fileRef = F15EE1C715D2B34E00B19E6B /* ReflecticleActivity.m */; };
+ F15EE1D115D2B34E00B19E6B /* ReflecticleClient.m in Sources */ = {isa = PBXBuildFile; fileRef = F15EE1C915D2B34E00B19E6B /* ReflecticleClient.m */; };
+ F15EE1D415D2B34E00B19E6B /* ReflecticleUser.m in Sources */ = {isa = PBXBuildFile; fileRef = F15EE1CF15D2B34E00B19E6B /* ReflecticleUser.m */; };
+ F15EE1D615D2B4CE00B19E6B /* Growl.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F15EE1D515D2B4CE00B19E6B /* Growl.framework */; };
+ F15EE1D815D2B4E100B19E6B /* Growl.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = F15EE1D515D2B4CE00B19E6B /* Growl.framework */; };
+ F15EE1DB15D2B65600B19E6B /* ReflecticleActivityFeed.m in Sources */ = {isa = PBXBuildFile; fileRef = F15EE1DA15D2B65600B19E6B /* ReflecticleActivityFeed.m */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+ F15EE1D715D2B4DB00B19E6B /* CopyFiles */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = "";
+ dstSubfolderSpec = 10;
+ files = (
+ F15EE1D815D2B4E100B19E6B /* Growl.framework in CopyFiles */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+ F125483615D2BB360030A1D8 /* ReflecticleActivityNotification.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ReflecticleActivityNotification.h; sourceTree = "<group>"; };
+ F125483715D2BB360030A1D8 /* ReflecticleActivityNotification.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ReflecticleActivityNotification.m; sourceTree = "<group>"; };
+ F125483D15D2BDFF0030A1D8 /* ReflecticleProject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ReflecticleProject.h; sourceTree = "<group>"; };
+ F125483E15D2BDFF0030A1D8 /* ReflecticleProject.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ReflecticleProject.m; sourceTree = "<group>"; };
+ F15EE1A515D2B32400B19E6B /* Reflecticle Activity Feed.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Reflecticle Activity Feed.app"; sourceTree = BUILT_PRODUCTS_DIR; };
+ F15EE1A915D2B32400B19E6B /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; };
+ F15EE1AC15D2B32400B19E6B /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; };
+ F15EE1AD15D2B32400B19E6B /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; };
+ F15EE1AE15D2B32400B19E6B /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
+ F15EE1B115D2B32400B19E6B /* Reflecticle Activity Feed-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Reflecticle Activity Feed-Info.plist"; sourceTree = "<group>"; };
+ F15EE1B315D2B32400B19E6B /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ F15EE1B515D2B32400B19E6B /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
+ F15EE1B715D2B32400B19E6B /* Reflecticle Activity Feed-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Reflecticle Activity Feed-Prefix.pch"; sourceTree = "<group>"; };
+ F15EE1BB15D2B32400B19E6B /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
+ F15EE1BC15D2B32400B19E6B /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
+ F15EE1BF15D2B32400B19E6B /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainMenu.xib; sourceTree = "<group>"; };
+ F15EE1C615D2B34E00B19E6B /* ReflecticleActivity.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ReflecticleActivity.h; sourceTree = "<group>"; };
+ F15EE1C715D2B34E00B19E6B /* ReflecticleActivity.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ReflecticleActivity.m; sourceTree = "<group>"; };
+ F15EE1C815D2B34E00B19E6B /* ReflecticleClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ReflecticleClient.h; sourceTree = "<group>"; };
+ F15EE1C915D2B34E00B19E6B /* ReflecticleClient.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ReflecticleClient.m; sourceTree = "<group>"; };
+ F15EE1CE15D2B34E00B19E6B /* ReflecticleUser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ReflecticleUser.h; sourceTree = "<group>"; };
+ F15EE1CF15D2B34E00B19E6B /* ReflecticleUser.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ReflecticleUser.m; sourceTree = "<group>"; };
+ F15EE1D515D2B4CE00B19E6B /* Growl.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Growl.framework; sourceTree = "<group>"; };
+ F15EE1D915D2B65600B19E6B /* ReflecticleActivityFeed.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ReflecticleActivityFeed.h; sourceTree = "<group>"; };
+ F15EE1DA15D2B65600B19E6B /* ReflecticleActivityFeed.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ReflecticleActivityFeed.m; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ F15EE1A215D2B32400B19E6B /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ F15EE1AA15D2B32400B19E6B /* Cocoa.framework in Frameworks */,
+ F15EE1D615D2B4CE00B19E6B /* Growl.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ F15EE19A15D2B32400B19E6B = {
+ isa = PBXGroup;
+ children = (
+ F15EE1AF15D2B32400B19E6B /* Reflecticle Activity Feed */,
+ F15EE1A815D2B32400B19E6B /* Frameworks */,
+ F15EE1A615D2B32400B19E6B /* Products */,
+ );
+ sourceTree = "<group>";
+ };
+ F15EE1A615D2B32400B19E6B /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ F15EE1A515D2B32400B19E6B /* Reflecticle Activity Feed.app */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ F15EE1A815D2B32400B19E6B /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ F15EE1D515D2B4CE00B19E6B /* Growl.framework */,
+ F15EE1A915D2B32400B19E6B /* Cocoa.framework */,
+ F15EE1AB15D2B32400B19E6B /* Other Frameworks */,
+ );
+ name = Frameworks;
+ sourceTree = "<group>";
+ };
+ F15EE1AB15D2B32400B19E6B /* Other Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ F15EE1AC15D2B32400B19E6B /* AppKit.framework */,
+ F15EE1AD15D2B32400B19E6B /* CoreData.framework */,
+ F15EE1AE15D2B32400B19E6B /* Foundation.framework */,
+ );
+ name = "Other Frameworks";
+ sourceTree = "<group>";
+ };
+ F15EE1AF15D2B32400B19E6B /* Reflecticle Activity Feed */ = {
+ isa = PBXGroup;
+ children = (
+ F15EE1C615D2B34E00B19E6B /* ReflecticleActivity.h */,
+ F15EE1C715D2B34E00B19E6B /* ReflecticleActivity.m */,
+ F125483615D2BB360030A1D8 /* ReflecticleActivityNotification.h */,
+ F125483715D2BB360030A1D8 /* ReflecticleActivityNotification.m */,
+ F15EE1D915D2B65600B19E6B /* ReflecticleActivityFeed.h */,
+ F15EE1DA15D2B65600B19E6B /* ReflecticleActivityFeed.m */,
+ F15EE1C815D2B34E00B19E6B /* ReflecticleClient.h */,
+ F15EE1C915D2B34E00B19E6B /* ReflecticleClient.m */,
+ F125483D15D2BDFF0030A1D8 /* ReflecticleProject.h */,
+ F125483E15D2BDFF0030A1D8 /* ReflecticleProject.m */,
+ F15EE1CE15D2B34E00B19E6B /* ReflecticleUser.h */,
+ F15EE1CF15D2B34E00B19E6B /* ReflecticleUser.m */,
+ F15EE1BB15D2B32400B19E6B /* AppDelegate.h */,
+ F15EE1BC15D2B32400B19E6B /* AppDelegate.m */,
+ F15EE1BE15D2B32400B19E6B /* MainMenu.xib */,
+ F15EE1B015D2B32400B19E6B /* Supporting Files */,
+ );
+ path = "Reflecticle Activity Feed";
+ sourceTree = "<group>";
+ };
+ F15EE1B015D2B32400B19E6B /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ F15EE1B115D2B32400B19E6B /* Reflecticle Activity Feed-Info.plist */,
+ F15EE1B215D2B32400B19E6B /* InfoPlist.strings */,
+ F15EE1B515D2B32400B19E6B /* main.m */,
+ F15EE1B715D2B32400B19E6B /* Reflecticle Activity Feed-Prefix.pch */,
+ );
+ name = "Supporting Files";
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ F15EE1A415D2B32400B19E6B /* Reflecticle Activity Feed */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = F15EE1C315D2B32400B19E6B /* Build configuration list for PBXNativeTarget "Reflecticle Activity Feed" */;
+ buildPhases = (
+ F15EE1A115D2B32400B19E6B /* Sources */,
+ F15EE1A215D2B32400B19E6B /* Frameworks */,
+ F15EE1A315D2B32400B19E6B /* Resources */,
+ F15EE1D715D2B4DB00B19E6B /* CopyFiles */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = "Reflecticle Activity Feed";
+ productName = "Reflecticle Activity Feed";
+ productReference = F15EE1A515D2B32400B19E6B /* Reflecticle Activity Feed.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ F15EE19C15D2B32400B19E6B /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 0440;
+ ORGANIZATIONNAME = Highgroove;
+ };
+ buildConfigurationList = F15EE19F15D2B32400B19E6B /* Build configuration list for PBXProject "Reflecticle Activity Feed" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = English;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ );
+ mainGroup = F15EE19A15D2B32400B19E6B;
+ productRefGroup = F15EE1A615D2B32400B19E6B /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ F15EE1A415D2B32400B19E6B /* Reflecticle Activity Feed */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ F15EE1A315D2B32400B19E6B /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ F15EE1B415D2B32400B19E6B /* InfoPlist.strings in Resources */,
+ F15EE1C015D2B32400B19E6B /* MainMenu.xib in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ F15EE1A115D2B32400B19E6B /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ F15EE1B615D2B32400B19E6B /* main.m in Sources */,
+ F15EE1BD15D2B32400B19E6B /* AppDelegate.m in Sources */,
+ F15EE1D015D2B34E00B19E6B /* ReflecticleActivity.m in Sources */,
+ F15EE1D115D2B34E00B19E6B /* ReflecticleClient.m in Sources */,
+ F15EE1D415D2B34E00B19E6B /* ReflecticleUser.m in Sources */,
+ F15EE1DB15D2B65600B19E6B /* ReflecticleActivityFeed.m in Sources */,
+ F125483815D2BB360030A1D8 /* ReflecticleActivityNotification.m in Sources */,
+ F125483F15D2BDFF0030A1D8 /* ReflecticleProject.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXVariantGroup section */
+ F15EE1B215D2B32400B19E6B /* InfoPlist.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ F15EE1B315D2B32400B19E6B /* en */,
+ );
+ name = InfoPlist.strings;
+ sourceTree = "<group>";
+ };
+ F15EE1BE15D2B32400B19E6B /* MainMenu.xib */ = {
+ isa = PBXVariantGroup;
+ children = (
+ F15EE1BF15D2B32400B19E6B /* en */,
+ );
+ name = MainMenu.xib;
+ sourceTree = "<group>";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ F15EE1C115D2B32400B19E6B /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ COPY_PHASE_STRIP = NO;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.8;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = macosx;
+ };
+ name = Debug;
+ };
+ F15EE1C215D2B32400B19E6B /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ COPY_PHASE_STRIP = YES;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.8;
+ SDKROOT = macosx;
+ };
+ name = Release;
+ };
+ F15EE1C415D2B32400B19E6B /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COMBINE_HIDPI_IMAGES = YES;
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "\"$(SRCROOT)\"",
+ );
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "Reflecticle Activity Feed/Reflecticle Activity Feed-Prefix.pch";
+ INFOPLIST_FILE = "Reflecticle Activity Feed/Reflecticle Activity Feed-Info.plist";
+ MACOSX_DEPLOYMENT_TARGET = 10.7;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Debug;
+ };
+ F15EE1C515D2B32400B19E6B /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ COMBINE_HIDPI_IMAGES = YES;
+ FRAMEWORK_SEARCH_PATHS = (
+ "$(inherited)",
+ "\"$(SRCROOT)\"",
+ );
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "Reflecticle Activity Feed/Reflecticle Activity Feed-Prefix.pch";
+ INFOPLIST_FILE = "Reflecticle Activity Feed/Reflecticle Activity Feed-Info.plist";
+ MACOSX_DEPLOYMENT_TARGET = 10.7;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ F15EE19F15D2B32400B19E6B /* Build configuration list for PBXProject "Reflecticle Activity Feed" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ F15EE1C115D2B32400B19E6B /* Debug */,
+ F15EE1C215D2B32400B19E6B /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ F15EE1C315D2B32400B19E6B /* Build configuration list for PBXNativeTarget "Reflecticle Activity Feed" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ F15EE1C415D2B32400B19E6B /* Debug */,
+ F15EE1C515D2B32400B19E6B /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = F15EE19C15D2B32400B19E6B /* Project object */;
+}
24 Reflecticle Activity Feed/AppDelegate.h
@@ -0,0 +1,24 @@
+//
+// AppDelegate.h
+// Reflecticle Activity Feed
+//
+// Created by ADML on 2012-08-08.
+// Copyright (c) 2012 Highgroove. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+#import <Growl/Growl.h>
+
+#import "ReflecticleClient.h"
+#import "ReflecticleActivityFeed.h"
+
+@interface AppDelegate : NSObject <NSApplicationDelegate, GrowlApplicationBridgeDelegate> {
+ NSTimer *feedTimer;
+
+ ReflecticleClient *client;
+ ReflecticleActivityFeed *feed;
+}
+
+@property (assign) IBOutlet NSWindow *window;
+
+@end
36 Reflecticle Activity Feed/AppDelegate.m
@@ -0,0 +1,36 @@
+//
+// AppDelegate.m
+// Reflecticle Activity Feed
+//
+// Created by ADML on 2012-08-08.
+// Copyright (c) 2012 Highgroove. All rights reserved.
+//
+
+#import "AppDelegate.h"
+
+@implementation AppDelegate
+
+- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
+{
+ [GrowlApplicationBridge setGrowlDelegate:self];
+
+ client = [[ReflecticleClient alloc] initWithApiKeyFromDotFile];
+ feed = [[ReflecticleActivityFeed alloc] initWithClient:client];
+
+ feedTimer = [NSTimer scheduledTimerWithTimeInterval:5.0 target:feed selector:@selector(notifyOfActivitySinceLastCheck:) userInfo:nil repeats:YES];
+}
+
+-(NSDictionary *)registrationDictionaryForGrowl {
+ NSArray *notifications = [NSArray arrayWithObjects:@"Reflecticle", nil];
+
+ return [NSDictionary dictionaryWithObjectsAndKeys:
+ notifications, GROWL_NOTIFICATIONS_ALL,
+ notifications, GROWL_NOTIFICATIONS_DEFAULT,
+ nil];
+}
+
+-(void)growlNotificationWasClicked:(id)clickContext {
+ [[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"https://www.reflecticle.com"]];
+}
+
+@end
36 Reflecticle Activity Feed/Reflecticle Activity Feed-Info.plist
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>en</string>
+ <key>CFBundleExecutable</key>
+ <string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIconFile</key>
+ <string></string>
+ <key>CFBundleIdentifier</key>
+ <string>com.highgroove.${PRODUCT_NAME:rfc1034identifier}</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1</string>
+ <key>LSApplicationCategoryType</key>
+ <string>public.app-category.business</string>
+ <key>LSMinimumSystemVersion</key>
+ <string>${MACOSX_DEPLOYMENT_TARGET}</string>
+ <key>NSHumanReadableCopyright</key>
+ <string>Copyright © 2012 Highgroove. All rights reserved.</string>
+ <key>NSMainNibFile</key>
+ <string>MainMenu</string>
+ <key>NSPrincipalClass</key>
+ <string>NSApplication</string>
+</dict>
+</plist>
7 Reflecticle Activity Feed/Reflecticle Activity Feed-Prefix.pch
@@ -0,0 +1,7 @@
+//
+// Prefix header for all source files of the 'Reflecticle Activity Feed' target in the 'Reflecticle Activity Feed' project
+//
+
+#ifdef __OBJC__
+ #import <Cocoa/Cocoa.h>
+#endif
22 Reflecticle Activity Feed/ReflecticleActivity.h
@@ -0,0 +1,22 @@
+//
+// ReflecticleActivity.h
+// alfred_reflecticle_extension
+//
+// Created by ADML on 2012-08-07.
+// Copyright (c) 2012 MH Solutions LLC. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import "ReflecticleUser.h"
+#import "ReflecticleProject.h"
+
+@interface ReflecticleActivity : NSObject
+
+@property (copy, nonatomic) NSNumber *activityId;
+@property (retain, nonatomic) ReflecticleUser *owner;
+@property (copy, nonatomic) NSString *description;
+@property (retain, nonatomic) ReflecticleProject *project;
+
+-(id)initWithJSON:(NSDictionary*)jsonObj;
+
+@end
30 Reflecticle Activity Feed/ReflecticleActivity.m
@@ -0,0 +1,30 @@
+//
+// ReflecticleActivity.m
+// alfred_reflecticle_extension
+//
+// Created by ADML on 2012-08-07.
+// Copyright (c) 2012 MH Solutions LLC. All rights reserved.
+//
+
+#import "ReflecticleActivity.h"
+
+@implementation ReflecticleActivity
+
+@synthesize activityId;
+@synthesize description;
+@synthesize owner;
+@synthesize project;
+
+-(id)initWithJSON:(NSDictionary *)jsonObj {
+ self = [super init];
+ if (self) {
+ self.activityId = [jsonObj objectForKey:@"id"];
+ self.description = [jsonObj objectForKey:@"description"];
+ self.owner = [[ReflecticleUser alloc] initWithJSON:[jsonObj objectForKey:@"owner"]];
+ self.project = [[ReflecticleProject alloc] initWithJSON:[jsonObj objectForKey:@"project"]];
+ }
+
+ return self;
+}
+
+@end
24 Reflecticle Activity Feed/ReflecticleActivityFeed.h
@@ -0,0 +1,24 @@
+//
+// ReflecticleActivityFeed.h
+// Reflecticle Activity Feed
+//
+// Created by ADML on 2012-08-08.
+// Copyright (c) 2012 Highgroove. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+#import "ReflecticleClient.h"
+#import "ReflecticleActivityNotification.h"
+
+@interface ReflecticleActivityFeed : NSObject {
+ NSDate *lastCheckDate;
+ NSNumber *lastId;
+}
+
+@property (retain, nonatomic) ReflecticleClient *client;
+
+-(id)initWithClient:(ReflecticleClient*)client;
+-(void)notifyOfActivitySinceLastCheck;
+
+@end
45 Reflecticle Activity Feed/ReflecticleActivityFeed.m
@@ -0,0 +1,45 @@
+//
+// ReflecticleActivityFeed.m
+// Reflecticle Activity Feed
+//
+// Created by ADML on 2012-08-08.
+// Copyright (c) 2012 Highgroove. All rights reserved.
+//
+
+#import "ReflecticleActivityFeed.h"
+
+@implementation ReflecticleActivityFeed
+
+@synthesize client;
+
+-(id)initWithClient:(ReflecticleClient*)client {
+ self = [super init];
+ if (self) {
+ lastId = [NSNumber numberWithInt:0];
+ lastCheckDate = [NSDate date];
+
+ self.client = client;
+ }
+
+ return self;
+}
+
+-(void)notifyOfActivitySinceLastCheck:(NSTimer*)timer {
+ NSArray* activities = [self.client activitySince:lastCheckDate];
+ if (activities.count > 0) {
+ lastCheckDate = [NSDate dateWithTimeIntervalSinceNow:-1]; // current time minus one second
+
+ // Send notifications
+ for (ReflecticleActivity *activity in activities) {
+ if (activity.activityId > lastId) {
+ ReflecticleActivityNotification *notification = [[ReflecticleActivityNotification alloc] initWithActivity:activity];
+ [notification show];
+ }
+ }
+
+ // Store the most recent ID so we don't resend it
+ lastId = [[activities objectAtIndex:0] activityId];
+ }
+}
+
+@end
22 Reflecticle Activity Feed/ReflecticleActivityNotification.h
@@ -0,0 +1,22 @@
+//
+// ReflecticleActivityNotification.h
+// Reflecticle Activity Feed
+//
+// Created by ADML on 2012-08-08.
+// Copyright (c) 2012 Highgroove. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <Growl/Growl.h>
+
+#import "ReflecticleActivity.h"
+#import "ReflecticleUser.h"
+
+@interface ReflecticleActivityNotification : NSObject
+
+@property (retain, nonatomic) ReflecticleActivity *activity;
+
+-(id)initWithActivity:(ReflecticleActivity*)activity;
+-(void)show;
+
+@end
30 Reflecticle Activity Feed/ReflecticleActivityNotification.m
@@ -0,0 +1,30 @@
+//
+// ReflecticleActivityNotification.m
+// Reflecticle Activity Feed
+//
+// Created by ADML on 2012-08-08.
+// Copyright (c) 2012 Highgroove. All rights reserved.
+//
+
+#import "ReflecticleActivityNotification.h"
+
+@implementation ReflecticleActivityNotification
+
+@synthesize activity;
+
+-(id)initWithActivity:(ReflecticleActivity *)activity {
+ self = [super init];
+ if (self) {
+ self.activity = activity;
+ }
+
+ return self;
+}
+
+-(void)show {
+ NSString *title = [NSString stringWithFormat:@"%@: %@", activity.owner.name, activity.project.name];
+
+ [GrowlApplicationBridge notifyWithTitle:title description:activity.description notificationName:@"Reflecticle" iconData:[activity.owner imageData] priority:0 isSticky:NO clickContext:activity.activityId];
+}
+
+@end
22 Reflecticle Activity Feed/ReflecticleClient.h
@@ -0,0 +1,22 @@
+//
+// ReflecticleClient.h
+// alfred_reflecticle_extension
+//
+// Created by ADML on 2012-08-07.
+// Copyright (c) 2012 MH Solutions LLC. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import "ReflecticleActivity.h"
+
+@interface ReflecticleClient : NSObject {
+}
+
+@property (copy, nonatomic) NSString *apiKey;
+
+-(id)initWithApiKey:(NSString*)apiKey;
+-(id)initWithApiKeyFromDotFile;
+
+-(NSArray*)activitySince:(NSDate*)since;
+
+@end
64 Reflecticle Activity Feed/ReflecticleClient.m
@@ -0,0 +1,64 @@
+//
+// ReflecticleClient.m
+// alfred_reflecticle_extension
+//
+// Created by ADML on 2012-08-07.
+// Copyright (c) 2012 MH Solutions LLC. All rights reserved.
+//
+
+#import "ReflecticleClient.h"
+
+@implementation ReflecticleClient
+
+@synthesize apiKey;
+
+-(id)initWithApiKeyFromDotFile {
+ self = [super init];
+ if (self) {
+ NSString *apiPath = [NSHomeDirectory() stringByAppendingPathComponent:@".reflecticle"];
+ NSError *error;
+ NSString *contents = [NSString stringWithContentsOfFile:apiPath encoding:NSUTF8StringEncoding error:&error];
+
+ if (nil == contents) {
+ NSLog(@"Error reading file at %@\n%@", apiPath, [error localizedFailureReason]);
+ }
+
+ NSArray *lines = [contents componentsSeparatedByCharactersInSet:[NSCharacterSet characterSetWithCharactersInString:@"\n"]];
+ self.apiKey = [lines objectAtIndex:0];
+ }
+
+ return self;
+}
+
+-(id)initWithApiKey:(NSString *)key {
+ self = [super init];
+ if (self) {
+ self.apiKey = key;
+ }
+
+ return self;
+}
+
+-(NSArray*)activitySince:(NSDate *)since {
+ NSString *dateString = [[since descriptionWithCalendarFormat:nil timeZone:nil locale:nil] stringByAddingPercentEscapesUsingEncoding:NSASCIIStringEncoding];
+
+ NSError *e;
+ NSArray *activityJsonArray = [NSJSONSerialization JSONObjectWithData:[NSData dataWithContentsOfURL:[self authenticatedUrl:@"activities.json" withQuery:[NSString stringWithFormat:@"newer_than=%@", dateString]]] options:0 error:&e];
+
+ NSMutableArray *activities = [NSMutableArray arrayWithCapacity:[activityJsonArray count]];
+ for (uint i = 0; i < [activityJsonArray count]; i++) {
+ NSDictionary *activityJsonObject = [activityJsonArray objectAtIndex:i];
+ ReflecticleActivity *activity = [[ReflecticleActivity alloc] initWithJSON:activityJsonObject];
+
+ [activities addObject:activity];
+ }
+
+ return activities;
+}
+
+-(NSURL*)authenticatedUrl:(NSString*)endpoint withQuery:(NSString*)query {
+ NSString* authenticatedUrlString = [NSString stringWithFormat:@"https://www.reflecticle.com/api/%@?%@&api_key=%@", endpoint, query, self.apiKey];
+ return [NSURL URLWithString:authenticatedUrlString];
+}
+
+@end
19 Reflecticle Activity Feed/ReflecticleProject.h
@@ -0,0 +1,19 @@
+//
+// ReflecticleProject.h
+// Reflecticle Activity Feed
+//
+// Created by ADML on 2012-08-08.
+// Copyright (c) 2012 Highgroove. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+@interface ReflecticleProject : NSObject
+
+@property (copy, nonatomic) NSNumber *projectId;
+@property (copy, nonatomic) NSString *name;
+@property (copy, nonatomic) NSString *imageUrl;
+
+-(id)initWithJSON:(NSDictionary*)jsonObj;
+
+@end
28 Reflecticle Activity Feed/ReflecticleProject.m
@@ -0,0 +1,28 @@
+//
+// ReflecticleProject.m
+// Reflecticle Activity Feed
+//
+// Created by ADML on 2012-08-08.
+// Copyright (c) 2012 Highgroove. All rights reserved.
+//
+
+#import "ReflecticleProject.h"
+
+@implementation ReflecticleProject
+
+@synthesize projectId;
+@synthesize name;
+@synthesize imageUrl;
+
+-(id)initWithJSON:(NSDictionary *)jsonObj {
+ self = [super init];
+ if (self) {
+ self.projectId = [jsonObj objectForKey:@"id"];
+ self.name = [jsonObj objectForKey:@"name"];
+ self.imageUrl = [jsonObj objectForKey:@"imageUrl"];
+ }
+
+ return self;
+}
+
+@end
23 Reflecticle Activity Feed/ReflecticleUser.h
@@ -0,0 +1,23 @@
+//
+// ReflecticleUser.h
+// alfred_reflecticle_extension
+//
+// Created by ADML on 2012-08-07.
+// Copyright (c) 2012 MH Solutions LLC. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+@interface ReflecticleUser : NSObject
+
+@property (copy, nonatomic) NSNumber *userId;
+@property (copy, nonatomic) NSURL *imageUrl;
+@property (copy, nonatomic) NSString *name;
+@property (copy, nonatomic) NSString *initials;
+@property (copy, nonatomic) NSString *email;
+
+-(id)initWithJSON:(NSDictionary*)jsonObj;
+
+-(NSData*)imageData;
+
+@end
36 Reflecticle Activity Feed/ReflecticleUser.m
@@ -0,0 +1,36 @@
+//
+// ReflecticleUser.m
+// alfred_reflecticle_extension
+//
+// Created by ADML on 2012-08-07.
+// Copyright (c) 2012 MH Solutions LLC. All rights reserved.
+//
+
+#import "ReflecticleUser.h"
+
+@implementation ReflecticleUser
+
+@synthesize userId;
+@synthesize imageUrl;
+@synthesize name;
+@synthesize initials;
+@synthesize email;
+
+-(id)initWithJSON:(NSDictionary *)jsonObj {
+ self = [super init];
+ if (self) {
+ self.userId = [jsonObj objectForKey:@"id"];
+ self.imageUrl = [NSURL URLWithString:[NSString stringWithFormat:@"https:%@", [jsonObj objectForKey:@"image_url"]]];
+ self.name = [jsonObj objectForKey:@"name"];
+ self.initials = [jsonObj objectForKey:@"initials"];
+ self.email = [jsonObj objectForKey:@"email"];
+ }
+
+ return self;
+}
+
+-(NSData*)imageData {
+ return [NSData dataWithContentsOfURL:imageUrl];
+}
+
+@end
2 Reflecticle Activity Feed/en.lproj/InfoPlist.strings
@@ -0,0 +1,2 @@
+/* Localized versions of Info.plist keys */
+
575 Reflecticle Activity Feed/en.lproj/MainMenu.xib
@@ -0,0 +1,575 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="8.00">
+ <data>
+ <int key="IBDocument.SystemTarget">1080</int>
+ <string key="IBDocument.SystemVersion">12A269</string>
+ <string key="IBDocument.InterfaceBuilderVersion">2549</string>
+ <string key="IBDocument.AppKitVersion">1187</string>
+ <string key="IBDocument.HIToolboxVersion">624.00</string>
+ <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
+ <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string>
+ <string key="NS.object.0">2549</string>
+ </object>
+ <array key="IBDocument.IntegratedClassDependencies">
+ <string>NSCustomObject</string>
+ <string>NSMenu</string>
+ <string>NSMenuItem</string>
+ <string>NSView</string>
+ <string>NSWindowTemplate</string>
+ </array>
+ <array key="IBDocument.PluginDependencies">
+ <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
+ </array>
+ <object class="NSMutableDictionary" key="IBDocument.Metadata">
+ <string key="NS.key.0">PluginDependencyRecalculationVersion</string>
+ <integer value="1" key="NS.object.0"/>
+ </object>
+ <array class="NSMutableArray" key="IBDocument.RootObjects" id="1048">
+ <object class="NSCustomObject" id="1021">
+ <string key="NSClassName">NSApplication</string>
+ </object>
+ <object class="NSCustomObject" id="1014">
+ <string key="NSClassName">FirstResponder</string>
+ </object>
+ <object class="NSCustomObject" id="1050">
+ <string key="NSClassName">NSApplication</string>
+ </object>
+ <object class="NSMenu" id="649796088">
+ <string key="NSTitle">AMainMenu</string>
+ <array class="NSMutableArray" key="NSMenuItems">
+ <object class="NSMenuItem" id="694149608">
+ <reference key="NSMenu" ref="649796088"/>
+ <string key="NSTitle">Reflecticle Activity Feed</string>
+ <string key="NSKeyEquiv"/>
+ <int key="NSKeyEquivModMask">1048576</int>
+ <int key="NSMnemonicLoc">2147483647</int>
+ <object class="NSCustomResource" key="NSOnImage" id="35465992">
+ <string key="NSClassName">NSImage</string>
+ <string key="NSResourceName">NSMenuCheckmark</string>
+ </object>
+ <object class="NSCustomResource" key="NSMixedImage" id="502551668">
+ <string key="NSClassName">NSImage</string>
+ <string key="NSResourceName">NSMenuMixedState</string>
+ </object>
+ <string key="NSAction">submenuAction:</string>
+ <object class="NSMenu" key="NSSubmenu" id="110575045">
+ <string key="NSTitle">Reflecticle Activity Feed</string>
+ <array class="NSMutableArray" key="NSMenuItems">
+ <object class="NSMenuItem" id="238522557">
+ <reference key="NSMenu" ref="110575045"/>
+ <string key="NSTitle">About Reflecticle Activity Feed</string>
+ <string key="NSKeyEquiv"/>
+ <int key="NSMnemonicLoc">2147483647</int>
+ <reference key="NSOnImage" ref="35465992"/>
+ <reference key="NSMixedImage" ref="502551668"/>
+ </object>
+ <object class="NSMenuItem" id="304266470">
+ <reference key="NSMenu" ref="110575045"/>
+ <bool key="NSIsDisabled">YES</bool>
+ <bool key="NSIsSeparator">YES</bool>
+ <string key="NSTitle"/>
+ <string key="NSKeyEquiv"/>
+ <int key="NSKeyEquivModMask">1048576</int>
+ <int key="NSMnemonicLoc">2147483647</int>
+ <reference key="NSOnImage" ref="35465992"/>
+ <reference key="NSMixedImage" ref="502551668"/>
+ </object>
+ <object class="NSMenuItem" id="609285721">
+ <reference key="NSMenu" ref="110575045"/>
+ <string key="NSTitle">Preferences…</string>
+ <string key="NSKeyEquiv">,</string>
+ <int key="NSKeyEquivModMask">1048576</int>
+ <int key="NSMnemonicLoc">2147483647</int>
+ <reference key="NSOnImage" ref="35465992"/>
+ <reference key="NSMixedImage" ref="502551668"/>
+ </object>
+ <object class="NSMenuItem" id="481834944">
+ <reference key="NSMenu" ref="110575045"/>
+ <bool key="NSIsDisabled">YES</bool>
+ <bool key="NSIsSeparator">YES</bool>
+ <string key="NSTitle"/>
+ <string key="NSKeyEquiv"/>
+ <int key="NSKeyEquivModMask">1048576</int>
+ <int key="NSMnemonicLoc">2147483647</int>
+ <reference key="NSOnImage" ref="35465992"/>
+ <reference key="NSMixedImage" ref="502551668"/>
+ </object>
+ <object class="NSMenuItem" id="1046388886">
+ <reference key="NSMenu" ref="110575045"/>
+ <string key="NSTitle">Services</string>
+ <string key="NSKeyEquiv"/>
+ <int key="NSKeyEquivModMask">1048576</int>
+ <int key="NSMnemonicLoc">2147483647</int>
+ <reference key="NSOnImage" ref="35465992"/>
+ <reference key="NSMixedImage" ref="502551668"/>
+ <string key="NSAction">submenuAction:</string>
+ <object class="NSMenu" key="NSSubmenu" id="752062318">
+ <string key="NSTitle">Services</string>
+ <array class="NSMutableArray" key="NSMenuItems"/>
+ <string key="NSName">_NSServicesMenu</string>
+ </object>
+ </object>
+ <object class="NSMenuItem" id="646227648">
+ <reference key="NSMenu" ref="110575045"/>
+ <bool key="NSIsDisabled">YES</bool>
+ <bool key="NSIsSeparator">YES</bool>
+ <string key="NSTitle"/>
+ <string key="NSKeyEquiv"/>
+ <int key="NSKeyEquivModMask">1048576</int>
+ <int key="NSMnemonicLoc">2147483647</int>
+ <reference key="NSOnImage" ref="35465992"/>
+ <reference key="NSMixedImage" ref="502551668"/>
+ </object>
+ <object class="NSMenuItem" id="755159360">
+ <reference key="NSMenu" ref="110575045"/>
+ <string key="NSTitle">Hide Reflecticle Activity Feed</string>
+ <string key="NSKeyEquiv">h</string>
+ <int key="NSKeyEquivModMask">1048576</int>
+ <int key="NSMnemonicLoc">2147483647</int>
+ <reference key="NSOnImage" ref="35465992"/>
+ <reference key="NSMixedImage" ref="502551668"/>
+ </object>
+ <object class="NSMenuItem" id="342932134">
+ <reference key="NSMenu" ref="110575045"/>
+ <string key="NSTitle">Hide Others</string>
+ <string key="NSKeyEquiv">h</string>
+ <int key="NSKeyEquivModMask">1572864</int>
+ <int key="NSMnemonicLoc">2147483647</int>
+ <reference key="NSOnImage" ref="35465992"/>
+ <reference key="NSMixedImage" ref="502551668"/>
+ </object>
+ <object class="NSMenuItem" id="908899353">
+ <reference key="NSMenu" ref="110575045"/>
+ <string key="NSTitle">Show All</string>
+ <string key="NSKeyEquiv"/>
+ <int key="NSKeyEquivModMask">1048576</int>
+ <int key="NSMnemonicLoc">2147483647</int>
+ <reference key="NSOnImage" ref="35465992"/>
+ <reference key="NSMixedImage" ref="502551668"/>
+ </object>
+ <object class="NSMenuItem" id="1056857174">
+ <reference key="NSMenu" ref="110575045"/>
+ <bool key="NSIsDisabled">YES</bool>
+ <bool key="NSIsSeparator">YES</bool>
+ <string key="NSTitle"/>
+ <string key="NSKeyEquiv"/>
+ <int key="NSKeyEquivModMask">1048576</int>
+ <int key="NSMnemonicLoc">2147483647</int>
+ <reference key="NSOnImage" ref="35465992"/>
+ <reference key="NSMixedImage" ref="502551668"/>
+ </object>
+ <object class="NSMenuItem" id="632727374">
+ <reference key="NSMenu" ref="110575045"/>
+ <string key="NSTitle">Quit Reflecticle Activity Feed</string>
+ <string key="NSKeyEquiv">q</string>
+ <int key="NSKeyEquivModMask">1048576</int>
+ <int key="NSMnemonicLoc">2147483647</int>
+ <reference key="NSOnImage" ref="35465992"/>
+ <reference key="NSMixedImage" ref="502551668"/>
+ </object>
+ </array>
+ <string key="NSName">_NSAppleMenu</string>
+ </object>
+ </object>
+ <object class="NSMenuItem" id="379814623">
+ <reference key="NSMenu" ref="649796088"/>
+ <string key="NSTitle">File</string>
+ <string key="NSKeyEquiv"/>
+ <int key="NSKeyEquivModMask">1048576</int>
+ <int key="NSMnemonicLoc">2147483647</int>
+ <reference key="NSOnImage" ref="35465992"/>
+ <reference key="NSMixedImage" ref="502551668"/>
+ </object>
+ <object class="NSMenuItem" id="952259628">
+ <reference key="NSMenu" ref="649796088"/>
+ <string key="NSTitle">Edit</string>
+ <string key="NSKeyEquiv"/>
+ <int key="NSKeyEquivModMask">1048576</int>
+ <int key="NSMnemonicLoc">2147483647</int>
+ <reference key="NSOnImage" ref="35465992"/>
+ <reference key="NSMixedImage" ref="502551668"/>
+ </object>
+ <object class="NSMenuItem" id="302598603">
+ <reference key="NSMenu" ref="649796088"/>
+ <string key="NSTitle">Format</string>
+ <string key="NSKeyEquiv"/>
+ <int key="NSMnemonicLoc">2147483647</int>
+ <reference key="NSOnImage" ref="35465992"/>
+ <reference key="NSMixedImage" ref="502551668"/>
+ </object>
+ <object class="NSMenuItem" id="586577488">
+ <reference key="NSMenu" ref="649796088"/>
+ <string key="NSTitle">View</string>
+ <string key="NSKeyEquiv"/>
+ <int key="NSKeyEquivModMask">1048576</int>
+ <int key="NSMnemonicLoc">2147483647</int>
+ <reference key="NSOnImage" ref="35465992"/>
+ <reference key="NSMixedImage" ref="502551668"/>
+ </object>
+ <object class="NSMenuItem" id="713487014">
+ <reference key="NSMenu" ref="649796088"/>
+ <string key="NSTitle">Window</string>
+ <string key="NSKeyEquiv"/>
+ <int key="NSKeyEquivModMask">1048576</int>
+ <int key="NSMnemonicLoc">2147483647</int>
+ <reference key="NSOnImage" ref="35465992"/>
+ <reference key="NSMixedImage" ref="502551668"/>
+ </object>
+ <object class="NSMenuItem" id="448692316">
+ <reference key="NSMenu" ref="649796088"/>
+ <string key="NSTitle">Help</string>
+ <string key="NSKeyEquiv"/>
+ <int key="NSMnemonicLoc">2147483647</int>
+ <reference key="NSOnImage" ref="35465992"/>
+ <reference key="NSMixedImage" ref="502551668"/>
+ </object>
+ </array>
+ <string key="NSName">_NSMainMenu</string>
+ </object>
+ <object class="NSWindowTemplate" id="972006081">
+ <int key="NSWindowStyleMask">15</int>
+ <int key="NSWindowBacking">2</int>
+ <string key="NSWindowRect">{{335, 390}, {480, 360}}</string>
+ <int key="NSWTFlags">1954021376</int>
+ <string key="NSWindowTitle">Reflecticle Activity Feed</string>
+ <string key="NSWindowClass">NSWindow</string>
+ <nil key="NSViewClass"/>
+ <nil key="NSUserInterfaceItemIdentifier"/>
+ <object class="NSView" key="NSWindowView" id="439893737">
+ <reference key="NSNextResponder"/>
+ <int key="NSvFlags">256</int>
+ <string key="NSFrameSize">{480, 360}</string>
+ <reference key="NSSuperview"/>
+ </object>
+ <string key="NSScreenRect">{{0, 0}, {1440, 878}}</string>
+ <string key="NSMaxSize">{10000000000000, 10000000000000}</string>
+ <bool key="NSWindowIsRestorable">YES</bool>
+ </object>
+ <object class="NSCustomObject" id="976324537">
+ <string key="NSClassName">AppDelegate</string>
+ </object>
+ <object class="NSCustomObject" id="755631768">
+ <string key="NSClassName">NSFontManager</string>
+ </object>
+ </array>
+ <object class="IBObjectContainer" key="IBDocument.Objects">
+ <array class="NSMutableArray" key="connectionRecords">
+ <object class="IBConnectionRecord">
+ <object class="IBActionConnection" key="connection">
+ <string key="label">terminate:</string>
+ <reference key="source" ref="1050"/>
+ <reference key="destination" ref="632727374"/>
+ </object>
+ <int key="connectionID">449</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBActionConnection" key="connection">
+ <string key="label">orderFrontStandardAboutPanel:</string>
+ <reference key="source" ref="1021"/>
+ <reference key="destination" ref="238522557"/>
+ </object>
+ <int key="connectionID">142</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBOutletConnection" key="connection">
+ <string key="label">delegate</string>
+ <reference key="source" ref="1021"/>
+ <reference key="destination" ref="976324537"/>
+ </object>
+ <int key="connectionID">495</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBActionConnection" key="connection">
+ <string key="label">hide:</string>
+ <reference key="source" ref="1014"/>
+ <reference key="destination" ref="755159360"/>
+ </object>
+ <int key="connectionID">367</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBActionConnection" key="connection">
+ <string key="label">hideOtherApplications:</string>
+ <reference key="source" ref="1014"/>
+ <reference key="destination" ref="342932134"/>
+ </object>
+ <int key="connectionID">368</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBActionConnection" key="connection">
+ <string key="label">unhideAllApplications:</string>
+ <reference key="source" ref="1014"/>
+ <reference key="destination" ref="908899353"/>
+ </object>
+ <int key="connectionID">370</int>
+ </object>
+ <object class="IBConnectionRecord">
+ <object class="IBOutletConnection" key="connection">
+ <string key="label">window</string>
+ <reference key="source" ref="976324537"/>
+ <reference key="destination" ref="972006081"/>
+ </object>
+ <int key="connectionID">532</int>
+ </object>
+ </array>
+ <object class="IBMutableOrderedSet" key="objectRecords">
+ <array key="orderedObjects">
+ <object class="IBObjectRecord">
+ <int key="objectID">0</int>
+ <array key="object" id="0"/>
+ <reference key="children" ref="1048"/>
+ <nil key="parent"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">-2</int>
+ <reference key="object" ref="1021"/>
+ <reference key="parent" ref="0"/>
+ <string key="objectName">File's Owner</string>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">-1</int>
+ <reference key="object" ref="1014"/>
+ <reference key="parent" ref="0"/>
+ <string key="objectName">First Responder</string>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">-3</int>
+ <reference key="object" ref="1050"/>
+ <reference key="parent" ref="0"/>
+ <string key="objectName">Application</string>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">29</int>
+ <reference key="object" ref="649796088"/>
+ <array class="NSMutableArray" key="children">
+ <reference ref="713487014"/>
+ <reference ref="694149608"/>
+ <reference ref="952259628"/>
+ <reference ref="379814623"/>
+ <reference ref="586577488"/>
+ <reference ref="302598603"/>
+ <reference ref="448692316"/>
+ </array>
+ <reference key="parent" ref="0"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">19</int>
+ <reference key="object" ref="713487014"/>
+ <array class="NSMutableArray" key="children"/>
+ <reference key="parent" ref="649796088"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">217</int>
+ <reference key="object" ref="952259628"/>
+ <array class="NSMutableArray" key="children"/>
+ <reference key="parent" ref="649796088"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">83</int>
+ <reference key="object" ref="379814623"/>
+ <array class="NSMutableArray" key="children"/>
+ <reference key="parent" ref="649796088"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">295</int>
+ <reference key="object" ref="586577488"/>
+ <array class="NSMutableArray" key="children"/>
+ <reference key="parent" ref="649796088"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">371</int>
+ <reference key="object" ref="972006081"/>
+ <array class="NSMutableArray" key="children">
+ <reference ref="439893737"/>
+ </array>
+ <reference key="parent" ref="0"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">372</int>
+ <reference key="object" ref="439893737"/>
+ <reference key="parent" ref="972006081"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">375</int>
+ <reference key="object" ref="302598603"/>
+ <array class="NSMutableArray" key="children"/>
+ <reference key="parent" ref="649796088"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">420</int>
+ <reference key="object" ref="755631768"/>
+ <reference key="parent" ref="0"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">490</int>
+ <reference key="object" ref="448692316"/>