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
/// Returns a modified reference type | |
public func with<T: AnyObject>(_ this: T, update: (T) throws -> Void) rethrows -> T { | |
try update(this) | |
return this | |
} | |
/// Returns a modified copy of a value type | |
public func with<T>(_ item: T, update: (inout T) throws -> Void) rethrows -> T { | |
var this = item | |
try update(&this) |
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 | |
########################################################################### | |
# Choose your ffmpeg version and your currently-installed iOS SDK version: | |
# | |
VERSION="2.0.2" | |
SDKVERSION="7.0" | |
ARCHS="armv7 armv7s i386" | |
# | |
# |