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 | |
# Save current directory to var | |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
# Fetch dependencies but do not build | |
carthage update --no-build | |
# Remove AWSAuthSDK project as this is not needed | |
rm -r Carthage/Checkouts/aws-sdk-ios/AWSAuthSDK/ |
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
// | |
// UIImage+Resize.swift | |
// Port of UIImage+Resize.m | |
// from http://vocaro.com/trevor/blog/2009/10/12/resize-a-uiimage-the-right-way/ | |
// | |
import Foundation | |
import UIKit | |
extension UIImage { |