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
cd $PROJECT_DIR | |
buildDay=$(/usr/libexec/PlistBuddy -c "Print buildDay" "$INFOPLIST_FILE") | |
buildCount=$(/usr/libexec/PlistBuddy -c "Print buildCount" "$INFOPLIST_FILE") | |
today=$(date +%Y%m%d%H%M) | |
if [ x$buildDay == x ]; then | |
buildDay=${today} | |
buildCount=1 | |
printf -v zeroPadBuildCount "%03d" $buildCount |
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
import AVFoundation | |
extension String { | |
//한글 검증 | |
func isHangul() -> Bool { | |
let regEx = "^[가-힣0-9]+$" | |
let emailTest = NSPredicate(format:"SELF MATCHES[c] %@", regEx) |