- Add a new Target of kind Aggregate, name it OCLint
- Under Builde Phases, add a new Run Script Phase
- Paste the script
- Select target OCLint
- Build the target (press ⌘+B)
| //: A UIKit based Playground for presenting user interface | |
| import UIKit | |
| import PlaygroundSupport | |
| class CustomTextField: UITextField { | |
| weak var presenter: UIViewController! | |
| override func becomeFirstResponder() -> Bool { |
| //: A UIKit based Playground for presenting user interface | |
| import UIKit | |
| import PlaygroundSupport | |
| class CustomTextField: UITextField { | |
| weak var presenter: UIViewController! | |
| override func becomeFirstResponder() -> Bool { |
| #! /bin/zsh | |
| install_cocoapods () { | |
| echo "Installing cocoapods with gem" | |
| # Creating new gems home if it doesnt't exist | |
| if [ ! -d "$HOME/.gem" ]; then | |
| mkdir "$HOME/.gem" | |
| fi | |
| # Adding to current session |
| mr Marathi | |
| bs Bosnian | |
| ee_TG Ewe (Togo) | |
| ms Malay | |
| kam_KE Kamba (Kenya) | |
| mt Maltese | |
| ha Hausa | |
| es_HN Spanish (Honduras) | |
| ml_IN Malayalam (India) | |
| ro_MD Romanian (Moldova) |
| say -v \? | while read LINE | |
| do | |
| SPEAKER=$(echo $LINE | egrep -o "^[a-zA-Z\-]*[ ]?[A-Z][a-z]+") | |
| TEXT=$(echo $LINE | egrep -o "#.*" | tr "#" " ") | |
| echo $SPEAKER | |
| echo -ne "This is voice $SPEAKER speaking the example text: \n" $TEXT | say -v $SPEAKER | |
| done |
| # Mac OS X hidden files | |
| .DS_Store | |
| # Node | |
| npm-debug.log | |
| # WebStorm | |
| .idea/ | |
| xcrun simctl get_app_container booted [BUNDLE_INDENTIFIER] data |
| (UITextFieldDelegate)+\s*\n?\{ |