This file contains hidden or 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
source 'https://github.com/CocoaPods/Specs.git' | |
platform :ios, '8.3' | |
use_frameworks! | |
pod 'FutureKit' | |
pod 'AlamoFire' |
This file contains hidden or 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
diff "DummyProjectForSwiftPods/Podfile.lock" "DummyProjectForSwiftPods/Pods/Manifest.lock" > /dev/null | |
if [[ $? != 0 ]] ; then | |
cat << EOM | |
error: The sandbox is not in sync with the DummyProjectForSwiftPods Podfile.lock. Run 'pod install' from the DummyProjectForSwiftPods directory or update your CocoaPods installation. | |
EOM | |
exit 1 | |
fi |
This file contains hidden or 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
/* OS X Swift "Command Line Tool" */ | |
import Foundation | |
extension NSData { | |
func jstnMD5() -> String { | |
let result = NSMutableData(length: Int(CC_MD5_DIGEST_LENGTH))! | |
let resultBytes = UnsafeMutablePointer<CUnsignedChar>(result.mutableBytes) |
NewerOlder