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/bash | |
# Before launching: | |
# - Copy the Base.lproj/Localizable.string to the same dir than this file | |
# - In the project Dir: Remove all strings files (rm -rf *.lproj) | |
# - Fill PROJECT_DIRECTORY | |
PROJECT_DIRECTORY= | |
echo "" > ./Localizable_results.txt |
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
let urlScheme = "rogervoice://call?phone_number=0546832706" | |
if let url = NSURL(string: urlScheme) as? URL, UIApplication.shared.canOpenURL(url) { | |
if #available(iOS 10, *) { | |
UIApplication.shared.open(url, options: [:], completionHandler: { (success) in | |
print("Open \(urlScheme): \(success)") | |
}) | |
} else { | |
let success = UIApplication.shared.openURL(url) |
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
## Command line tools (many binaries) | |
xcode-select --install | |
## Dock | |
# Show only opened apps | |
defaults write com.apple.dock static-only -bool TRUE; killall Dock | |
# Autohide | |
defaults write com.apple.dock autohide -bool TRUE; killall Dock | |
# Autohide speed | |
defaults write com.apple.dock autohide-time-modifier -float 0.5; killall Dock |