forked from matomo-org/matomo-sdk-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added macOS and tvOS compatibility (matomo-org#155)
* re-enabled building the ios_demo app while performing tests * renamed ios test project * added macos example application * removed UIKit dependencies * Added tvOS Support * Moved ios Example Application * Updated travis to use the xcode8.3 image and always build the osx and tvos demos
- Loading branch information
Showing
88 changed files
with
2,292 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
// | ||
// OptOutViewController.m | ||
// PiwikTracker | ||
// | ||
// Created by Mattias Levin on 9/17/13. | ||
// Copyright (c) 2013 Mattias Levin. All rights reserved. | ||
// | ||
|
||
#import "OptOutViewController.h" | ||
#import "PiwikTracker.h" | ||
|
||
|
||
@interface OptOutViewController () | ||
@end | ||
|
||
|
||
@implementation OptOutViewController | ||
|
||
|
||
- (void)viewDidLoad { | ||
[super viewDidLoad]; | ||
|
||
self.optOutSwitch.on = ![PiwikTracker sharedInstance].optOut; | ||
|
||
} | ||
|
||
|
||
- (IBAction)sendOptOutAction:(id)sender { | ||
|
||
UISwitch *option = (UISwitch*)sender; | ||
|
||
if (option.on) { | ||
|
||
[PiwikTracker sharedInstance].optOut = NO; | ||
|
||
} else { | ||
|
||
[PiwikTracker sharedInstance].optOut = YES; | ||
|
||
} | ||
|
||
} | ||
|
||
|
||
@end |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
72 changes: 26 additions & 46 deletions
72
Example/Example.xcodeproj/project.pbxproj → Example/ios/ios.xcodeproj/project.pbxproj
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.