Skip to content

Instantly share code, notes, and snippets.

rm -rf ~/Library/Caches/CocoaPods; rm -rf Pods; rm -rf ~/Library/Developer/Xcode/DerivedData/*; pod deintegrate; pod setup; pod install;
@jehumo
jehumo / Font Checker
Created February 10, 2017 14:49
Gist to check if the font is installed on Xcode (swift 3)
for family: String in UIFont.familyNames
{
print("\(family)")
for names: String in UIFont.fontNames(forFamilyName: family)
{
print("== \(names)")
}
}
#On terminal
defaults write com.apple.screencapture location /Users/[your_user]/Desktop/workarea/screenshots
killall SystemUIServer
Command + Shift + 3: Take a screenshot of the entire screen. If you have multiple displays, a separate full-screen screenshot will be created for each display.
Command + Shift + 4: Take a screenshot of a defined area.
Command + Shift + 4 + Spacebar: Take a screenshot of the selected window. To use this shortcut, press Command + Shift + 4 first, then tap the Spacebar.