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
| //: A UIKit based Playground for presenting user interface | |
| import UIKit | |
| import PlaygroundSupport | |
| let container = UIView(frame: CGRect(x: 0, y: 0, width: 500, height: 200)) | |
| container.backgroundColor = .lightGray | |
| class MyView: UIView { |
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 | |
| # | |
| # hook script for swiftlint. It will triggered when you make a commit. | |
| # | |
| #TODO: move this content to separate file ('lint'), add separate file for swiftformat ('format'), use them here in pre-commit | |
| GUI=0 | |
| LINT_PATH_FOR_GUI="/usr/local/bin/swiftlint" |
NewerOlder