-
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.
- Loading branch information
Showing
19 changed files
with
352 additions
and
168 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
inherit_mode: | ||
merge: | ||
- Include | ||
|
||
AllCops: | ||
Exclude: | ||
- 'Carthage/**/*' | ||
- 'Demo/Carthage/**/*' | ||
- 'vendor/**/*' | ||
Include: | ||
- 'fastlane/Pluginfile' | ||
|
||
# this would cause errors with long lanes | ||
Metrics/BlockLength: | ||
Enabled: true | ||
ExcludedMethods: ['platform', 'for_platform'] | ||
|
||
# Lane description and gem lines can be long | ||
Layout/LineLength: | ||
Enabled: true | ||
Max: 100 | ||
IgnoredPatterns: ['^gem', '^(\s+|)desc', '^(\s+|)UI.'] | ||
|
||
# They have not to be snake_case | ||
Naming/FileName: | ||
Exclude: | ||
- '**/Appfile' | ||
- '**/Gemfile' | ||
- '**/Pluginfile' | ||
- '**/Fastfile' | ||
|
||
# Variables have to be as described in fastlane documentation | ||
Style/RedundantInterpolation: | ||
Exclude: | ||
- '**/Appfile' |
2 changes: 1 addition & 1 deletion
2
.swiftpm/xcode/xcshareddata/xcschemes/SRGContentProtection.xcscheme
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
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
2 changes: 1 addition & 1 deletion
2
...ontentProtection-demo.xcodeproj/xcshareddata/xcschemes/SRGContentProtection-demo.xcscheme
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
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,18 @@ | ||
// | ||
// Copyright (c) SRG SSR. All rights reserved. | ||
// | ||
// License information is available from the LICENSE file. | ||
// | ||
|
||
@import UIKit; | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
API_AVAILABLE(ios(13.0)) | ||
@interface SceneDelegate : UIResponder <UIWindowSceneDelegate> | ||
|
||
@property (nonatomic) UIWindow *window; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
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,25 @@ | ||
// | ||
// Copyright (c) SRG SSR. All rights reserved. | ||
// | ||
// License information is available from the LICENSE file. | ||
// | ||
|
||
#import "SceneDelegate.h" | ||
|
||
#import "DemosViewController.h" | ||
|
||
@implementation SceneDelegate | ||
|
||
- (void)scene:(UIScene *)scene willConnectToSession:(UISceneSession *)session options:(UISceneConnectionOptions *)connectionOptions | ||
{ | ||
if ([scene isKindOfClass:UIWindowScene.class]) { | ||
UIWindowScene *windowScene = (UIWindowScene *)scene; | ||
self.window = [[UIWindow alloc] initWithWindowScene:windowScene]; | ||
[self.window makeKeyAndVisible]; | ||
|
||
DemosViewController *demosViewController = [[DemosViewController alloc] init]; | ||
self.window.rootViewController = [[UINavigationController alloc] initWithRootViewController:demosViewController]; | ||
} | ||
} | ||
|
||
@end |
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.