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 OSLog | |
import UIKit | |
@main | |
class AppDelegate: UIResponder, UIApplicationDelegate, CTXMAMCoreSdkDelegate { | |
// MARK: Internal | |
func application( | |
_ application: UIApplication, |
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 | |
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
if which swiftlint >/dev/null; then | |
swiftlint # for autocorrect: swiftlint autocorrect && swiftlint | |
else | |
echo "warning: SwiftLint not installed" | |
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
if which swiftformat >/dev/null; then | |
swiftformat --lint . # for autocorrect: swiftformat . | |
else | |
echo "warning: SwiftFormat not installed" | |
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
set -e | |
defaults write com.apple.dt.Xcode DVTTextEditorTrimTrailingWhitespace -bool YES | |
defaults write com.apple.dt.Xcode DVTTextEditorTrimWhitespaceOnlyLines -bool YES | |
defaults write com.apple.dt.Xcode DVTTextIndentTabWidth -int 2 | |
defaults write com.apple.dt.Xcode DVTTextIndentWidth -int 2 | |
defaults write com.apple.dt.Xcode DVTTextPageGuideLocation -int 100 |
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
// Not working | |
@ObservedObject @Injected var vm: ViewModel |