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
/// We use a base class for the cells on the screen. This helps with consistency. | |
class BaseCell: UITableViewCell { | |
var viewModel: ViewModel? { | |
didSet { | |
updateSubviews() | |
} | |
} | |
func updateSubviews() { | |
// ... |
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
#!/bin/sh | |
open -a Terminal “$XcodeProjectPath” |
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
# Remove Derived Data | |
rm -rf ~/Library/Developer/Xcode/DerivedData | |
rm -frd ~/Library/Caches/com.apple.dt.Xcode/* | |
# Open Gitup at the project’s path | |
open -a GitUp “$XcodeProjectPath” | |
# Stash & Pull & Pop, and show results in TextEdit | |
exec &>/var/tmp/log.txt | |
git stash && git pull && git stash pop |