Browse Source

Minor changes.

v1.3
Abhishek Banthia 8 years ago
parent
commit
baf29a6420
  1. 6
      Clocker.xcodeproj/project.pbxproj
  2. BIN
      Clocker.xcodeproj/project.xcworkspace/xcuserdata/abhishekbanthia.xcuserdatad/UserInterfaceState.xcuserstate
  3. 21
      Clocker/ApplicationDelegate.m
  4. 2
      Clocker/CLParentPanelController.h
  5. 3
      Clocker/CLParentPanelController.m
  6. 8
      Clocker/Floating Window/CLFloatingWindowController.m
  7. 2
      Clocker/PanelController.m
  8. 29
      Clocker/Preferences/CLPreferencesViewController.m
  9. BIN
      Frameworks/Crashlytics.framework/Versions/A/Crashlytics
  10. 16
      Frameworks/Crashlytics.framework/Versions/A/Headers/Answers.h
  11. 2
      Frameworks/Crashlytics.framework/Versions/A/Headers/CLSReport.h
  12. 1
      Frameworks/Crashlytics.framework/Versions/A/Headers/CLSStackFrame.h
  13. 44
      Frameworks/Crashlytics.framework/Versions/A/Headers/Crashlytics.h
  14. 20
      Frameworks/Crashlytics.framework/Versions/A/Resources/Info.plist
  15. 4
      Frameworks/Crashlytics.framework/run
  16. BIN
      Frameworks/Crashlytics.framework/submit
  17. BIN
      Frameworks/Crashlytics.framework/uploadDSYM
  18. BIN
      Frameworks/Fabric.framework/Versions/A/Fabric
  19. 41
      Frameworks/Fabric.framework/Versions/A/Headers/FABAttributes.h
  20. 20
      Frameworks/Fabric.framework/Versions/A/Headers/Fabric.h
  21. 18
      Frameworks/Fabric.framework/Versions/A/Resources/Info.plist
  22. 4
      Frameworks/Fabric.framework/run
  23. BIN
      Frameworks/Fabric.framework/uploadDSYM
  24. 1
      Frameworks/MoLoginItem.framework/Headers
  25. 1
      Frameworks/MoLoginItem.framework/MoLoginItem
  26. 1
      Frameworks/MoLoginItem.framework/Modules
  27. 1
      Frameworks/MoLoginItem.framework/Resources
  28. 15
      Frameworks/MoLoginItem.framework/Versions/A/Headers/MoLoginItem.h
  29. BIN
      Frameworks/MoLoginItem.framework/Versions/A/MoLoginItem
  30. 6
      Frameworks/MoLoginItem.framework/Versions/A/Modules/module.modulemap
  31. 44
      Frameworks/MoLoginItem.framework/Versions/A/Resources/Info.plist
  32. 1
      Frameworks/MoLoginItem.framework/Versions/Current

6
Clocker.xcodeproj/project.pbxproj

@ -7,6 +7,8 @@
objects = { objects = {
/* Begin PBXBuildFile section */ /* Begin PBXBuildFile section */
9A0E94681E6A5F010089B552 /* MoLoginItem.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9A0E94671E6A5F010089B552 /* MoLoginItem.framework */; };
9A0E94691E6A5F010089B552 /* MoLoginItem.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 9A0E94671E6A5F010089B552 /* MoLoginItem.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
9A10C6881CDAAB3000D474F1 /* CLPausableTimer.m in Sources */ = {isa = PBXBuildFile; fileRef = 9A10C6871CDAAB3000D474F1 /* CLPausableTimer.m */; }; 9A10C6881CDAAB3000D474F1 /* CLPausableTimer.m in Sources */ = {isa = PBXBuildFile; fileRef = 9A10C6871CDAAB3000D474F1 /* CLPausableTimer.m */; };
9A10C68F1CDAC8B500D474F1 /* CLPanelTextField.m in Sources */ = {isa = PBXBuildFile; fileRef = 9A10C68E1CDAC8B500D474F1 /* CLPanelTextField.m */; }; 9A10C68F1CDAC8B500D474F1 /* CLPanelTextField.m in Sources */ = {isa = PBXBuildFile; fileRef = 9A10C68E1CDAC8B500D474F1 /* CLPanelTextField.m */; };
9A13BAC61CA86A88007C6CBE /* CLAboutUsView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 9A13BAC81CA86A88007C6CBE /* CLAboutUsView.xib */; }; 9A13BAC61CA86A88007C6CBE /* CLAboutUsView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 9A13BAC81CA86A88007C6CBE /* CLAboutUsView.xib */; };
@ -187,6 +189,7 @@
dstSubfolderSpec = 10; dstSubfolderSpec = 10;
files = ( files = (
9A86E2C41CE04F7B00547EE7 /* ShortcutRecorder.framework in CopyFiles */, 9A86E2C41CE04F7B00547EE7 /* ShortcutRecorder.framework in CopyFiles */,
9A0E94691E6A5F010089B552 /* MoLoginItem.framework in CopyFiles */,
9A3169BD1D2CB9B40079FDF8 /* pop.framework in CopyFiles */, 9A3169BD1D2CB9B40079FDF8 /* pop.framework in CopyFiles */,
9A86E2C51CE04F7B00547EE7 /* PTHotKey.framework in CopyFiles */, 9A86E2C51CE04F7B00547EE7 /* PTHotKey.framework in CopyFiles */,
); );
@ -195,6 +198,7 @@
/* End PBXCopyFilesBuildPhase section */ /* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */ /* Begin PBXFileReference section */
9A0E94671E6A5F010089B552 /* MoLoginItem.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MoLoginItem.framework; path = Frameworks/MoLoginItem.framework; sourceTree = "<group>"; };
9A10C6861CDAAB3000D474F1 /* CLPausableTimer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CLPausableTimer.h; path = Clocker/CLPausableTimer.h; sourceTree = "<group>"; }; 9A10C6861CDAAB3000D474F1 /* CLPausableTimer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CLPausableTimer.h; path = Clocker/CLPausableTimer.h; sourceTree = "<group>"; };
9A10C6871CDAAB3000D474F1 /* CLPausableTimer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CLPausableTimer.m; path = Clocker/CLPausableTimer.m; sourceTree = "<group>"; }; 9A10C6871CDAAB3000D474F1 /* CLPausableTimer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = CLPausableTimer.m; path = Clocker/CLPausableTimer.m; sourceTree = "<group>"; };
9A10C68D1CDAC8B500D474F1 /* CLPanelTextField.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CLPanelTextField.h; path = Clocker/CLPanelTextField.h; sourceTree = "<group>"; }; 9A10C68D1CDAC8B500D474F1 /* CLPanelTextField.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CLPanelTextField.h; path = Clocker/CLPanelTextField.h; sourceTree = "<group>"; };
@ -352,6 +356,7 @@
DD4F7C0913C30F9F00825C6E /* Cocoa.framework in Frameworks */, DD4F7C0913C30F9F00825C6E /* Cocoa.framework in Frameworks */,
9A4379271BEC223900F4E27F /* Fabric.framework in Frameworks */, 9A4379271BEC223900F4E27F /* Fabric.framework in Frameworks */,
9ACE03EF1CB0ADE00039FC01 /* Firebase.framework in Frameworks */, 9ACE03EF1CB0ADE00039FC01 /* Firebase.framework in Frameworks */,
9A0E94681E6A5F010089B552 /* MoLoginItem.framework in Frameworks */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
@ -597,6 +602,7 @@
DD4F7BF913C30F9F00825C6E = { DD4F7BF913C30F9F00825C6E = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
9A0E94671E6A5F010089B552 /* MoLoginItem.framework */,
9AA4AC851CEC0EE40054ACB7 /* Onboarding Animated Views */, 9AA4AC851CEC0EE40054ACB7 /* Onboarding Animated Views */,
9AB89E021CE97A4900EC8EB1 /* Media.xcassets */, 9AB89E021CE97A4900EC8EB1 /* Media.xcassets */,
9A86E2B51CE04F1600547EE7 /* ShortcutRecorder.xcodeproj */, 9A86E2B51CE04F1600547EE7 /* ShortcutRecorder.xcodeproj */,

BIN
Clocker.xcodeproj/project.xcworkspace/xcuserdata/abhishekbanthia.xcuserdatad/UserInterfaceState.xcuserstate generated

Binary file not shown.

21
Clocker/ApplicationDelegate.m

@ -32,6 +32,7 @@
#import "CommonStrings.h" #import "CommonStrings.h"
#import "iVersion.h" #import "iVersion.h"
#import "CLOnboardingWindowController.h" #import "CLOnboardingWindowController.h"
#import "MoLoginItem/MoLoginItem.h"
@implementation ApplicationDelegate @implementation ApplicationDelegate
@ -63,12 +64,9 @@ void *kContextActivePanel = &kContextActivePanel;
+ (void)initialize + (void)initialize
{ {
//Configure iRate
[iRate sharedInstance].useAllAvailableLanguages = YES;
[iVersion sharedInstance].useAllAvailableLanguages = YES; [iVersion sharedInstance].useAllAvailableLanguages = YES;
[[iRate sharedInstance] setVerboseLogging:YES];
[[iVersion sharedInstance] setVerboseLogging:NO]; [[iVersion sharedInstance] setVerboseLogging:NO];
[iRate sharedInstance].promptForNewVersionIfUserRated = YES; [iRate sharedInstance].promptForNewVersionIfUserRated = NO;
} }
#pragma mark - NSApplicationDelegate #pragma mark - NSApplicationDelegate
@ -91,16 +89,6 @@ void *kContextActivePanel = &kContextActivePanel;
[self initializeDefaults]; [self initializeDefaults];
NSString *onboarding = [[NSUserDefaults standardUserDefaults] objectForKey:@"initialLaunch"];
if (onboarding == nil)
{
CLOnboardingWindowController *windowController = [CLOnboardingWindowController sharedWindow];
[windowController showWindow:nil];
[NSApp activateIgnoringOtherApps:YES];
[[NSUserDefaults standardUserDefaults] setObject:@"OnboardingDone" forKey:@"initialLaunch"];
}
[[NSUserDefaults standardUserDefaults] registerDefaults:@{ @"NSApplicationCrashOnExceptions": @YES }]; [[NSUserDefaults standardUserDefaults] registerDefaults:@{ @"NSApplicationCrashOnExceptions": @YES }];
[[Crashlytics sharedInstance] setDebugMode:NO]; [[Crashlytics sharedInstance] setDebugMode:NO];
@ -157,6 +145,11 @@ void *kContextActivePanel = &kContextActivePanel;
if (startClockerAtLogin == nil) { if (startClockerAtLogin == nil) {
[userDefaults setObject:@0 forKey:CLStartAtLogin]; [userDefaults setObject:@0 forKey:CLStartAtLogin];
} }
else
{
//Set yes to the start at login!
MOEnableLoginItem(YES);
}
NSNumber *displayMode = [userDefaults objectForKey:CLShowAppInForeground]; NSNumber *displayMode = [userDefaults objectForKey:CLShowAppInForeground];
if (displayMode == nil) { if (displayMode == nil) {

2
Clocker/CLParentPanelController.h

@ -9,6 +9,7 @@
#import <Cocoa/Cocoa.h> #import <Cocoa/Cocoa.h>
#import "CLOneWindowController.h" #import "CLOneWindowController.h"
#import "CLAppFeedbackWindowController.h" #import "CLAppFeedbackWindowController.h"
#import "CLTableViewDataSource.h"
@interface CLParentPanelController : NSWindowController<NSWindowDelegate, NSTableViewDataSource, NSTableViewDelegate> @interface CLParentPanelController : NSWindowController<NSWindowDelegate, NSTableViewDataSource, NSTableViewDelegate>
@ -26,6 +27,7 @@
@property (weak) IBOutlet NSSlider *futureSlider; @property (weak) IBOutlet NSSlider *futureSlider;
@property (weak) IBOutlet NSTableView *mainTableview; @property (weak) IBOutlet NSTableView *mainTableview;
@property (weak) IBOutlet NSLayoutConstraint *scrollViewHeight; @property (weak) IBOutlet NSLayoutConstraint *scrollViewHeight;
@property (strong) CLTableViewDataSource *timezoneDataSource;
@property (nonatomic, strong) CLOneWindowController *oneWindow; @property (nonatomic, strong) CLOneWindowController *oneWindow;
@property (weak, nonatomic) IBOutlet NSImageView *imageView; @property (weak, nonatomic) IBOutlet NSImageView *imageView;

3
Clocker/CLParentPanelController.m

@ -12,7 +12,6 @@
#import "CLOneWindowController.h" #import "CLOneWindowController.h"
#import <pop/POP.h> #import <pop/POP.h>
#import "iRate.h" #import "iRate.h"
#import "CLTableViewDataSource.h"
#import <Crashlytics/Crashlytics.h> #import <Crashlytics/Crashlytics.h>
NSString *const CLNotReallyButtonTitle = @"Not Really"; NSString *const CLNotReallyButtonTitle = @"Not Really";
@ -22,7 +21,7 @@ NSString *const CLYesWithQuestionMark = @"Yes?";
NSString *const CLYesWithExclamation = @"Yes!"; NSString *const CLYesWithExclamation = @"Yes!";
@interface CLParentPanelController () @interface CLParentPanelController ()
@property (strong) CLTableViewDataSource *timezoneDataSource;
@end @end
@implementation CLParentPanelController @implementation CLParentPanelController

8
Clocker/Floating Window/CLFloatingWindowController.m

@ -68,9 +68,15 @@ NSString *const CLTimezoneCellIdentifier = @"timeZoneCell";
self.window.titlebarAppearsTransparent = YES; self.window.titlebarAppearsTransparent = YES;
self.window.titleVisibility = NSWindowTitleHidden; self.window.titleVisibility = NSWindowTitleHidden;
self.reviewView.hidden = !self.showReviewCell;
self.reviewView.layer.backgroundColor = (theme.integerValue == 0) ? [NSColor whiteColor].CGColor : [NSColor blackColor].CGColor;
// Implement this method to handle any initialization after your window controller's window has been loaded from its nib file. // Implement this method to handle any initialization after your window controller's window has been loaded from its nib file.
} }
+ (instancetype)sharedFloatingWindow + (instancetype)sharedFloatingWindow
{ {
if (sharedFloatingWindow == nil) if (sharedFloatingWindow == nil)
@ -126,6 +132,8 @@ NSString *const CLTimezoneCellIdentifier = @"timeZoneCell";
{ {
self.futureSliderValue = 0; self.futureSliderValue = 0;
self.timezoneDataSource.futureSliderValue = 0;
if (self.floatingWindowTimer) if (self.floatingWindowTimer)
{ {
[self.floatingWindowTimer.timer invalidate]; [self.floatingWindowTimer.timer invalidate];

2
Clocker/PanelController.m

@ -209,6 +209,8 @@ static PanelController *sharedPanel = nil;
- (void)openPanel - (void)openPanel
{ {
self.timezoneDataSource.futureSliderValue = 0;
self.futureSliderValue = 0; self.futureSliderValue = 0;
self.reviewView.hidden = !self.showReviewCell; self.reviewView.hidden = !self.showReviewCell;

29
Clocker/Preferences/CLPreferencesViewController.m

@ -17,6 +17,7 @@
#import "EDSunriseSet.h" #import "EDSunriseSet.h"
#import "NSString+CLStringAdditions.h" #import "NSString+CLStringAdditions.h"
#import "CLTimezoneDataOperations.h" #import "CLTimezoneDataOperations.h"
#import "MoLoginItem/MoLoginItem.h"
NSString *const CLSearchPredicateKey = @"SELF CONTAINS[cd]%@"; NSString *const CLSearchPredicateKey = @"SELF CONTAINS[cd]%@";
NSString *const CLPreferencesTimezoneNameIdentifier = @"formattedAddress"; NSString *const CLPreferencesTimezoneNameIdentifier = @"formattedAddress";
@ -903,33 +904,7 @@ NSString *const CLTryAgainMessage = @"Try again, maybe?";
- (IBAction)loginPreferenceChanged:(NSButton *)sender - (IBAction)loginPreferenceChanged:(NSButton *)sender
{ {
NSError *fileCopyError = nil; MOEnableLoginItem(sender.state == NSOnState);
if(sender.state == 0)
{
NSString *destinationDirectory = [NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSUserDomainMask, YES)[0] stringByAppendingPathComponent:@"LaunchAgents/com.abhishek.ClockerHelper.plist"];
if ([[NSFileManager defaultManager] fileExistsAtPath:destinationDirectory])
{
[[NSFileManager defaultManager] removeItemAtPath:destinationDirectory error:&fileCopyError];
}
}
else
{
NSString *source = [[NSBundle mainBundle] pathForResource:@"com.abhishek.ClockerHelper" ofType:@"plist"];
NSString *destinationDirectory = [NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSUserDomainMask, YES)[0] stringByAppendingPathComponent:@"LaunchAgents/com.abhishek.ClockerHelper.plist"];
if ( [[NSFileManager defaultManager] isReadableFileAtPath:source] )
[[NSFileManager defaultManager] copyItemAtPath:source toPath:destinationDirectory error:&fileCopyError];
}
if(fileCopyError)
{
NSLog(@"Following error was encountered while copying the file: %@", fileCopyError);
}
} }
@end @end

BIN
Frameworks/Crashlytics.framework/Versions/A/Crashlytics vendored

Binary file not shown.

16
Frameworks/Crashlytics.framework/Versions/A/Headers/Answers.h vendored

@ -22,7 +22,7 @@ NS_ASSUME_NONNULL_BEGIN
* *
* @param signUpMethodOrNil The method by which a user logged in, e.g. Twitter or Digits. * @param signUpMethodOrNil The method by which a user logged in, e.g. Twitter or Digits.
* @param signUpSucceededOrNil The ultimate success or failure of the login * @param signUpSucceededOrNil The ultimate success or failure of the login
* @param customAttributesOrNil A dictionary of custom attributes to associate with this purchase. * @param customAttributesOrNil A dictionary of custom attributes to associate with this event.
*/ */
+ (void)logSignUpWithMethod:(nullable NSString *)signUpMethodOrNil + (void)logSignUpWithMethod:(nullable NSString *)signUpMethodOrNil
success:(nullable NSNumber *)signUpSucceededOrNil success:(nullable NSNumber *)signUpSucceededOrNil
@ -34,7 +34,7 @@ NS_ASSUME_NONNULL_BEGIN
* *
* @param loginMethodOrNil The method by which a user logged in, e.g. email, Twitter or Digits. * @param loginMethodOrNil The method by which a user logged in, e.g. email, Twitter or Digits.
* @param loginSucceededOrNil The ultimate success or failure of the login * @param loginSucceededOrNil The ultimate success or failure of the login
* @param customAttributesOrNil A dictionary of custom attributes to associate with this purchase. * @param customAttributesOrNil A dictionary of custom attributes to associate with this event.
*/ */
+ (void)logLoginWithMethod:(nullable NSString *)loginMethodOrNil + (void)logLoginWithMethod:(nullable NSString *)loginMethodOrNil
success:(nullable NSNumber *)loginSucceededOrNil success:(nullable NSNumber *)loginSucceededOrNil
@ -61,7 +61,7 @@ NS_ASSUME_NONNULL_BEGIN
* your application. * your application.
* *
* @param inviteMethodOrNil The method of invitation, e.g. GameCenter, Twitter, email. * @param inviteMethodOrNil The method of invitation, e.g. GameCenter, Twitter, email.
* @param customAttributesOrNil A dictionary of custom attributes to associate with this purchase. * @param customAttributesOrNil A dictionary of custom attributes to associate with this event.
*/ */
+ (void)logInviteWithMethod:(nullable NSString *)inviteMethodOrNil + (void)logInviteWithMethod:(nullable NSString *)inviteMethodOrNil
customAttributes:(nullable ANS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil; customAttributes:(nullable ANS_GENERIC_NSDICTIONARY(NSString *, id) *)customAttributesOrNil;
@ -74,8 +74,8 @@ NS_ASSUME_NONNULL_BEGIN
* @param currencyOrNil The ISO4217 currency code. Example: USD * @param currencyOrNil The ISO4217 currency code. Example: USD
* @param purchaseSucceededOrNil Was the purchase succesful or unsuccesful * @param purchaseSucceededOrNil Was the purchase succesful or unsuccesful
* @param itemNameOrNil The human-readable form of the item's name. Example: * @param itemNameOrNil The human-readable form of the item's name. Example:
* @param itemIdOrNil The machine-readable, unique item identifier Example: SKU
* @param itemTypeOrNil The type, or genre of the item. Example: Song * @param itemTypeOrNil The type, or genre of the item. Example: Song
* @param itemIdOrNil The machine-readable, unique item identifier Example: SKU
* @param customAttributesOrNil A dictionary of custom attributes to associate with this purchase. * @param customAttributesOrNil A dictionary of custom attributes to associate with this purchase.
*/ */
+ (void)logPurchaseWithPrice:(nullable NSDecimalNumber *)itemPriceOrNil + (void)logPurchaseWithPrice:(nullable NSDecimalNumber *)itemPriceOrNil
@ -101,7 +101,7 @@ NS_ASSUME_NONNULL_BEGIN
* @param levelNameOrNil The name of the level completed, E.G. "1" or "Training" * @param levelNameOrNil The name of the level completed, E.G. "1" or "Training"
* @param scoreOrNil The score the user completed the level with. * @param scoreOrNil The score the user completed the level with.
* @param levelCompletedSuccesfullyOrNil A boolean representing whether or not the level was completed succesfully. * @param levelCompletedSuccesfullyOrNil A boolean representing whether or not the level was completed succesfully.
* @param customAttributesOrNil A dictionary of custom attributes to associate with this purchase. * @param customAttributesOrNil A dictionary of custom attributes to associate with this event.
*/ */
+ (void)logLevelEnd:(nullable NSString *)levelNameOrNil + (void)logLevelEnd:(nullable NSString *)levelNameOrNil
score:(nullable NSNumber *)scoreOrNil score:(nullable NSNumber *)scoreOrNil
@ -118,7 +118,7 @@ NS_ASSUME_NONNULL_BEGIN
* @param itemNameOrNil The human-readable form of the item's name. Example: * @param itemNameOrNil The human-readable form of the item's name. Example:
* @param itemTypeOrNil The type, or genre of the item. Example: Song * @param itemTypeOrNil The type, or genre of the item. Example: Song
* @param itemIdOrNil The machine-readable, unique item identifier Example: SKU * @param itemIdOrNil The machine-readable, unique item identifier Example: SKU
* @param customAttributesOrNil A dictionary of custom attributes to associate with this purchase. * @param customAttributesOrNil A dictionary of custom attributes to associate with this event.
*/ */
+ (void)logAddToCartWithPrice:(nullable NSDecimalNumber *)itemPriceOrNil + (void)logAddToCartWithPrice:(nullable NSDecimalNumber *)itemPriceOrNil
currency:(nullable NSString *)currencyOrNil currency:(nullable NSString *)currencyOrNil
@ -135,7 +135,7 @@ NS_ASSUME_NONNULL_BEGIN
* @param totalPriceOrNil The total price of the cart. * @param totalPriceOrNil The total price of the cart.
* @param currencyOrNil The ISO4217 currency code. Example: USD * @param currencyOrNil The ISO4217 currency code. Example: USD
* @param itemCountOrNil The number of items in the cart. * @param itemCountOrNil The number of items in the cart.
* @param customAttributesOrNil A dictionary of custom attributes to associate with this purchase. * @param customAttributesOrNil A dictionary of custom attributes to associate with this event.
*/ */
+ (void)logStartCheckoutWithPrice:(nullable NSDecimalNumber *)totalPriceOrNil + (void)logStartCheckoutWithPrice:(nullable NSDecimalNumber *)totalPriceOrNil
currency:(nullable NSString *)currencyOrNil currency:(nullable NSString *)currencyOrNil
@ -188,7 +188,7 @@ NS_ASSUME_NONNULL_BEGIN
* the name of the event, since this is how the event will appear in Answers. * the name of the event, since this is how the event will appear in Answers.
* *
* @param eventName The human-readable name for the event. * @param eventName The human-readable name for the event.
* @param customAttributesOrNil A dictionary of custom attributes to associate with this purchase. Attribute keys * @param customAttributesOrNil A dictionary of custom attributes to associate with this event. Attribute keys
* must be <code>NSString</code> and and values must be <code>NSNumber</code> or <code>NSString</code>. * must be <code>NSString</code> and and values must be <code>NSNumber</code> or <code>NSString</code>.
* @discussion How we treat <code>NSNumbers</code>: * @discussion How we treat <code>NSNumbers</code>:
* We will provide information about the distribution of values over time. * We will provide information about the distribution of values over time.

2
Frameworks/Crashlytics.framework/Versions/A/Headers/CLSReport.h vendored

@ -19,7 +19,7 @@ NS_ASSUME_NONNULL_BEGIN
@property (nonatomic, copy, readonly) NSDictionary *customKeys; @property (nonatomic, copy, readonly) NSDictionary *customKeys;
@property (nonatomic, copy, readonly) NSString *bundleVersion; @property (nonatomic, copy, readonly) NSString *bundleVersion;
@property (nonatomic, copy, readonly) NSString *bundleShortVersionString; @property (nonatomic, copy, readonly) NSString *bundleShortVersionString;
@property (nonatomic, copy, readonly) NSDate *crashedOnDate; @property (nonatomic, readonly, nullable) NSDate *crashedOnDate;
@property (nonatomic, copy, readonly) NSString *OSVersion; @property (nonatomic, copy, readonly) NSString *OSVersion;
@property (nonatomic, copy, readonly) NSString *OSBuildVersion; @property (nonatomic, copy, readonly) NSString *OSBuildVersion;

1
Frameworks/Crashlytics.framework/Versions/A/Headers/CLSStackFrame.h vendored

@ -26,6 +26,7 @@ NS_ASSUME_NONNULL_BEGIN
+ (instancetype)stackFrameWithSymbol:(NSString *)symbol; + (instancetype)stackFrameWithSymbol:(NSString *)symbol;
@property (nonatomic, copy, nullable) NSString *symbol; @property (nonatomic, copy, nullable) NSString *symbol;
@property (nonatomic, copy, nullable) NSString *rawSymbol;
@property (nonatomic, copy, nullable) NSString *library; @property (nonatomic, copy, nullable) NSString *library;
@property (nonatomic, copy, nullable) NSString *fileName; @property (nonatomic, copy, nullable) NSString *fileName;
@property (nonatomic, assign) uint32_t lineNumber; @property (nonatomic, assign) uint32_t lineNumber;

44
Frameworks/Crashlytics.framework/Versions/A/Headers/Crashlytics.h vendored

@ -19,6 +19,9 @@ NS_ASSUME_NONNULL_BEGIN
/** /**
* Crashlytics. Handles configuration and initialization of Crashlytics. * Crashlytics. Handles configuration and initialization of Crashlytics.
*
* Note: The Crashlytics class cannot be subclassed. If this is causing you pain for
* testing, we suggest using either a wrapper class or a protocol extension.
*/ */
@interface Crashlytics : NSObject @interface Crashlytics : NSObject
@ -181,6 +184,21 @@ NS_ASSUME_NONNULL_BEGIN
*/ */
- (void)recordCustomExceptionName:(NSString *)name reason:(nullable NSString *)reason frameArray:(CLS_GENERIC_NSARRAY(CLSStackFrame *) *)frameArray; - (void)recordCustomExceptionName:(NSString *)name reason:(nullable NSString *)reason frameArray:(CLS_GENERIC_NSARRAY(CLSStackFrame *) *)frameArray;
/**
*
* This allows you to record a non-fatal event, described by an NSError object. These events will be grouped and
* displayed similarly to crashes. Keep in mind that this method can be expensive. Also, the total number of
* NSErrors that can be recorded during your app's life-cycle is limited by a fixed-size circular buffer. If the
* buffer is overrun, the oldest data is dropped. Errors are relayed to Crashlytics on a subsequent launch
* of your application.
*
* You can also use the -recordError:withAdditionalUserInfo: to include additional context not represented
* by the NSError instance itself.
*
**/
- (void)recordError:(NSError *)error;
- (void)recordError:(NSError *)error withAdditionalUserInfo:(nullable CLS_GENERIC_NSDICTIONARY(NSString *, id) *)userInfo;
- (void)logEvent:(NSString *)eventName CLS_DEPRECATED("Please refer to Answers +logCustomEventWithName:"); - (void)logEvent:(NSString *)eventName CLS_DEPRECATED("Please refer to Answers +logCustomEventWithName:");
- (void)logEvent:(NSString *)eventName attributes:(nullable NSDictionary *) attributes CLS_DEPRECATED("Please refer to Answers +logCustomEventWithName:"); - (void)logEvent:(NSString *)eventName attributes:(nullable NSDictionary *) attributes CLS_DEPRECATED("Please refer to Answers +logCustomEventWithName:");
+ (void)logEvent:(NSString *)eventName CLS_DEPRECATED("Please refer to Answers +logCustomEventWithName:"); + (void)logEvent:(NSString *)eventName CLS_DEPRECATED("Please refer to Answers +logCustomEventWithName:");
@ -206,23 +224,45 @@ NS_ASSUME_NONNULL_BEGIN
/** /**
* *
* Called when a Crashlytics instance has determined that the last execution of the * Called when a Crashlytics instance has determined that the last execution of the
* application ended in a crash. This is called synchronously on Crashlytics * application resulted in a saved report. This is called synchronously on Crashlytics
* initialization. Your delegate must invoke the completionHandler, but does not need to do so * initialization. Your delegate must invoke the completionHandler, but does not need to do so
* synchronously, or even on the main thread. Invoking completionHandler with NO will cause the * synchronously, or even on the main thread. Invoking completionHandler with NO will cause the
* detected report to be deleted and not submitted to Crashlytics. This is useful for * detected report to be deleted and not submitted to Crashlytics. This is useful for
* implementing permission prompts, or other more-complex forms of logic around submitting crashes. * implementing permission prompts, or other more-complex forms of logic around submitting crashes.
* *
* Instead of using this method, you should try to make use of -crashlyticsDidDetectReportForLastExecution:
* if you can.
*
* @warning Failure to invoke the completionHandler will prevent submissions from being reported. Watch out. * @warning Failure to invoke the completionHandler will prevent submissions from being reported. Watch out.
* *
* @warning Just implementing this delegate method will disable all forms of synchronous report submission. This can * @warning Just implementing this delegate method will disable all forms of synchronous report submission. This can
* impact the reliability of reporting crashes very early in application launch. * impact the reliability of reporting crashes very early in application launch.
* *
* @param report The CLSReport object representing the last detected crash * @param report The CLSReport object representing the last detected report
* @param completionHandler The completion handler to call when your logic has completed. * @param completionHandler The completion handler to call when your logic has completed.
* *
*/ */
- (void)crashlyticsDidDetectReportForLastExecution:(CLSReport *)report completionHandler:(void (^)(BOOL submit))completionHandler; - (void)crashlyticsDidDetectReportForLastExecution:(CLSReport *)report completionHandler:(void (^)(BOOL submit))completionHandler;
/**
*
* Called when a Crashlytics instance has determined that the last execution of the
* application resulted in a saved report. This method differs from
* -crashlyticsDidDetectReportForLastExecution:completionHandler: in three important ways:
*
* - it is not called synchronously during initialization
* - it does not give you the ability to prevent the report from being submitted
* - the report object itself is immutable
*
* Thanks to these limitations, making use of this method does not impact reporting
* reliabilty in any way.
*
* @param report The read-only CLSReport object representing the last detected report
*
*/
- (void)crashlyticsDidDetectReportForLastExecution:(CLSReport *)report;
/** /**
* If your app is running on an OS that supports it (OS X 10.9+, iOS 7.0+), Crashlytics will submit * If your app is running on an OS that supports it (OS X 10.9+, iOS 7.0+), Crashlytics will submit
* most reports using out-of-process background networking operations. This results in a significant * most reports using out-of-process background networking operations. This results in a significant

20
Frameworks/Crashlytics.framework/Versions/A/Resources/Info.plist vendored

@ -3,7 +3,7 @@
<plist version="1.0"> <plist version="1.0">
<dict> <dict>
<key>BuildMachineOSBuild</key> <key>BuildMachineOSBuild</key>
<string>14F1021</string> <string>15G31</string>
<key>CFBundleDevelopmentRegion</key> <key>CFBundleDevelopmentRegion</key>
<string>English</string> <string>English</string>
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
@ -17,7 +17,7 @@
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>FMWK</string> <string>FMWK</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>3.4.1</string> <string>3.8.4</string>
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>????</string> <string>????</string>
<key>CFBundleSupportedPlatforms</key> <key>CFBundleSupportedPlatforms</key>
@ -25,27 +25,29 @@
<string>MacOSX</string> <string>MacOSX</string>
</array> </array>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>92</string> <string>121</string>
<key>DTCompiler</key> <key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string> <string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key> <key>DTPlatformBuild</key>
<string>7B1005</string> <string>7D1014</string>
<key>DTPlatformVersion</key> <key>DTPlatformVersion</key>
<string>GM</string> <string>GM</string>
<key>DTSDKBuild</key> <key>DTSDKBuild</key>
<string>15A278</string> <string>15E60</string>
<key>DTSDKName</key> <key>DTSDKName</key>
<string>macosx10.11</string> <string>macosx10.11</string>
<key>DTXcode</key> <key>DTXcode</key>
<string>0711</string> <string>0731</string>
<key>DTXcodeBuild</key> <key>DTXcodeBuild</key>
<string>7B1005</string> <string>7D1014</string>
<key>NSHumanReadableCopyright</key> <key>NSHumanReadableCopyright</key>
<string>Copyright © 2015 Crashlytics, Inc. All rights reserved.</string> <string>Copyright © 2016 Crashlytics, Inc. All rights reserved.</string>
<key>UIDeviceFamily</key> <key>UIDeviceFamily</key>
<array> <array>
<integer>1</integer> <integer>3</integer>
<integer>2</integer> <integer>2</integer>
<integer>1</integer>
<integer>4</integer>
</array> </array>
</dict> </dict>
</plist> </plist>

4
Frameworks/Crashlytics.framework/run vendored

@ -11,8 +11,8 @@ DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
DIR="\"${DIR}" DIR="\"${DIR}"
PATH_SEP="/" PATH_SEP="/"
VALIDATE_COMMAND="uploadDSYM\" $@ validate" VALIDATE_COMMAND="uploadDSYM\" $@ validate run-script"
UPLOAD_COMMAND="uploadDSYM\" $@" UPLOAD_COMMAND="uploadDSYM\" $@ run-script"
# Ensure params are as expected, run in sync mode to validate # Ensure params are as expected, run in sync mode to validate
eval $DIR$PATH_SEP$VALIDATE_COMMAND eval $DIR$PATH_SEP$VALIDATE_COMMAND

BIN
Frameworks/Crashlytics.framework/submit vendored

Binary file not shown.

BIN
Frameworks/Crashlytics.framework/uploadDSYM vendored

Binary file not shown.

BIN
Frameworks/Fabric.framework/Versions/A/Fabric vendored

Binary file not shown.

41
Frameworks/Fabric.framework/Versions/A/Headers/FABAttributes.h vendored

@ -2,29 +2,30 @@
// FABAttributes.h // FABAttributes.h
// Fabric // Fabric
// //
// Copyright (c) 2015 Twitter. All rights reserved. // Copyright (C) 2015 Twitter, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// //
#pragma once #pragma once
#define FAB_UNAVAILABLE(x) __attribute__((unavailable(x))) #define FAB_UNAVAILABLE(x) __attribute__((unavailable(x)))
#if __has_feature(nullability) #if !__has_feature(nullability)
#define fab_nullable nullable #define nonnull
#define fab_nonnull nonnull #define nullable
#define fab_null_unspecified null_unspecified #define _Nullable
#define fab_null_resettable null_resettable #define _Nonnull
#define __fab_nullable __nullable
#define __fab_nonnull __nonnull
#define __fab_null_unspecified __null_unspecified
#else
#define fab_nullable
#define fab_nonnull
#define fab_null_unspecified
#define fab_null_resettable
#define __fab_nullable
#define __fab_nonnull
#define __fab_null_unspecified
#endif #endif
#ifndef NS_ASSUME_NONNULL_BEGIN #ifndef NS_ASSUME_NONNULL_BEGIN
@ -39,9 +40,11 @@
/** /**
* The following macros are defined here to provide * The following macros are defined here to provide
* backwards compatability. If you are still using * backwards compatability. If you are still using
* them you should migrate to the new versions that * them you should migrate to the native nullability
* are defined above. * macros.
*/ */
#define fab_nullable nullable
#define fab_nonnull nonnull
#define FAB_NONNULL __fab_nonnull #define FAB_NONNULL __fab_nonnull
#define FAB_NULLABLE __fab_nullable #define FAB_NULLABLE __fab_nullable
#define FAB_START_NONNULL NS_ASSUME_NONNULL_BEGIN #define FAB_START_NONNULL NS_ASSUME_NONNULL_BEGIN

20
Frameworks/Fabric.framework/Versions/A/Headers/Fabric.h vendored

@ -1,7 +1,20 @@
// //
// Fabric.h // Fabric.h
// Fabric
// //
// Copyright (c) 2015 Twitter. All rights reserved. // Copyright (C) 2015 Twitter, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// //
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
@ -58,6 +71,11 @@ NS_ASSUME_NONNULL_BEGIN
*/ */
- (id)init FAB_UNAVAILABLE("Use +sharedSDK to retrieve the shared Fabric instance."); - (id)init FAB_UNAVAILABLE("Use +sharedSDK to retrieve the shared Fabric instance.");
/**
* Unavailable. Use `+sharedSDK` to retrieve the shared Fabric instance.
*/
+ (instancetype)new FAB_UNAVAILABLE("Use +sharedSDK to retrieve the shared Fabric instance.");
@end @end
NS_ASSUME_NONNULL_END NS_ASSUME_NONNULL_END

18
Frameworks/Fabric.framework/Versions/A/Resources/Info.plist vendored

@ -3,7 +3,7 @@
<plist version="1.0"> <plist version="1.0">
<dict> <dict>
<key>BuildMachineOSBuild</key> <key>BuildMachineOSBuild</key>
<string>14F1021</string> <string>15G31</string>
<key>CFBundleDevelopmentRegion</key> <key>CFBundleDevelopmentRegion</key>
<string>en</string> <string>en</string>
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
@ -17,7 +17,7 @@
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>FMWK</string> <string>FMWK</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>1.6.1</string> <string>1.6.11</string>
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>????</string> <string>????</string>
<key>CFBundleSupportedPlatforms</key> <key>CFBundleSupportedPlatforms</key>
@ -25,27 +25,29 @@
<string>MacOSX</string> <string>MacOSX</string>
</array> </array>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>37</string> <string>60</string>
<key>DTCompiler</key> <key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string> <string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key> <key>DTPlatformBuild</key>
<string>7B91b</string> <string>7D1014</string>
<key>DTPlatformVersion</key> <key>DTPlatformVersion</key>
<string>GM</string> <string>GM</string>
<key>DTSDKBuild</key> <key>DTSDKBuild</key>
<string>15A278</string> <string>15E60</string>
<key>DTSDKName</key> <key>DTSDKName</key>
<string>macosx10.11</string> <string>macosx10.11</string>
<key>DTXcode</key> <key>DTXcode</key>
<string>0710</string> <string>0731</string>
<key>DTXcodeBuild</key> <key>DTXcodeBuild</key>
<string>7B91b</string> <string>7D1014</string>
<key>NSHumanReadableCopyright</key> <key>NSHumanReadableCopyright</key>
<string>Copyright © 2015 Twitter. All rights reserved.</string> <string>Copyright © 2015 Twitter. All rights reserved.</string>
<key>UIDeviceFamily</key> <key>UIDeviceFamily</key>
<array> <array>
<integer>1</integer> <integer>3</integer>
<integer>2</integer> <integer>2</integer>
<integer>1</integer>
<integer>4</integer>
</array> </array>
</dict> </dict>
</plist> </plist>

4
Frameworks/Fabric.framework/run vendored

@ -11,8 +11,8 @@ DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
DIR="\"${DIR}" DIR="\"${DIR}"
PATH_SEP="/" PATH_SEP="/"
VALIDATE_COMMAND="uploadDSYM\" $@ validate" VALIDATE_COMMAND="uploadDSYM\" $@ validate run-script"
UPLOAD_COMMAND="uploadDSYM\" $@" UPLOAD_COMMAND="uploadDSYM\" $@ run-script"
# Ensure params are as expected, run in sync mode to validate # Ensure params are as expected, run in sync mode to validate
eval $DIR$PATH_SEP$VALIDATE_COMMAND eval $DIR$PATH_SEP$VALIDATE_COMMAND

BIN
Frameworks/Fabric.framework/uploadDSYM vendored

Binary file not shown.

1
Frameworks/MoLoginItem.framework/Headers

@ -0,0 +1 @@
Versions/Current/Headers

1
Frameworks/MoLoginItem.framework/MoLoginItem

@ -0,0 +1 @@
Versions/Current/MoLoginItem

1
Frameworks/MoLoginItem.framework/Modules

@ -0,0 +1 @@
Versions/Current/Modules

1
Frameworks/MoLoginItem.framework/Resources

@ -0,0 +1 @@
Versions/Current/Resources

15
Frameworks/MoLoginItem.framework/Versions/A/Headers/MoLoginItem.h

@ -0,0 +1,15 @@
//
// Created by Sanjay Madan on 12/9/16.
// Copyright © 2016 Mowglii. All rights reserved.
//
#import <Cocoa/Cocoa.h>
//! Project version number for MoLoginItem.
FOUNDATION_EXPORT double MoLoginItemVersionNumber;
//! Project version string for MoLoginItem.
FOUNDATION_EXPORT const unsigned char MoLoginItemVersionString[];
BOOL MOIsLoginItemEnabled();
void MOEnableLoginItem(BOOL enable);

BIN
Frameworks/MoLoginItem.framework/Versions/A/MoLoginItem

Binary file not shown.

6
Frameworks/MoLoginItem.framework/Versions/A/Modules/module.modulemap

@ -0,0 +1,6 @@
framework module MoLoginItem {
umbrella header "MoLoginItem.h"
export *
module * { export * }
}

44
Frameworks/MoLoginItem.framework/Versions/A/Resources/Info.plist

@ -0,0 +1,44 @@
<?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>16B2555</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>MoLoginItem</string>
<key>CFBundleIdentifier</key>
<string>com.mowglii.MoLoginItem</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>MoLoginItem</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>8B62</string>
<key>DTPlatformVersion</key>
<string>GM</string>
<key>DTSDKBuild</key>
<string>16B2649</string>
<key>DTSDKName</key>
<string>macosx10.12</string>
<key>DTXcode</key>
<string>0810</string>
<key>DTXcodeBuild</key>
<string>8B62</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2016 Mowglii. All rights reserved.</string>
</dict>
</plist>

1
Frameworks/MoLoginItem.framework/Versions/Current

@ -0,0 +1 @@
A
Loading…
Cancel
Save