This file contains hidden or 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
| [](https://cocoapods.org/pods/ESOpenSourceLicensesKit/quality) |
This file contains hidden or 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
| #!/usr/bin/env xcrun swift | |
| import Foundation | |
| extension Array where Element: Numeric { | |
| func sumForEach() -> Element { | |
| var total: Element = 0 | |
| forEach { total += $0 } | |
| return total | |
| } |
This file contains hidden or 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
| <IDEWorkspaceWindow: 0x7fdd50e219d0> | |
| = <DVTControllerContentView_ControlledBy_IDEWorkspaceTabController> {{0, 0}, {1920, 1085}} | |
| = <DVTSplitView> {{0, 0}, {1920, 1085}} | |
| = <DVTReplacementView> {{0, 0}, {350, 1085}} | |
| = <NSView_ControlledBy_IDENavigatorArea> {{0, 0}, {350, 1085}} | |
| = <NSVisualEffectView> {{0, 0}, {350, 1085}} | |
| = <DVTSplitViewDividerLine> {{349, 0}, {1, 1085}} | |
| = <DVTBorderView> {{0, 1056}, {349, 1}} | |
| = <DVTChooserView> {{0, 1057}, {349, 28}} |
This file contains hidden or 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
| #!/bin/bash | |
| # Asume that the following routes are available / set: | |
| # <APP_GREEN>.<DOMAIN> | |
| # <APP_BLUE>.<DOMAIN> | |
| # <LIVE_ROUTE>.<DOMAIN> | |
| APP_GREEN="AppName-green" | |
| APP_BLUE="AppName-blue" | |
| LIVE_ROUTE="app" |
This file contains hidden or 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
| lane :upload do | |
| suppress_output { | |
| firebase_app_distribution( | |
| app: "<app_id>, | |
| firebase_cli_path: "/usr/bin/firebase-tools-macos" | |
| ) | |
| } | |
| end | |
| def self.suppress_output |
This file contains hidden or 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
| # Add this right after the "Dependencies" build phase | |
| if [ "$CONFIGURATION" = "Adhoc" ]; then | |
| RELEASE_DIR="$BUILT_PRODUCTS_DIR/../Release-$PLATFORM_NAME/" | |
| if [ -d "$RELEASE_DIR" ]; then | |
| echo "Copying contents of $RELEASE_DIR to $BUILT_PRODUCTS_DIR ..." | |
| (cd "$RELEASE_DIR"; cp -r * "$BUILT_PRODUCTS_DIR") | |
| echo "Done!" | |
| fi | |
| fi |
This file contains hidden or 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
| import Foundation | |
| import UIKit | |
| protocol Coordinator: class { | |
| var navigationController: UINavigationController { get set } | |
| var parentCoordinator: Coordinator? { get set } | |
| func start() | |
| func start(coordinator: Coordinator) | |
| func removeChildCoordinators() |
This file contains hidden or 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
| import Foundation | |
| import UIKit | |
| import RxSwift | |
| import RxCocoa | |
| private var coordinatorKey: UInt8 = 0 | |
| class BaseCoordinator: Coordinator { | |
| lazy var disposeBag = DisposeBag() |
This file contains hidden or 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
| import UIKit | |
| import Foundation | |
| class AppCoordinator: BaseCoordinator { | |
| func setup(with window: UIWindow?) { | |
| window?.rootViewController = navigationController | |
| window?.makeKeyAndVisible() | |
| } | |
| override func start() { |
This file contains hidden or 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
| import Foundation | |
| import UIKit | |
| import RxSwift | |
| protocol SignInListener { | |
| func didSignIn() | |
| } | |
| class LoginCoordinator: BaseCoordinator { | |
| override func start() { |
OlderNewer