Add google sign-in demo that yields default blessings

The swift project has been refactored to build two different
frameworks: Vanadium & Syncbase. The Syncbase will yield simple APIs
for a drop-in framework that masquerades much of the V23 stack.

The demo project has improved to have a picker UI, app icon & more.
It has gained an additional demo that uses the Google SignIn SDK to
obtain an oauth token, and then use that token to receive a default
blessing from dev.v.io. Currently it is using a non-Google app
setting but this can be easily swapped out in the future.

Currently private/public keys are asking V23 to store them in a
special directory under Application Support with
NSFileProtectionCompleteUntilUnlock, but in the future this will
change to keep the private key in the Apple Keychain and have
configurable security setting. Unfortunately, the environmental flags
are being read in at boot in the CGO library so we aren’t able to
pass the correct directory until the credentials flag has already been
created and loaded.

The project is also putting Alamofire and Google Sign In under the
third-party repo, but in the (short) future we’ll move to a Cocoapods
setup so we don’t have to directly check in this code.

MultiPart: 3/3
Change-Id: I86606f2e241ffbc3666f88edf09a6657451013f1
diff --git a/swift/Alamofire-3.3.0/.gitignore b/swift/Alamofire-3.3.0/.gitignore
new file mode 100755
index 0000000..222e8ec
--- /dev/null
+++ b/swift/Alamofire-3.3.0/.gitignore
@@ -0,0 +1,39 @@
+# Mac OS X
+.DS_Store
+
+# Xcode
+
+## Build generated
+build/
+DerivedData
+
+## Various settings
+*.pbxuser
+!default.pbxuser
+*.mode1v3
+!default.mode1v3
+*.mode2v3
+!default.mode2v3
+*.perspectivev3
+!default.perspectivev3
+xcuserdata
+
+## Other
+*.xccheckout
+*.moved-aside
+*.xcuserstate
+*.xcscmblueprint
+
+## Obj-C/Swift specific
+*.hmap
+*.ipa
+
+## Playgrounds
+timeline.xctimeline
+playground.xcworkspace
+
+# Swift Package Manager
+.build/
+
+# Carthage
+Carthage/Build
diff --git a/swift/Alamofire-3.3.0/.travis.yml b/swift/Alamofire-3.3.0/.travis.yml
new file mode 100755
index 0000000..2838834
--- /dev/null
+++ b/swift/Alamofire-3.3.0/.travis.yml
@@ -0,0 +1,61 @@
+language: objective-c
+osx_image: xcode7.3
+env:
+  global:
+  - LC_CTYPE=en_US.UTF-8
+  - LANG=en_US.UTF-8
+  - WORKSPACE=Alamofire.xcworkspace
+  - IOS_FRAMEWORK_SCHEME="Alamofire iOS"
+  - OSX_FRAMEWORK_SCHEME="Alamofire OSX"
+  - TVOS_FRAMEWORK_SCHEME="Alamofire tvOS"
+  - WATCHOS_FRAMEWORK_SCHEME="Alamofire watchOS"
+  - IOS_SDK=iphonesimulator9.3
+  - OSX_SDK=macosx10.11
+  - TVOS_SDK=appletvsimulator9.2
+  - WATCHOS_SDK=watchsimulator2.2
+  - EXAMPLE_SCHEME="iOS Example"
+  matrix:
+    - DESTINATION="OS=8.1,name=iPhone 4S"          SCHEME="$IOS_FRAMEWORK_SCHEME"     SDK="$IOS_SDK"     RUN_TESTS="YES" BUILD_EXAMPLE="YES" POD_LINT="YES"
+    - DESTINATION="OS=8.2,name=iPhone 5"           SCHEME="$IOS_FRAMEWORK_SCHEME"     SDK="$IOS_SDK"     RUN_TESTS="YES" BUILD_EXAMPLE="YES" POD_LINT="NO"
+    - DESTINATION="OS=8.3,name=iPhone 5S"          SCHEME="$IOS_FRAMEWORK_SCHEME"     SDK="$IOS_SDK"     RUN_TESTS="YES" BUILD_EXAMPLE="YES" POD_LINT="NO"
+    - DESTINATION="OS=8.4,name=iPhone 6"           SCHEME="$IOS_FRAMEWORK_SCHEME"     SDK="$IOS_SDK"     RUN_TESTS="YES" BUILD_EXAMPLE="YES" POD_LINT="NO"
+    - DESTINATION="OS=9.0,name=iPhone 6"           SCHEME="$IOS_FRAMEWORK_SCHEME"     SDK="$IOS_SDK"     RUN_TESTS="YES" BUILD_EXAMPLE="YES" POD_LINT="NO"
+    - DESTINATION="OS=9.1,name=iPhone Plus"        SCHEME="$IOS_FRAMEWORK_SCHEME"     SDK="$IOS_SDK"     RUN_TESTS="YES" BUILD_EXAMPLE="YES" POD_LINT="NO"
+    - DESTINATION="OS=9.2,name=iPhone 6S"          SCHEME="$IOS_FRAMEWORK_SCHEME"     SDK="$IOS_SDK"     RUN_TESTS="YES" BUILD_EXAMPLE="YES" POD_LINT="NO"
+    - DESTINATION="OS=9.3,name=iPhone 6S Plus"     SCHEME="$IOS_FRAMEWORK_SCHEME"     SDK="$IOS_SDK"     RUN_TESTS="YES" BUILD_EXAMPLE="YES" POD_LINT="NO"
+    - DESTINATION="arch=x86_64"                    SCHEME="$OSX_FRAMEWORK_SCHEME"     SDK="$OSX_SDK"     RUN_TESTS="YES" BUILD_EXAMPLE="NO"  POD_LINT="NO"
+    - DESTINATION="OS=9.2,name=Apple TV 1080p"     SCHEME="$TVOS_FRAMEWORK_SCHEME"    SDK="$TVOS_SDK"    RUN_TESTS="YES" BUILD_EXAMPLE="NO"  POD_LINT="NO"
+    - DESTINATION="OS=2.2,name=Apple Watch - 42mm" SCHEME="$WATCHOS_FRAMEWORK_SCHEME" SDK="$WATCHOS_SDK" RUN_TESTS="NO"  BUILD_EXAMPLE="NO"  POD_LINT="NO"
+script:
+  - set -o pipefail
+  - xcodebuild -version
+  - xcodebuild -showsdks
+
+  # Build Framework in Debug and Run Tests if specified
+  - if [ $RUN_TESTS == "YES" ]; then
+      xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO test | xcpretty -c;
+    else
+      xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO build | xcpretty -c;
+    fi
+
+  # Build Framework in ReleaseTest and Run Tests if specified
+  - if [ $RUN_TESTS == "YES" ]; then
+      xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration ReleaseTest ONLY_ACTIVE_ARCH=NO test | xcpretty -c;
+    else
+      xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration ReleaseTest ONLY_ACTIVE_ARCH=NO build | xcpretty -c;
+    fi
+
+  # Build Example in Debug if specified
+  - if [ $BUILD_EXAMPLE == "YES" ]; then
+      xcodebuild -workspace "$WORKSPACE" -scheme "$EXAMPLE_SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO build | xcpretty -c;
+    fi
+
+  # Build Example in Release if specified
+  - if [ $BUILD_EXAMPLE == "YES" ]; then 
+      xcodebuild -workspace "$WORKSPACE" -scheme "$EXAMPLE_SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Release ONLY_ACTIVE_ARCH=NO build | xcpretty -c; 
+    fi
+
+  # Run `pod lib lint` if specified
+  - if [ $POD_LINT == "YES" ]; then
+      pod lib lint;
+    fi
diff --git a/swift/Alamofire-3.3.0/Alamofire.podspec b/swift/Alamofire-3.3.0/Alamofire.podspec
new file mode 100755
index 0000000..0baba18
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Alamofire.podspec
@@ -0,0 +1,17 @@
+Pod::Spec.new do |s|
+  s.name = 'Alamofire'
+  s.version = '3.3.0'
+  s.license = 'MIT'
+  s.summary = 'Elegant HTTP Networking in Swift'
+  s.homepage = 'https://github.com/Alamofire/Alamofire'
+  s.social_media_url = 'http://twitter.com/AlamofireSF'
+  s.authors = { 'Alamofire Software Foundation' => 'info@alamofire.org' }
+  s.source = { :git => 'https://github.com/Alamofire/Alamofire.git', :tag => s.version }
+
+  s.ios.deployment_target = '8.0'
+  s.osx.deployment_target = '10.9'
+  s.tvos.deployment_target = '9.0'
+  s.watchos.deployment_target = '2.0'
+
+  s.source_files = 'Source/*.swift'
+end
diff --git a/swift/Alamofire-3.3.0/Alamofire.xcodeproj/project.pbxproj b/swift/Alamofire-3.3.0/Alamofire.xcodeproj/project.pbxproj
new file mode 100755
index 0000000..ccf8e9e
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Alamofire.xcodeproj/project.pbxproj
@@ -0,0 +1,1852 @@
+// !$*UTF8*$!
+{
+	archiveVersion = 1;
+	classes = {
+	};
+	objectVersion = 46;
+	objects = {
+
+/* Begin PBXBuildFile section */
+		4C0B58391B747A4400C0B99C /* ResponseSerializationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C0B58381B747A4400C0B99C /* ResponseSerializationTests.swift */; };
+		4C0B583A1B747A4400C0B99C /* ResponseSerializationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C0B58381B747A4400C0B99C /* ResponseSerializationTests.swift */; };
+		4C0B62511BB1001C009302D3 /* Response.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C0B62501BB1001C009302D3 /* Response.swift */; };
+		4C0B62521BB1001C009302D3 /* Response.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C0B62501BB1001C009302D3 /* Response.swift */; };
+		4C0B62531BB1001C009302D3 /* Response.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C0B62501BB1001C009302D3 /* Response.swift */; };
+		4C0E5BF81B673D3400816CCC /* Result.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C0E5BF71B673D3400816CCC /* Result.swift */; };
+		4C0E5BF91B673D3400816CCC /* Result.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C0E5BF71B673D3400816CCC /* Result.swift */; };
+		4C1DC8541B68908E00476DE3 /* Error.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C1DC8531B68908E00476DE3 /* Error.swift */; };
+		4C1DC8551B68908E00476DE3 /* Error.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C1DC8531B68908E00476DE3 /* Error.swift */; };
+		4C23EB431B327C5B0090E0BC /* MultipartFormData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C23EB421B327C5B0090E0BC /* MultipartFormData.swift */; };
+		4C23EB441B327C5B0090E0BC /* MultipartFormData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C23EB421B327C5B0090E0BC /* MultipartFormData.swift */; };
+		4C256A531B096C770065714F /* BaseTestCase.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C256A501B096C2C0065714F /* BaseTestCase.swift */; };
+		4C256A541B096C770065714F /* BaseTestCase.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C256A501B096C2C0065714F /* BaseTestCase.swift */; };
+		4C3238E71B3604DB00FE04AE /* MultipartFormDataTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C3238E61B3604DB00FE04AE /* MultipartFormDataTests.swift */; };
+		4C3238E81B3604DB00FE04AE /* MultipartFormDataTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C3238E61B3604DB00FE04AE /* MultipartFormDataTests.swift */; };
+		4C33A1391B5207DB00873DFF /* rainbow.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 4C33A1231B5207DB00873DFF /* rainbow.jpg */; };
+		4C33A13A1B5207DB00873DFF /* rainbow.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 4C33A1231B5207DB00873DFF /* rainbow.jpg */; };
+		4C33A13B1B5207DB00873DFF /* unicorn.png in Resources */ = {isa = PBXBuildFile; fileRef = 4C33A1241B5207DB00873DFF /* unicorn.png */; };
+		4C33A13C1B5207DB00873DFF /* unicorn.png in Resources */ = {isa = PBXBuildFile; fileRef = 4C33A1241B5207DB00873DFF /* unicorn.png */; };
+		4C33A1431B52089C00873DFF /* ServerTrustPolicyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C33A1421B52089C00873DFF /* ServerTrustPolicyTests.swift */; };
+		4C33A1441B52089C00873DFF /* ServerTrustPolicyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C33A1421B52089C00873DFF /* ServerTrustPolicyTests.swift */; };
+		4C341BBA1B1A865A00C1B34D /* CacheTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C341BB91B1A865A00C1B34D /* CacheTests.swift */; };
+		4C341BBB1B1A865A00C1B34D /* CacheTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C341BB91B1A865A00C1B34D /* CacheTests.swift */; };
+		4C3D00541C66A63000D1F709 /* NetworkReachabilityManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C3D00531C66A63000D1F709 /* NetworkReachabilityManager.swift */; };
+		4C3D00551C66A63000D1F709 /* NetworkReachabilityManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C3D00531C66A63000D1F709 /* NetworkReachabilityManager.swift */; };
+		4C3D00561C66A63000D1F709 /* NetworkReachabilityManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C3D00531C66A63000D1F709 /* NetworkReachabilityManager.swift */; };
+		4C3D00581C66A8B900D1F709 /* NetworkReachabilityManagerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C3D00571C66A8B900D1F709 /* NetworkReachabilityManagerTests.swift */; };
+		4C3D00591C66A8B900D1F709 /* NetworkReachabilityManagerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C3D00571C66A8B900D1F709 /* NetworkReachabilityManagerTests.swift */; };
+		4C3D005A1C66A8B900D1F709 /* NetworkReachabilityManagerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C3D00571C66A8B900D1F709 /* NetworkReachabilityManagerTests.swift */; };
+		4C4CBE7B1BAF700C0024D659 /* String+AlamofireTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C4CBE7A1BAF700C0024D659 /* String+AlamofireTests.swift */; };
+		4C4CBE7C1BAF700C0024D659 /* String+AlamofireTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C4CBE7A1BAF700C0024D659 /* String+AlamofireTests.swift */; };
+		4C574E6A1C67D207000B3128 /* Timeline.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C574E691C67D207000B3128 /* Timeline.swift */; };
+		4C574E6B1C67D207000B3128 /* Timeline.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C574E691C67D207000B3128 /* Timeline.swift */; };
+		4C574E6C1C67D207000B3128 /* Timeline.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C574E691C67D207000B3128 /* Timeline.swift */; };
+		4C574E6D1C67D207000B3128 /* Timeline.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C574E691C67D207000B3128 /* Timeline.swift */; };
+		4C743CF61C22772D00BCB23E /* certDER.cer in Resources */ = {isa = PBXBuildFile; fileRef = B39E2F831C1A72F8002DA1A9 /* certDER.cer */; };
+		4C743CF71C22772D00BCB23E /* certDER.crt in Resources */ = {isa = PBXBuildFile; fileRef = B39E2F841C1A72F8002DA1A9 /* certDER.crt */; };
+		4C743CF81C22772D00BCB23E /* certDER.der in Resources */ = {isa = PBXBuildFile; fileRef = B39E2F851C1A72F8002DA1A9 /* certDER.der */; };
+		4C743CF91C22772D00BCB23E /* certPEM.cer in Resources */ = {isa = PBXBuildFile; fileRef = B39E2F861C1A72F8002DA1A9 /* certPEM.cer */; };
+		4C743CFA1C22772D00BCB23E /* certPEM.crt in Resources */ = {isa = PBXBuildFile; fileRef = B39E2F871C1A72F8002DA1A9 /* certPEM.crt */; };
+		4C743CFB1C22772D00BCB23E /* randomGibberish.crt in Resources */ = {isa = PBXBuildFile; fileRef = B39E2F891C1A72F8002DA1A9 /* randomGibberish.crt */; };
+		4C743CFC1C22772D00BCB23E /* keyDER.der in Resources */ = {isa = PBXBuildFile; fileRef = B39E2F8A1C1A72F8002DA1A9 /* keyDER.der */; };
+		4C743CFD1C22772D00BCB23E /* alamofire-root-ca.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C3A1B535F220017E0BF /* alamofire-root-ca.cer */; };
+		4C743CFE1C22772D00BCB23E /* alamofire-signing-ca1.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C3D1B535F2E0017E0BF /* alamofire-signing-ca1.cer */; };
+		4C743CFF1C22772D00BCB23E /* alamofire-signing-ca2.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C3E1B535F2E0017E0BF /* alamofire-signing-ca2.cer */; };
+		4C743D001C22772D00BCB23E /* multiple-dns-names.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C441B535F400017E0BF /* multiple-dns-names.cer */; };
+		4C743D011C22772D00BCB23E /* signed-by-ca1.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C451B535F400017E0BF /* signed-by-ca1.cer */; };
+		4C743D021C22772D00BCB23E /* test.alamofire.org.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C461B535F400017E0BF /* test.alamofire.org.cer */; };
+		4C743D031C22772D00BCB23E /* wildcard.alamofire.org.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C431B535F400017E0BF /* wildcard.alamofire.org.cer */; };
+		4C743D041C22772D00BCB23E /* expired.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C4F1B535F540017E0BF /* expired.cer */; };
+		4C743D051C22772D00BCB23E /* missing-dns-name-and-uri.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C501B535F540017E0BF /* missing-dns-name-and-uri.cer */; };
+		4C743D061C22772D00BCB23E /* signed-by-ca2.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C511B535F540017E0BF /* signed-by-ca2.cer */; };
+		4C743D071C22772D00BCB23E /* valid-dns-name.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C521B535F540017E0BF /* valid-dns-name.cer */; };
+		4C743D081C22772D00BCB23E /* valid-uri.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C531B535F540017E0BF /* valid-uri.cer */; };
+		4C743D091C22772D00BCB23E /* intermediate-ca-disig.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C5E1B535F6D0017E0BF /* intermediate-ca-disig.cer */; };
+		4C743D0A1C22772D00BCB23E /* root-ca-disig.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C5F1B535F6D0017E0BF /* root-ca-disig.cer */; };
+		4C743D0B1C22772D00BCB23E /* testssl-expire.disig.sk.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C601B535F6D0017E0BF /* testssl-expire.disig.sk.cer */; };
+		4C743D0C1C22772E00BCB23E /* certDER.cer in Resources */ = {isa = PBXBuildFile; fileRef = B39E2F831C1A72F8002DA1A9 /* certDER.cer */; };
+		4C743D0D1C22772E00BCB23E /* certDER.crt in Resources */ = {isa = PBXBuildFile; fileRef = B39E2F841C1A72F8002DA1A9 /* certDER.crt */; };
+		4C743D0E1C22772E00BCB23E /* certDER.der in Resources */ = {isa = PBXBuildFile; fileRef = B39E2F851C1A72F8002DA1A9 /* certDER.der */; };
+		4C743D0F1C22772E00BCB23E /* certPEM.cer in Resources */ = {isa = PBXBuildFile; fileRef = B39E2F861C1A72F8002DA1A9 /* certPEM.cer */; };
+		4C743D101C22772E00BCB23E /* certPEM.crt in Resources */ = {isa = PBXBuildFile; fileRef = B39E2F871C1A72F8002DA1A9 /* certPEM.crt */; };
+		4C743D111C22772E00BCB23E /* randomGibberish.crt in Resources */ = {isa = PBXBuildFile; fileRef = B39E2F891C1A72F8002DA1A9 /* randomGibberish.crt */; };
+		4C743D121C22772E00BCB23E /* keyDER.der in Resources */ = {isa = PBXBuildFile; fileRef = B39E2F8A1C1A72F8002DA1A9 /* keyDER.der */; };
+		4C743D131C22772E00BCB23E /* alamofire-root-ca.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C3A1B535F220017E0BF /* alamofire-root-ca.cer */; };
+		4C743D141C22772E00BCB23E /* alamofire-signing-ca1.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C3D1B535F2E0017E0BF /* alamofire-signing-ca1.cer */; };
+		4C743D151C22772E00BCB23E /* alamofire-signing-ca2.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C3E1B535F2E0017E0BF /* alamofire-signing-ca2.cer */; };
+		4C743D161C22772E00BCB23E /* multiple-dns-names.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C441B535F400017E0BF /* multiple-dns-names.cer */; };
+		4C743D171C22772E00BCB23E /* signed-by-ca1.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C451B535F400017E0BF /* signed-by-ca1.cer */; };
+		4C743D181C22772E00BCB23E /* test.alamofire.org.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C461B535F400017E0BF /* test.alamofire.org.cer */; };
+		4C743D191C22772E00BCB23E /* wildcard.alamofire.org.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C431B535F400017E0BF /* wildcard.alamofire.org.cer */; };
+		4C743D1A1C22772E00BCB23E /* expired.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C4F1B535F540017E0BF /* expired.cer */; };
+		4C743D1B1C22772E00BCB23E /* missing-dns-name-and-uri.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C501B535F540017E0BF /* missing-dns-name-and-uri.cer */; };
+		4C743D1C1C22772E00BCB23E /* signed-by-ca2.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C511B535F540017E0BF /* signed-by-ca2.cer */; };
+		4C743D1D1C22772E00BCB23E /* valid-dns-name.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C521B535F540017E0BF /* valid-dns-name.cer */; };
+		4C743D1E1C22772E00BCB23E /* valid-uri.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C531B535F540017E0BF /* valid-uri.cer */; };
+		4C743D1F1C22772E00BCB23E /* intermediate-ca-disig.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C5E1B535F6D0017E0BF /* intermediate-ca-disig.cer */; };
+		4C743D201C22772E00BCB23E /* root-ca-disig.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C5F1B535F6D0017E0BF /* root-ca-disig.cer */; };
+		4C743D211C22772E00BCB23E /* testssl-expire.disig.sk.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C601B535F6D0017E0BF /* testssl-expire.disig.sk.cer */; };
+		4C743D221C22772F00BCB23E /* certDER.cer in Resources */ = {isa = PBXBuildFile; fileRef = B39E2F831C1A72F8002DA1A9 /* certDER.cer */; };
+		4C743D231C22772F00BCB23E /* certDER.crt in Resources */ = {isa = PBXBuildFile; fileRef = B39E2F841C1A72F8002DA1A9 /* certDER.crt */; };
+		4C743D241C22772F00BCB23E /* certDER.der in Resources */ = {isa = PBXBuildFile; fileRef = B39E2F851C1A72F8002DA1A9 /* certDER.der */; };
+		4C743D251C22772F00BCB23E /* certPEM.cer in Resources */ = {isa = PBXBuildFile; fileRef = B39E2F861C1A72F8002DA1A9 /* certPEM.cer */; };
+		4C743D261C22772F00BCB23E /* certPEM.crt in Resources */ = {isa = PBXBuildFile; fileRef = B39E2F871C1A72F8002DA1A9 /* certPEM.crt */; };
+		4C743D271C22772F00BCB23E /* randomGibberish.crt in Resources */ = {isa = PBXBuildFile; fileRef = B39E2F891C1A72F8002DA1A9 /* randomGibberish.crt */; };
+		4C743D281C22772F00BCB23E /* keyDER.der in Resources */ = {isa = PBXBuildFile; fileRef = B39E2F8A1C1A72F8002DA1A9 /* keyDER.der */; };
+		4C743D291C22772F00BCB23E /* alamofire-root-ca.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C3A1B535F220017E0BF /* alamofire-root-ca.cer */; };
+		4C743D2A1C22772F00BCB23E /* alamofire-signing-ca1.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C3D1B535F2E0017E0BF /* alamofire-signing-ca1.cer */; };
+		4C743D2B1C22772F00BCB23E /* alamofire-signing-ca2.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C3E1B535F2E0017E0BF /* alamofire-signing-ca2.cer */; };
+		4C743D2C1C22772F00BCB23E /* multiple-dns-names.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C441B535F400017E0BF /* multiple-dns-names.cer */; };
+		4C743D2D1C22772F00BCB23E /* signed-by-ca1.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C451B535F400017E0BF /* signed-by-ca1.cer */; };
+		4C743D2E1C22772F00BCB23E /* test.alamofire.org.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C461B535F400017E0BF /* test.alamofire.org.cer */; };
+		4C743D2F1C22772F00BCB23E /* wildcard.alamofire.org.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C431B535F400017E0BF /* wildcard.alamofire.org.cer */; };
+		4C743D301C22772F00BCB23E /* expired.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C4F1B535F540017E0BF /* expired.cer */; };
+		4C743D311C22772F00BCB23E /* missing-dns-name-and-uri.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C501B535F540017E0BF /* missing-dns-name-and-uri.cer */; };
+		4C743D321C22772F00BCB23E /* signed-by-ca2.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C511B535F540017E0BF /* signed-by-ca2.cer */; };
+		4C743D331C22772F00BCB23E /* valid-dns-name.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C521B535F540017E0BF /* valid-dns-name.cer */; };
+		4C743D341C22772F00BCB23E /* valid-uri.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C531B535F540017E0BF /* valid-uri.cer */; };
+		4C743D351C22772F00BCB23E /* intermediate-ca-disig.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C5E1B535F6D0017E0BF /* intermediate-ca-disig.cer */; };
+		4C743D361C22772F00BCB23E /* root-ca-disig.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C5F1B535F6D0017E0BF /* root-ca-disig.cer */; };
+		4C743D371C22772F00BCB23E /* testssl-expire.disig.sk.cer in Resources */ = {isa = PBXBuildFile; fileRef = 4C812C601B535F6D0017E0BF /* testssl-expire.disig.sk.cer */; };
+		4C7C8D221B9D0D9000948136 /* NSURLSessionConfiguration+AlamofireTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C7C8D211B9D0D9000948136 /* NSURLSessionConfiguration+AlamofireTests.swift */; };
+		4C7C8D231B9D0D9000948136 /* NSURLSessionConfiguration+AlamofireTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C7C8D211B9D0D9000948136 /* NSURLSessionConfiguration+AlamofireTests.swift */; };
+		4C80F9F81BB730EF001B46D2 /* Response.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C0B62501BB1001C009302D3 /* Response.swift */; };
+		4C80F9F91BB730F6001B46D2 /* String+AlamofireTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C4CBE7A1BAF700C0024D659 /* String+AlamofireTests.swift */; };
+		4C811F8D1B51856D00E0F59A /* ServerTrustPolicy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C811F8C1B51856D00E0F59A /* ServerTrustPolicy.swift */; };
+		4C811F8E1B51856D00E0F59A /* ServerTrustPolicy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C811F8C1B51856D00E0F59A /* ServerTrustPolicy.swift */; };
+		4C83F41B1B749E0E00203445 /* Stream.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C83F41A1B749E0E00203445 /* Stream.swift */; };
+		4C83F41C1B749E0E00203445 /* Stream.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C83F41A1B749E0E00203445 /* Stream.swift */; };
+		4C83F41D1B749E0E00203445 /* Stream.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C83F41A1B749E0E00203445 /* Stream.swift */; };
+		4CA028C51B7466C500C84163 /* ResultTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CA028C41B7466C500C84163 /* ResultTests.swift */; };
+		4CA028C61B7466C500C84163 /* ResultTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CA028C41B7466C500C84163 /* ResultTests.swift */; };
+		4CB928291C66BFBC00CE5F08 /* Notifications.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CB928281C66BFBC00CE5F08 /* Notifications.swift */; };
+		4CB9282A1C66BFBC00CE5F08 /* Notifications.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CB928281C66BFBC00CE5F08 /* Notifications.swift */; };
+		4CB9282B1C66BFBC00CE5F08 /* Notifications.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CB928281C66BFBC00CE5F08 /* Notifications.swift */; };
+		4CB9282C1C66BFBC00CE5F08 /* Notifications.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CB928281C66BFBC00CE5F08 /* Notifications.swift */; };
+		4CCFA79A1B2BE71600B6F460 /* URLProtocolTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CCFA7991B2BE71600B6F460 /* URLProtocolTests.swift */; };
+		4CCFA79B1B2BE71600B6F460 /* URLProtocolTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CCFA7991B2BE71600B6F460 /* URLProtocolTests.swift */; };
+		4CDE2C371AF8932A00BABAE5 /* Manager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CDE2C361AF8932A00BABAE5 /* Manager.swift */; };
+		4CDE2C381AF8932A00BABAE5 /* Manager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CDE2C361AF8932A00BABAE5 /* Manager.swift */; };
+		4CDE2C3A1AF899EC00BABAE5 /* Request.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CDE2C391AF899EC00BABAE5 /* Request.swift */; };
+		4CDE2C3B1AF899EC00BABAE5 /* Request.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CDE2C391AF899EC00BABAE5 /* Request.swift */; };
+		4CDE2C3D1AF89D4900BABAE5 /* Download.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CDE2C3C1AF89D4900BABAE5 /* Download.swift */; };
+		4CDE2C3E1AF89D4900BABAE5 /* Download.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CDE2C3C1AF89D4900BABAE5 /* Download.swift */; };
+		4CDE2C401AF89E0700BABAE5 /* Upload.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CDE2C3F1AF89E0700BABAE5 /* Upload.swift */; };
+		4CDE2C411AF89E0700BABAE5 /* Upload.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CDE2C3F1AF89E0700BABAE5 /* Upload.swift */; };
+		4CDE2C431AF89F0900BABAE5 /* Validation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CDE2C421AF89F0900BABAE5 /* Validation.swift */; };
+		4CDE2C441AF89F0900BABAE5 /* Validation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CDE2C421AF89F0900BABAE5 /* Validation.swift */; };
+		4CDE2C461AF89FF300BABAE5 /* ResponseSerialization.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CDE2C451AF89FF300BABAE5 /* ResponseSerialization.swift */; };
+		4CDE2C471AF89FF300BABAE5 /* ResponseSerialization.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CDE2C451AF89FF300BABAE5 /* ResponseSerialization.swift */; };
+		4CE2724F1AF88FB500F1D59A /* ParameterEncoding.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CE2724E1AF88FB500F1D59A /* ParameterEncoding.swift */; };
+		4CE272501AF88FB500F1D59A /* ParameterEncoding.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CE2724E1AF88FB500F1D59A /* ParameterEncoding.swift */; };
+		4CEC605A1B745C9100E684F4 /* Error.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C1DC8531B68908E00476DE3 /* Error.swift */; };
+		4CEC605B1B745C9100E684F4 /* Result.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C0E5BF71B673D3400816CCC /* Result.swift */; };
+		4CEC605C1B745C9B00E684F4 /* Alamofire.h in Headers */ = {isa = PBXBuildFile; fileRef = F8111E3819A95C8B0040E7D1 /* Alamofire.h */; settings = {ATTRIBUTES = (Public, ); }; };
+		4CEE82AD1C6813CF00E9C9F0 /* NetworkReachabilityManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C3D00531C66A63000D1F709 /* NetworkReachabilityManager.swift */; };
+		4CF626F91BA7CB3E0011A099 /* Alamofire.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4CF626EF1BA7CB3E0011A099 /* Alamofire.framework */; };
+		4CF627061BA7CBE30011A099 /* Alamofire.h in Headers */ = {isa = PBXBuildFile; fileRef = F8111E3819A95C8B0040E7D1 /* Alamofire.h */; settings = {ATTRIBUTES = (Public, ); }; };
+		4CF627071BA7CBF60011A099 /* Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = F897FF4019AA800700AB5182 /* Alamofire.swift */; };
+		4CF627081BA7CBF60011A099 /* Error.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C1DC8531B68908E00476DE3 /* Error.swift */; };
+		4CF627091BA7CBF60011A099 /* Manager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CDE2C361AF8932A00BABAE5 /* Manager.swift */; };
+		4CF6270A1BA7CBF60011A099 /* ParameterEncoding.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CE2724E1AF88FB500F1D59A /* ParameterEncoding.swift */; };
+		4CF6270B1BA7CBF60011A099 /* Request.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CDE2C391AF899EC00BABAE5 /* Request.swift */; };
+		4CF6270C1BA7CBF60011A099 /* Result.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C0E5BF71B673D3400816CCC /* Result.swift */; };
+		4CF6270D1BA7CBF60011A099 /* Download.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CDE2C3C1AF89D4900BABAE5 /* Download.swift */; };
+		4CF6270E1BA7CBF60011A099 /* MultipartFormData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C23EB421B327C5B0090E0BC /* MultipartFormData.swift */; };
+		4CF6270F1BA7CBF60011A099 /* ResponseSerialization.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CDE2C451AF89FF300BABAE5 /* ResponseSerialization.swift */; };
+		4CF627101BA7CBF60011A099 /* ServerTrustPolicy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C811F8C1B51856D00E0F59A /* ServerTrustPolicy.swift */; };
+		4CF627111BA7CBF60011A099 /* Stream.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C83F41A1B749E0E00203445 /* Stream.swift */; };
+		4CF627121BA7CBF60011A099 /* Upload.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CDE2C3F1AF89E0700BABAE5 /* Upload.swift */; };
+		4CF627131BA7CBF60011A099 /* Validation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CDE2C421AF89F0900BABAE5 /* Validation.swift */; };
+		4CF627141BA7CC240011A099 /* BaseTestCase.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C256A501B096C2C0065714F /* BaseTestCase.swift */; };
+		4CF627151BA7CC240011A099 /* AuthenticationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8E6024419CB46A800A3E7F1 /* AuthenticationTests.swift */; };
+		4CF627161BA7CC240011A099 /* ManagerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8D1C6F419D52968002E74FE /* ManagerTests.swift */; };
+		4CF627171BA7CC240011A099 /* ParameterEncodingTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8111E5C19A9674D0040E7D1 /* ParameterEncodingTests.swift */; };
+		4CF627181BA7CC240011A099 /* RequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8111E5D19A9674D0040E7D1 /* RequestTests.swift */; };
+		4CF627191BA7CC240011A099 /* ResponseTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8111E5E19A9674D0040E7D1 /* ResponseTests.swift */; };
+		4CF6271A1BA7CC240011A099 /* ResultTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CA028C41B7466C500C84163 /* ResultTests.swift */; };
+		4CF6271B1BA7CC240011A099 /* NSURLSessionConfiguration+AlamofireTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C7C8D211B9D0D9000948136 /* NSURLSessionConfiguration+AlamofireTests.swift */; };
+		4CF6271C1BA7CC240011A099 /* CacheTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C341BB91B1A865A00C1B34D /* CacheTests.swift */; };
+		4CF6271D1BA7CC240011A099 /* DownloadTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8111E5B19A9674D0040E7D1 /* DownloadTests.swift */; };
+		4CF6271E1BA7CC240011A099 /* MultipartFormDataTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C3238E61B3604DB00FE04AE /* MultipartFormDataTests.swift */; };
+		4CF6271F1BA7CC240011A099 /* ResponseSerializationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C0B58381B747A4400C0B99C /* ResponseSerializationTests.swift */; };
+		4CF627201BA7CC240011A099 /* ServerTrustPolicyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C33A1421B52089C00873DFF /* ServerTrustPolicyTests.swift */; };
+		4CF627211BA7CC240011A099 /* TLSEvaluationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F86AEFE51AE6A282007D9C76 /* TLSEvaluationTests.swift */; };
+		4CF627221BA7CC240011A099 /* UploadTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8111E5F19A9674D0040E7D1 /* UploadTests.swift */; };
+		4CF627231BA7CC240011A099 /* URLProtocolTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CCFA7991B2BE71600B6F460 /* URLProtocolTests.swift */; };
+		4CF627241BA7CC240011A099 /* ValidationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8AE910119D28DCC0078C7B2 /* ValidationTests.swift */; };
+		4CF627341BA7CC300011A099 /* rainbow.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 4C33A1231B5207DB00873DFF /* rainbow.jpg */; };
+		4CF627351BA7CC300011A099 /* unicorn.png in Resources */ = {isa = PBXBuildFile; fileRef = 4C33A1241B5207DB00873DFF /* unicorn.png */; };
+		4DD67C241A5C58FB00ED2280 /* Alamofire.h in Headers */ = {isa = PBXBuildFile; fileRef = F8111E3819A95C8B0040E7D1 /* Alamofire.h */; settings = {ATTRIBUTES = (Public, ); }; };
+		4DD67C251A5C590000ED2280 /* Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = F897FF4019AA800700AB5182 /* Alamofire.swift */; };
+		8035DB621BAB492500466CB3 /* Alamofire.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F8111E3319A95C8B0040E7D1 /* Alamofire.framework */; };
+		E4202FCF1B667AA100C997FB /* Upload.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CDE2C3F1AF89E0700BABAE5 /* Upload.swift */; };
+		E4202FD01B667AA100C997FB /* ParameterEncoding.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CE2724E1AF88FB500F1D59A /* ParameterEncoding.swift */; };
+		E4202FD11B667AA100C997FB /* Request.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CDE2C391AF899EC00BABAE5 /* Request.swift */; };
+		E4202FD21B667AA100C997FB /* ResponseSerialization.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CDE2C451AF89FF300BABAE5 /* ResponseSerialization.swift */; };
+		E4202FD31B667AA100C997FB /* Manager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CDE2C361AF8932A00BABAE5 /* Manager.swift */; };
+		E4202FD41B667AA100C997FB /* Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = F897FF4019AA800700AB5182 /* Alamofire.swift */; };
+		E4202FD51B667AA100C997FB /* MultipartFormData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C23EB421B327C5B0090E0BC /* MultipartFormData.swift */; };
+		E4202FD61B667AA100C997FB /* ServerTrustPolicy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C811F8C1B51856D00E0F59A /* ServerTrustPolicy.swift */; };
+		E4202FD71B667AA100C997FB /* Download.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CDE2C3C1AF89D4900BABAE5 /* Download.swift */; };
+		E4202FD81B667AA100C997FB /* Validation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4CDE2C421AF89F0900BABAE5 /* Validation.swift */; };
+		F8111E3919A95C8B0040E7D1 /* Alamofire.h in Headers */ = {isa = PBXBuildFile; fileRef = F8111E3819A95C8B0040E7D1 /* Alamofire.h */; settings = {ATTRIBUTES = (Public, ); }; };
+		F8111E6019A9674D0040E7D1 /* DownloadTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8111E5B19A9674D0040E7D1 /* DownloadTests.swift */; };
+		F8111E6119A9674D0040E7D1 /* ParameterEncodingTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8111E5C19A9674D0040E7D1 /* ParameterEncodingTests.swift */; };
+		F8111E6419A9674D0040E7D1 /* UploadTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8111E5F19A9674D0040E7D1 /* UploadTests.swift */; };
+		F829C6B81A7A94F100A2CD59 /* Alamofire.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4DD67C0B1A5C55C900ED2280 /* Alamofire.framework */; };
+		F829C6BE1A7A950600A2CD59 /* ParameterEncodingTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8111E5C19A9674D0040E7D1 /* ParameterEncodingTests.swift */; };
+		F829C6BF1A7A950600A2CD59 /* RequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8111E5D19A9674D0040E7D1 /* RequestTests.swift */; };
+		F829C6C01A7A950600A2CD59 /* ManagerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8D1C6F419D52968002E74FE /* ManagerTests.swift */; };
+		F829C6C11A7A950600A2CD59 /* ResponseTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8111E5E19A9674D0040E7D1 /* ResponseTests.swift */; };
+		F829C6C21A7A950600A2CD59 /* UploadTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8111E5F19A9674D0040E7D1 /* UploadTests.swift */; };
+		F829C6C31A7A950600A2CD59 /* DownloadTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8111E5B19A9674D0040E7D1 /* DownloadTests.swift */; };
+		F829C6C41A7A950600A2CD59 /* AuthenticationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8E6024419CB46A800A3E7F1 /* AuthenticationTests.swift */; };
+		F829C6C51A7A950600A2CD59 /* ValidationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8AE910119D28DCC0078C7B2 /* ValidationTests.swift */; };
+		F86AEFE71AE6A312007D9C76 /* TLSEvaluationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F86AEFE51AE6A282007D9C76 /* TLSEvaluationTests.swift */; };
+		F86AEFE81AE6A315007D9C76 /* TLSEvaluationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F86AEFE51AE6A282007D9C76 /* TLSEvaluationTests.swift */; };
+		F8858DDD19A96B4300F55F93 /* RequestTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8111E5D19A9674D0040E7D1 /* RequestTests.swift */; };
+		F8858DDE19A96B4400F55F93 /* ResponseTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8111E5E19A9674D0040E7D1 /* ResponseTests.swift */; };
+		F897FF4119AA800700AB5182 /* Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = F897FF4019AA800700AB5182 /* Alamofire.swift */; };
+		F8AE910219D28DCC0078C7B2 /* ValidationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8AE910119D28DCC0078C7B2 /* ValidationTests.swift */; };
+		F8D1C6F519D52968002E74FE /* ManagerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8D1C6F419D52968002E74FE /* ManagerTests.swift */; };
+		F8E6024519CB46A800A3E7F1 /* AuthenticationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8E6024419CB46A800A3E7F1 /* AuthenticationTests.swift */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXContainerItemProxy section */
+		4CF626FA1BA7CB3E0011A099 /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = F8111E2A19A95C8B0040E7D1 /* Project object */;
+			proxyType = 1;
+			remoteGlobalIDString = 4CF626EE1BA7CB3E0011A099;
+			remoteInfo = "Alamofire tvOS";
+		};
+		F8111E6519A967880040E7D1 /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = F8111E2A19A95C8B0040E7D1 /* Project object */;
+			proxyType = 1;
+			remoteGlobalIDString = F8111E3219A95C8B0040E7D1;
+			remoteInfo = Alamofire;
+		};
+		F829C6B91A7A94F100A2CD59 /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = F8111E2A19A95C8B0040E7D1 /* Project object */;
+			proxyType = 1;
+			remoteGlobalIDString = 4DD67C0A1A5C55C900ED2280;
+			remoteInfo = "Alamofire OSX";
+		};
+/* End PBXContainerItemProxy section */
+
+/* Begin PBXFileReference section */
+		4C0B58381B747A4400C0B99C /* ResponseSerializationTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ResponseSerializationTests.swift; sourceTree = "<group>"; };
+		4C0B62501BB1001C009302D3 /* Response.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Response.swift; sourceTree = "<group>"; };
+		4C0E02681BF99A18004E7F18 /* Info-tvOS.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = "Info-tvOS.plist"; path = "Source/Info-tvOS.plist"; sourceTree = SOURCE_ROOT; };
+		4C0E5BF71B673D3400816CCC /* Result.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Result.swift; sourceTree = "<group>"; };
+		4C1DC8531B68908E00476DE3 /* Error.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Error.swift; sourceTree = "<group>"; };
+		4C23EB421B327C5B0090E0BC /* MultipartFormData.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MultipartFormData.swift; sourceTree = "<group>"; };
+		4C256A501B096C2C0065714F /* BaseTestCase.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BaseTestCase.swift; sourceTree = "<group>"; };
+		4C3238E61B3604DB00FE04AE /* MultipartFormDataTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MultipartFormDataTests.swift; sourceTree = "<group>"; };
+		4C33A1231B5207DB00873DFF /* rainbow.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = rainbow.jpg; sourceTree = "<group>"; };
+		4C33A1241B5207DB00873DFF /* unicorn.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = unicorn.png; sourceTree = "<group>"; };
+		4C33A1421B52089C00873DFF /* ServerTrustPolicyTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ServerTrustPolicyTests.swift; sourceTree = "<group>"; };
+		4C341BB91B1A865A00C1B34D /* CacheTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CacheTests.swift; sourceTree = "<group>"; };
+		4C3D00531C66A63000D1F709 /* NetworkReachabilityManager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NetworkReachabilityManager.swift; sourceTree = "<group>"; };
+		4C3D00571C66A8B900D1F709 /* NetworkReachabilityManagerTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NetworkReachabilityManagerTests.swift; sourceTree = "<group>"; };
+		4C4CBE7A1BAF700C0024D659 /* String+AlamofireTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "String+AlamofireTests.swift"; sourceTree = "<group>"; };
+		4C574E691C67D207000B3128 /* Timeline.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Timeline.swift; sourceTree = "<group>"; };
+		4C7C8D211B9D0D9000948136 /* NSURLSessionConfiguration+AlamofireTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "NSURLSessionConfiguration+AlamofireTests.swift"; sourceTree = "<group>"; };
+		4C811F8C1B51856D00E0F59A /* ServerTrustPolicy.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ServerTrustPolicy.swift; sourceTree = "<group>"; };
+		4C812C3A1B535F220017E0BF /* alamofire-root-ca.cer */ = {isa = PBXFileReference; lastKnownFileType = file; name = "alamofire-root-ca.cer"; path = "alamofire.org/alamofire-root-ca.cer"; sourceTree = "<group>"; };
+		4C812C3D1B535F2E0017E0BF /* alamofire-signing-ca1.cer */ = {isa = PBXFileReference; lastKnownFileType = file; name = "alamofire-signing-ca1.cer"; path = "alamofire.org/alamofire-signing-ca1.cer"; sourceTree = "<group>"; };
+		4C812C3E1B535F2E0017E0BF /* alamofire-signing-ca2.cer */ = {isa = PBXFileReference; lastKnownFileType = file; name = "alamofire-signing-ca2.cer"; path = "alamofire.org/alamofire-signing-ca2.cer"; sourceTree = "<group>"; };
+		4C812C431B535F400017E0BF /* wildcard.alamofire.org.cer */ = {isa = PBXFileReference; lastKnownFileType = file; name = wildcard.alamofire.org.cer; path = alamofire.org/wildcard.alamofire.org.cer; sourceTree = "<group>"; };
+		4C812C441B535F400017E0BF /* multiple-dns-names.cer */ = {isa = PBXFileReference; lastKnownFileType = file; name = "multiple-dns-names.cer"; path = "alamofire.org/multiple-dns-names.cer"; sourceTree = "<group>"; };
+		4C812C451B535F400017E0BF /* signed-by-ca1.cer */ = {isa = PBXFileReference; lastKnownFileType = file; name = "signed-by-ca1.cer"; path = "alamofire.org/signed-by-ca1.cer"; sourceTree = "<group>"; };
+		4C812C461B535F400017E0BF /* test.alamofire.org.cer */ = {isa = PBXFileReference; lastKnownFileType = file; name = test.alamofire.org.cer; path = alamofire.org/test.alamofire.org.cer; sourceTree = "<group>"; };
+		4C812C4F1B535F540017E0BF /* expired.cer */ = {isa = PBXFileReference; lastKnownFileType = file; name = expired.cer; path = alamofire.org/expired.cer; sourceTree = "<group>"; };
+		4C812C501B535F540017E0BF /* missing-dns-name-and-uri.cer */ = {isa = PBXFileReference; lastKnownFileType = file; name = "missing-dns-name-and-uri.cer"; path = "alamofire.org/missing-dns-name-and-uri.cer"; sourceTree = "<group>"; };
+		4C812C511B535F540017E0BF /* signed-by-ca2.cer */ = {isa = PBXFileReference; lastKnownFileType = file; name = "signed-by-ca2.cer"; path = "alamofire.org/signed-by-ca2.cer"; sourceTree = "<group>"; };
+		4C812C521B535F540017E0BF /* valid-dns-name.cer */ = {isa = PBXFileReference; lastKnownFileType = file; name = "valid-dns-name.cer"; path = "alamofire.org/valid-dns-name.cer"; sourceTree = "<group>"; };
+		4C812C531B535F540017E0BF /* valid-uri.cer */ = {isa = PBXFileReference; lastKnownFileType = file; name = "valid-uri.cer"; path = "alamofire.org/valid-uri.cer"; sourceTree = "<group>"; };
+		4C812C5E1B535F6D0017E0BF /* intermediate-ca-disig.cer */ = {isa = PBXFileReference; lastKnownFileType = file; name = "intermediate-ca-disig.cer"; path = "disig.sk/intermediate-ca-disig.cer"; sourceTree = "<group>"; };
+		4C812C5F1B535F6D0017E0BF /* root-ca-disig.cer */ = {isa = PBXFileReference; lastKnownFileType = file; name = "root-ca-disig.cer"; path = "disig.sk/root-ca-disig.cer"; sourceTree = "<group>"; };
+		4C812C601B535F6D0017E0BF /* testssl-expire.disig.sk.cer */ = {isa = PBXFileReference; lastKnownFileType = file; name = "testssl-expire.disig.sk.cer"; path = "disig.sk/testssl-expire.disig.sk.cer"; sourceTree = "<group>"; };
+		4C83F41A1B749E0E00203445 /* Stream.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Stream.swift; sourceTree = "<group>"; };
+		4CA028C41B7466C500C84163 /* ResultTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ResultTests.swift; sourceTree = "<group>"; };
+		4CB928281C66BFBC00CE5F08 /* Notifications.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Notifications.swift; sourceTree = "<group>"; };
+		4CCFA7991B2BE71600B6F460 /* URLProtocolTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = URLProtocolTests.swift; sourceTree = "<group>"; };
+		4CDE2C361AF8932A00BABAE5 /* Manager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Manager.swift; sourceTree = "<group>"; };
+		4CDE2C391AF899EC00BABAE5 /* Request.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Request.swift; sourceTree = "<group>"; };
+		4CDE2C3C1AF89D4900BABAE5 /* Download.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Download.swift; sourceTree = "<group>"; };
+		4CDE2C3F1AF89E0700BABAE5 /* Upload.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Upload.swift; sourceTree = "<group>"; };
+		4CDE2C421AF89F0900BABAE5 /* Validation.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Validation.swift; sourceTree = "<group>"; };
+		4CDE2C451AF89FF300BABAE5 /* ResponseSerialization.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ResponseSerialization.swift; sourceTree = "<group>"; };
+		4CE2724E1AF88FB500F1D59A /* ParameterEncoding.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ParameterEncoding.swift; sourceTree = "<group>"; };
+		4CF626EF1BA7CB3E0011A099 /* Alamofire.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Alamofire.framework; sourceTree = BUILT_PRODUCTS_DIR; };
+		4CF626F81BA7CB3E0011A099 /* Alamofire tvOS Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Alamofire tvOS Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
+		4DD67C0B1A5C55C900ED2280 /* Alamofire.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Alamofire.framework; sourceTree = BUILT_PRODUCTS_DIR; };
+		72998D721BF26173006D3F69 /* Info-tvOS.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "Info-tvOS.plist"; sourceTree = "<group>"; };
+		B39E2F831C1A72F8002DA1A9 /* certDER.cer */ = {isa = PBXFileReference; lastKnownFileType = file; name = certDER.cer; path = selfSignedAndMalformedCerts/certDER.cer; sourceTree = "<group>"; };
+		B39E2F841C1A72F8002DA1A9 /* certDER.crt */ = {isa = PBXFileReference; lastKnownFileType = file; name = certDER.crt; path = selfSignedAndMalformedCerts/certDER.crt; sourceTree = "<group>"; };
+		B39E2F851C1A72F8002DA1A9 /* certDER.der */ = {isa = PBXFileReference; lastKnownFileType = file; name = certDER.der; path = selfSignedAndMalformedCerts/certDER.der; sourceTree = "<group>"; };
+		B39E2F861C1A72F8002DA1A9 /* certPEM.cer */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = certPEM.cer; path = selfSignedAndMalformedCerts/certPEM.cer; sourceTree = "<group>"; };
+		B39E2F871C1A72F8002DA1A9 /* certPEM.crt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = certPEM.crt; path = selfSignedAndMalformedCerts/certPEM.crt; sourceTree = "<group>"; };
+		B39E2F891C1A72F8002DA1A9 /* randomGibberish.crt */ = {isa = PBXFileReference; lastKnownFileType = file; name = randomGibberish.crt; path = selfSignedAndMalformedCerts/randomGibberish.crt; sourceTree = "<group>"; };
+		B39E2F8A1C1A72F8002DA1A9 /* keyDER.der */ = {isa = PBXFileReference; lastKnownFileType = file; name = keyDER.der; path = selfSignedAndMalformedCerts/keyDER.der; sourceTree = "<group>"; };
+		E4202FE01B667AA100C997FB /* Alamofire.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Alamofire.framework; sourceTree = BUILT_PRODUCTS_DIR; };
+		F8111E3319A95C8B0040E7D1 /* Alamofire.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Alamofire.framework; sourceTree = BUILT_PRODUCTS_DIR; };
+		F8111E3719A95C8B0040E7D1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
+		F8111E3819A95C8B0040E7D1 /* Alamofire.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Alamofire.h; sourceTree = "<group>"; };
+		F8111E3E19A95C8B0040E7D1 /* Alamofire iOS Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Alamofire iOS Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
+		F8111E4119A95C8B0040E7D1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
+		F8111E5B19A9674D0040E7D1 /* DownloadTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DownloadTests.swift; sourceTree = "<group>"; };
+		F8111E5C19A9674D0040E7D1 /* ParameterEncodingTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ParameterEncodingTests.swift; sourceTree = "<group>"; };
+		F8111E5D19A9674D0040E7D1 /* RequestTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RequestTests.swift; sourceTree = "<group>"; };
+		F8111E5E19A9674D0040E7D1 /* ResponseTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ResponseTests.swift; sourceTree = "<group>"; };
+		F8111E5F19A9674D0040E7D1 /* UploadTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UploadTests.swift; sourceTree = "<group>"; };
+		F829C6B21A7A94F100A2CD59 /* Alamofire OSX Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Alamofire OSX Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
+		F86AEFE51AE6A282007D9C76 /* TLSEvaluationTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TLSEvaluationTests.swift; sourceTree = "<group>"; };
+		F897FF4019AA800700AB5182 /* Alamofire.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Alamofire.swift; sourceTree = "<group>"; };
+		F8AE910119D28DCC0078C7B2 /* ValidationTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ValidationTests.swift; sourceTree = "<group>"; };
+		F8D1C6F419D52968002E74FE /* ManagerTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ManagerTests.swift; sourceTree = "<group>"; };
+		F8E6024419CB46A800A3E7F1 /* AuthenticationTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AuthenticationTests.swift; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+		4CF626EB1BA7CB3E0011A099 /* Frameworks */ = {
+			isa = PBXFrameworksBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		4CF626F51BA7CB3E0011A099 /* Frameworks */ = {
+			isa = PBXFrameworksBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				4CF626F91BA7CB3E0011A099 /* Alamofire.framework in Frameworks */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		4DD67C071A5C55C900ED2280 /* Frameworks */ = {
+			isa = PBXFrameworksBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		E4202FD91B667AA100C997FB /* Frameworks */ = {
+			isa = PBXFrameworksBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		F8111E2F19A95C8B0040E7D1 /* Frameworks */ = {
+			isa = PBXFrameworksBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		F8111E3B19A95C8B0040E7D1 /* Frameworks */ = {
+			isa = PBXFrameworksBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				8035DB621BAB492500466CB3 /* Alamofire.framework in Frameworks */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		F829C6AF1A7A94F100A2CD59 /* Frameworks */ = {
+			isa = PBXFrameworksBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				F829C6B81A7A94F100A2CD59 /* Alamofire.framework in Frameworks */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+		4C256A4E1B09656A0065714F /* Core */ = {
+			isa = PBXGroup;
+			children = (
+				F8E6024419CB46A800A3E7F1 /* AuthenticationTests.swift */,
+				F8D1C6F419D52968002E74FE /* ManagerTests.swift */,
+				F8111E5C19A9674D0040E7D1 /* ParameterEncodingTests.swift */,
+				F8111E5D19A9674D0040E7D1 /* RequestTests.swift */,
+				F8111E5E19A9674D0040E7D1 /* ResponseTests.swift */,
+				4CA028C41B7466C500C84163 /* ResultTests.swift */,
+			);
+			name = Core;
+			sourceTree = "<group>";
+		};
+		4C256A4F1B09656E0065714F /* Features */ = {
+			isa = PBXGroup;
+			children = (
+				4C341BB91B1A865A00C1B34D /* CacheTests.swift */,
+				F8111E5B19A9674D0040E7D1 /* DownloadTests.swift */,
+				4C3238E61B3604DB00FE04AE /* MultipartFormDataTests.swift */,
+				4C3D00571C66A8B900D1F709 /* NetworkReachabilityManagerTests.swift */,
+				4C0B58381B747A4400C0B99C /* ResponseSerializationTests.swift */,
+				4C33A1421B52089C00873DFF /* ServerTrustPolicyTests.swift */,
+				F86AEFE51AE6A282007D9C76 /* TLSEvaluationTests.swift */,
+				F8111E5F19A9674D0040E7D1 /* UploadTests.swift */,
+				4CCFA7991B2BE71600B6F460 /* URLProtocolTests.swift */,
+				F8AE910119D28DCC0078C7B2 /* ValidationTests.swift */,
+			);
+			name = Features;
+			sourceTree = "<group>";
+		};
+		4C3238E91B3617A600FE04AE /* Resources */ = {
+			isa = PBXGroup;
+			children = (
+				4C33A1171B5207DB00873DFF /* Certificates */,
+				4C33A1221B5207DB00873DFF /* Images */,
+			);
+			name = Resources;
+			sourceTree = "<group>";
+		};
+		4C33A1171B5207DB00873DFF /* Certificates */ = {
+			isa = PBXGroup;
+			children = (
+				B39E2F821C1A72E5002DA1A9 /* Varying Encoding Types and Extensions */,
+				4C812C391B535F060017E0BF /* alamofire.org */,
+				4C812C381B535F000017E0BF /* disig.sk */,
+			);
+			name = Certificates;
+			path = Resources/Certificates;
+			sourceTree = "<group>";
+		};
+		4C33A1221B5207DB00873DFF /* Images */ = {
+			isa = PBXGroup;
+			children = (
+				4C33A1231B5207DB00873DFF /* rainbow.jpg */,
+				4C33A1241B5207DB00873DFF /* unicorn.png */,
+			);
+			name = Images;
+			path = Resources/Images;
+			sourceTree = "<group>";
+		};
+		4C33A13D1B52080800873DFF /* Root */ = {
+			isa = PBXGroup;
+			children = (
+				4C812C3A1B535F220017E0BF /* alamofire-root-ca.cer */,
+			);
+			name = Root;
+			sourceTree = "<group>";
+		};
+		4C33A13E1B52081100873DFF /* Intermediate */ = {
+			isa = PBXGroup;
+			children = (
+				4C812C3D1B535F2E0017E0BF /* alamofire-signing-ca1.cer */,
+				4C812C3E1B535F2E0017E0BF /* alamofire-signing-ca2.cer */,
+			);
+			name = Intermediate;
+			sourceTree = "<group>";
+		};
+		4C33A13F1B52081A00873DFF /* Leaf */ = {
+			isa = PBXGroup;
+			children = (
+				4C33A1401B52084400873DFF /* Signed by CA1 */,
+				4C33A1411B52084E00873DFF /* Signed by CA2 */,
+			);
+			name = Leaf;
+			sourceTree = "<group>";
+		};
+		4C33A1401B52084400873DFF /* Signed by CA1 */ = {
+			isa = PBXGroup;
+			children = (
+				4C812C441B535F400017E0BF /* multiple-dns-names.cer */,
+				4C812C451B535F400017E0BF /* signed-by-ca1.cer */,
+				4C812C461B535F400017E0BF /* test.alamofire.org.cer */,
+				4C812C431B535F400017E0BF /* wildcard.alamofire.org.cer */,
+			);
+			name = "Signed by CA1";
+			sourceTree = "<group>";
+		};
+		4C33A1411B52084E00873DFF /* Signed by CA2 */ = {
+			isa = PBXGroup;
+			children = (
+				4C812C4F1B535F540017E0BF /* expired.cer */,
+				4C812C501B535F540017E0BF /* missing-dns-name-and-uri.cer */,
+				4C812C511B535F540017E0BF /* signed-by-ca2.cer */,
+				4C812C521B535F540017E0BF /* valid-dns-name.cer */,
+				4C812C531B535F540017E0BF /* valid-uri.cer */,
+			);
+			name = "Signed by CA2";
+			sourceTree = "<group>";
+		};
+		4C7C8D201B9D0D7300948136 /* Extensions */ = {
+			isa = PBXGroup;
+			children = (
+				4C7C8D211B9D0D9000948136 /* NSURLSessionConfiguration+AlamofireTests.swift */,
+				4C4CBE7A1BAF700C0024D659 /* String+AlamofireTests.swift */,
+			);
+			name = Extensions;
+			sourceTree = "<group>";
+		};
+		4C812C381B535F000017E0BF /* disig.sk */ = {
+			isa = PBXGroup;
+			children = (
+				4C812C5E1B535F6D0017E0BF /* intermediate-ca-disig.cer */,
+				4C812C5F1B535F6D0017E0BF /* root-ca-disig.cer */,
+				4C812C601B535F6D0017E0BF /* testssl-expire.disig.sk.cer */,
+			);
+			name = disig.sk;
+			sourceTree = "<group>";
+		};
+		4C812C391B535F060017E0BF /* alamofire.org */ = {
+			isa = PBXGroup;
+			children = (
+				4C33A13D1B52080800873DFF /* Root */,
+				4C33A13E1B52081100873DFF /* Intermediate */,
+				4C33A13F1B52081A00873DFF /* Leaf */,
+			);
+			name = alamofire.org;
+			sourceTree = "<group>";
+		};
+		4CDE2C481AF8A14A00BABAE5 /* Core */ = {
+			isa = PBXGroup;
+			children = (
+				4C1DC8531B68908E00476DE3 /* Error.swift */,
+				4CDE2C361AF8932A00BABAE5 /* Manager.swift */,
+				4CB928281C66BFBC00CE5F08 /* Notifications.swift */,
+				4CE2724E1AF88FB500F1D59A /* ParameterEncoding.swift */,
+				4CDE2C391AF899EC00BABAE5 /* Request.swift */,
+				4C0B62501BB1001C009302D3 /* Response.swift */,
+				4C0E5BF71B673D3400816CCC /* Result.swift */,
+			);
+			name = Core;
+			sourceTree = "<group>";
+		};
+		4CDE2C491AF8A14E00BABAE5 /* Features */ = {
+			isa = PBXGroup;
+			children = (
+				4CDE2C3C1AF89D4900BABAE5 /* Download.swift */,
+				4C23EB421B327C5B0090E0BC /* MultipartFormData.swift */,
+				4C3D00531C66A63000D1F709 /* NetworkReachabilityManager.swift */,
+				4CDE2C451AF89FF300BABAE5 /* ResponseSerialization.swift */,
+				4C811F8C1B51856D00E0F59A /* ServerTrustPolicy.swift */,
+				4C83F41A1B749E0E00203445 /* Stream.swift */,
+				4C574E691C67D207000B3128 /* Timeline.swift */,
+				4CDE2C3F1AF89E0700BABAE5 /* Upload.swift */,
+				4CDE2C421AF89F0900BABAE5 /* Validation.swift */,
+			);
+			name = Features;
+			sourceTree = "<group>";
+		};
+		B39E2F821C1A72E5002DA1A9 /* Varying Encoding Types and Extensions */ = {
+			isa = PBXGroup;
+			children = (
+				B39E2F831C1A72F8002DA1A9 /* certDER.cer */,
+				B39E2F841C1A72F8002DA1A9 /* certDER.crt */,
+				B39E2F851C1A72F8002DA1A9 /* certDER.der */,
+				B39E2F861C1A72F8002DA1A9 /* certPEM.cer */,
+				B39E2F871C1A72F8002DA1A9 /* certPEM.crt */,
+				B39E2F891C1A72F8002DA1A9 /* randomGibberish.crt */,
+				B39E2F8A1C1A72F8002DA1A9 /* keyDER.der */,
+			);
+			name = "Varying Encoding Types and Extensions";
+			sourceTree = "<group>";
+		};
+		F8111E2919A95C8B0040E7D1 = {
+			isa = PBXGroup;
+			children = (
+				F8111E3519A95C8B0040E7D1 /* Source */,
+				F8111E3F19A95C8B0040E7D1 /* Tests */,
+				F8111E3419A95C8B0040E7D1 /* Products */,
+			);
+			sourceTree = "<group>";
+		};
+		F8111E3419A95C8B0040E7D1 /* Products */ = {
+			isa = PBXGroup;
+			children = (
+				F8111E3319A95C8B0040E7D1 /* Alamofire.framework */,
+				F8111E3E19A95C8B0040E7D1 /* Alamofire iOS Tests.xctest */,
+				4DD67C0B1A5C55C900ED2280 /* Alamofire.framework */,
+				F829C6B21A7A94F100A2CD59 /* Alamofire OSX Tests.xctest */,
+				E4202FE01B667AA100C997FB /* Alamofire.framework */,
+				4CF626EF1BA7CB3E0011A099 /* Alamofire.framework */,
+				4CF626F81BA7CB3E0011A099 /* Alamofire tvOS Tests.xctest */,
+			);
+			name = Products;
+			sourceTree = "<group>";
+		};
+		F8111E3519A95C8B0040E7D1 /* Source */ = {
+			isa = PBXGroup;
+			children = (
+				F897FF4019AA800700AB5182 /* Alamofire.swift */,
+				4CDE2C481AF8A14A00BABAE5 /* Core */,
+				4CDE2C491AF8A14E00BABAE5 /* Features */,
+				F8111E3619A95C8B0040E7D1 /* Supporting Files */,
+			);
+			path = Source;
+			sourceTree = "<group>";
+		};
+		F8111E3619A95C8B0040E7D1 /* Supporting Files */ = {
+			isa = PBXGroup;
+			children = (
+				F8111E3819A95C8B0040E7D1 /* Alamofire.h */,
+				F8111E3719A95C8B0040E7D1 /* Info.plist */,
+				72998D721BF26173006D3F69 /* Info-tvOS.plist */,
+			);
+			name = "Supporting Files";
+			sourceTree = "<group>";
+		};
+		F8111E3F19A95C8B0040E7D1 /* Tests */ = {
+			isa = PBXGroup;
+			children = (
+				4C256A501B096C2C0065714F /* BaseTestCase.swift */,
+				4C256A4E1B09656A0065714F /* Core */,
+				4C7C8D201B9D0D7300948136 /* Extensions */,
+				4C256A4F1B09656E0065714F /* Features */,
+				4C3238E91B3617A600FE04AE /* Resources */,
+				F8111E4019A95C8B0040E7D1 /* Supporting Files */,
+			);
+			path = Tests;
+			sourceTree = "<group>";
+		};
+		F8111E4019A95C8B0040E7D1 /* Supporting Files */ = {
+			isa = PBXGroup;
+			children = (
+				F8111E4119A95C8B0040E7D1 /* Info.plist */,
+				4C0E02681BF99A18004E7F18 /* Info-tvOS.plist */,
+			);
+			name = "Supporting Files";
+			sourceTree = "<group>";
+		};
+/* End PBXGroup section */
+
+/* Begin PBXHeadersBuildPhase section */
+		4CF626EC1BA7CB3E0011A099 /* Headers */ = {
+			isa = PBXHeadersBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				4CF627061BA7CBE30011A099 /* Alamofire.h in Headers */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		4DD67C081A5C55C900ED2280 /* Headers */ = {
+			isa = PBXHeadersBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				4DD67C241A5C58FB00ED2280 /* Alamofire.h in Headers */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		E4202FDA1B667AA100C997FB /* Headers */ = {
+			isa = PBXHeadersBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				4CEC605C1B745C9B00E684F4 /* Alamofire.h in Headers */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		F8111E3019A95C8B0040E7D1 /* Headers */ = {
+			isa = PBXHeadersBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				F8111E3919A95C8B0040E7D1 /* Alamofire.h in Headers */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXHeadersBuildPhase section */
+
+/* Begin PBXNativeTarget section */
+		4CF626EE1BA7CB3E0011A099 /* Alamofire tvOS */ = {
+			isa = PBXNativeTarget;
+			buildConfigurationList = 4CF627041BA7CB3E0011A099 /* Build configuration list for PBXNativeTarget "Alamofire tvOS" */;
+			buildPhases = (
+				4CF626EA1BA7CB3E0011A099 /* Sources */,
+				4CF626EB1BA7CB3E0011A099 /* Frameworks */,
+				4CF626EC1BA7CB3E0011A099 /* Headers */,
+				4CF626ED1BA7CB3E0011A099 /* Resources */,
+			);
+			buildRules = (
+			);
+			dependencies = (
+			);
+			name = "Alamofire tvOS";
+			productName = "Alamofire tvOS";
+			productReference = 4CF626EF1BA7CB3E0011A099 /* Alamofire.framework */;
+			productType = "com.apple.product-type.framework";
+		};
+		4CF626F71BA7CB3E0011A099 /* Alamofire tvOS Tests */ = {
+			isa = PBXNativeTarget;
+			buildConfigurationList = 4CF627051BA7CB3E0011A099 /* Build configuration list for PBXNativeTarget "Alamofire tvOS Tests" */;
+			buildPhases = (
+				4CF626F41BA7CB3E0011A099 /* Sources */,
+				4CF626F51BA7CB3E0011A099 /* Frameworks */,
+				4CF626F61BA7CB3E0011A099 /* Resources */,
+			);
+			buildRules = (
+			);
+			dependencies = (
+				4CF626FB1BA7CB3E0011A099 /* PBXTargetDependency */,
+			);
+			name = "Alamofire tvOS Tests";
+			productName = "Alamofire tvOSTests";
+			productReference = 4CF626F81BA7CB3E0011A099 /* Alamofire tvOS Tests.xctest */;
+			productType = "com.apple.product-type.bundle.unit-test";
+		};
+		4DD67C0A1A5C55C900ED2280 /* Alamofire OSX */ = {
+			isa = PBXNativeTarget;
+			buildConfigurationList = 4DD67C1E1A5C55C900ED2280 /* Build configuration list for PBXNativeTarget "Alamofire OSX" */;
+			buildPhases = (
+				4DD67C061A5C55C900ED2280 /* Sources */,
+				4DD67C071A5C55C900ED2280 /* Frameworks */,
+				4DD67C081A5C55C900ED2280 /* Headers */,
+				4DD67C091A5C55C900ED2280 /* Resources */,
+			);
+			buildRules = (
+			);
+			dependencies = (
+			);
+			name = "Alamofire OSX";
+			productName = AlamofireOSX;
+			productReference = 4DD67C0B1A5C55C900ED2280 /* Alamofire.framework */;
+			productType = "com.apple.product-type.framework";
+		};
+		E4202FCD1B667AA100C997FB /* Alamofire watchOS */ = {
+			isa = PBXNativeTarget;
+			buildConfigurationList = E4202FDD1B667AA100C997FB /* Build configuration list for PBXNativeTarget "Alamofire watchOS" */;
+			buildPhases = (
+				E4202FCE1B667AA100C997FB /* Sources */,
+				E4202FD91B667AA100C997FB /* Frameworks */,
+				E4202FDA1B667AA100C997FB /* Headers */,
+				E4202FDC1B667AA100C997FB /* Resources */,
+			);
+			buildRules = (
+			);
+			dependencies = (
+			);
+			name = "Alamofire watchOS";
+			productName = Alamofire;
+			productReference = E4202FE01B667AA100C997FB /* Alamofire.framework */;
+			productType = "com.apple.product-type.framework";
+		};
+		F8111E3219A95C8B0040E7D1 /* Alamofire iOS */ = {
+			isa = PBXNativeTarget;
+			buildConfigurationList = F8111E4619A95C8B0040E7D1 /* Build configuration list for PBXNativeTarget "Alamofire iOS" */;
+			buildPhases = (
+				F8111E2E19A95C8B0040E7D1 /* Sources */,
+				F8111E2F19A95C8B0040E7D1 /* Frameworks */,
+				F8111E3019A95C8B0040E7D1 /* Headers */,
+				F8111E3119A95C8B0040E7D1 /* Resources */,
+			);
+			buildRules = (
+			);
+			dependencies = (
+			);
+			name = "Alamofire iOS";
+			productName = Alamofire;
+			productReference = F8111E3319A95C8B0040E7D1 /* Alamofire.framework */;
+			productType = "com.apple.product-type.framework";
+		};
+		F8111E3D19A95C8B0040E7D1 /* Alamofire iOS Tests */ = {
+			isa = PBXNativeTarget;
+			buildConfigurationList = F8111E4919A95C8B0040E7D1 /* Build configuration list for PBXNativeTarget "Alamofire iOS Tests" */;
+			buildPhases = (
+				F8111E3A19A95C8B0040E7D1 /* Sources */,
+				F8111E3B19A95C8B0040E7D1 /* Frameworks */,
+				F8111E3C19A95C8B0040E7D1 /* Resources */,
+			);
+			buildRules = (
+			);
+			dependencies = (
+				F8111E6619A967880040E7D1 /* PBXTargetDependency */,
+			);
+			name = "Alamofire iOS Tests";
+			productName = AlamofireTests;
+			productReference = F8111E3E19A95C8B0040E7D1 /* Alamofire iOS Tests.xctest */;
+			productType = "com.apple.product-type.bundle.unit-test";
+		};
+		F829C6B11A7A94F100A2CD59 /* Alamofire OSX Tests */ = {
+			isa = PBXNativeTarget;
+			buildConfigurationList = F829C6BB1A7A94F100A2CD59 /* Build configuration list for PBXNativeTarget "Alamofire OSX Tests" */;
+			buildPhases = (
+				F829C6AE1A7A94F100A2CD59 /* Sources */,
+				F829C6AF1A7A94F100A2CD59 /* Frameworks */,
+				F829C6B01A7A94F100A2CD59 /* Resources */,
+			);
+			buildRules = (
+			);
+			dependencies = (
+				F829C6BA1A7A94F100A2CD59 /* PBXTargetDependency */,
+			);
+			name = "Alamofire OSX Tests";
+			productName = "Alamofire OSX Tests";
+			productReference = F829C6B21A7A94F100A2CD59 /* Alamofire OSX Tests.xctest */;
+			productType = "com.apple.product-type.bundle.unit-test";
+		};
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+		F8111E2A19A95C8B0040E7D1 /* Project object */ = {
+			isa = PBXProject;
+			attributes = {
+				LastSwiftUpdateCheck = 0700;
+				LastUpgradeCheck = 0700;
+				ORGANIZATIONNAME = Alamofire;
+				TargetAttributes = {
+					4CF626EE1BA7CB3E0011A099 = {
+						CreatedOnToolsVersion = 7.1;
+					};
+					4CF626F71BA7CB3E0011A099 = {
+						CreatedOnToolsVersion = 7.1;
+					};
+					4DD67C0A1A5C55C900ED2280 = {
+						CreatedOnToolsVersion = 6.1.1;
+					};
+					F8111E3219A95C8B0040E7D1 = {
+						CreatedOnToolsVersion = 6.0;
+					};
+					F8111E3D19A95C8B0040E7D1 = {
+						CreatedOnToolsVersion = 6.0;
+					};
+					F829C6B11A7A94F100A2CD59 = {
+						CreatedOnToolsVersion = 6.1.1;
+					};
+				};
+			};
+			buildConfigurationList = F8111E2D19A95C8B0040E7D1 /* Build configuration list for PBXProject "Alamofire" */;
+			compatibilityVersion = "Xcode 3.2";
+			developmentRegion = English;
+			hasScannedForEncodings = 0;
+			knownRegions = (
+				en,
+			);
+			mainGroup = F8111E2919A95C8B0040E7D1;
+			productRefGroup = F8111E3419A95C8B0040E7D1 /* Products */;
+			projectDirPath = "";
+			projectRoot = "";
+			targets = (
+				F8111E3219A95C8B0040E7D1 /* Alamofire iOS */,
+				F8111E3D19A95C8B0040E7D1 /* Alamofire iOS Tests */,
+				4DD67C0A1A5C55C900ED2280 /* Alamofire OSX */,
+				F829C6B11A7A94F100A2CD59 /* Alamofire OSX Tests */,
+				4CF626EE1BA7CB3E0011A099 /* Alamofire tvOS */,
+				4CF626F71BA7CB3E0011A099 /* Alamofire tvOS Tests */,
+				E4202FCD1B667AA100C997FB /* Alamofire watchOS */,
+			);
+		};
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+		4CF626ED1BA7CB3E0011A099 /* Resources */ = {
+			isa = PBXResourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		4CF626F61BA7CB3E0011A099 /* Resources */ = {
+			isa = PBXResourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				4C743D031C22772D00BCB23E /* wildcard.alamofire.org.cer in Resources */,
+				4C743CFF1C22772D00BCB23E /* alamofire-signing-ca2.cer in Resources */,
+				4C743D061C22772D00BCB23E /* signed-by-ca2.cer in Resources */,
+				4CF627341BA7CC300011A099 /* rainbow.jpg in Resources */,
+				4C743D081C22772D00BCB23E /* valid-uri.cer in Resources */,
+				4C743CFC1C22772D00BCB23E /* keyDER.der in Resources */,
+				4C743CF81C22772D00BCB23E /* certDER.der in Resources */,
+				4C743D051C22772D00BCB23E /* missing-dns-name-and-uri.cer in Resources */,
+				4C743CFB1C22772D00BCB23E /* randomGibberish.crt in Resources */,
+				4C743D0B1C22772D00BCB23E /* testssl-expire.disig.sk.cer in Resources */,
+				4C743CFE1C22772D00BCB23E /* alamofire-signing-ca1.cer in Resources */,
+				4C743D001C22772D00BCB23E /* multiple-dns-names.cer in Resources */,
+				4C743D011C22772D00BCB23E /* signed-by-ca1.cer in Resources */,
+				4C743D021C22772D00BCB23E /* test.alamofire.org.cer in Resources */,
+				4C743CF61C22772D00BCB23E /* certDER.cer in Resources */,
+				4C743D0A1C22772D00BCB23E /* root-ca-disig.cer in Resources */,
+				4C743CFD1C22772D00BCB23E /* alamofire-root-ca.cer in Resources */,
+				4C743CF91C22772D00BCB23E /* certPEM.cer in Resources */,
+				4CF627351BA7CC300011A099 /* unicorn.png in Resources */,
+				4C743CFA1C22772D00BCB23E /* certPEM.crt in Resources */,
+				4C743D091C22772D00BCB23E /* intermediate-ca-disig.cer in Resources */,
+				4C743CF71C22772D00BCB23E /* certDER.crt in Resources */,
+				4C743D071C22772D00BCB23E /* valid-dns-name.cer in Resources */,
+				4C743D041C22772D00BCB23E /* expired.cer in Resources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		4DD67C091A5C55C900ED2280 /* Resources */ = {
+			isa = PBXResourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		E4202FDC1B667AA100C997FB /* Resources */ = {
+			isa = PBXResourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		F8111E3119A95C8B0040E7D1 /* Resources */ = {
+			isa = PBXResourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		F8111E3C19A95C8B0040E7D1 /* Resources */ = {
+			isa = PBXResourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				4C743D2F1C22772F00BCB23E /* wildcard.alamofire.org.cer in Resources */,
+				4C743D2B1C22772F00BCB23E /* alamofire-signing-ca2.cer in Resources */,
+				4C743D321C22772F00BCB23E /* signed-by-ca2.cer in Resources */,
+				4C33A13B1B5207DB00873DFF /* unicorn.png in Resources */,
+				4C743D341C22772F00BCB23E /* valid-uri.cer in Resources */,
+				4C743D281C22772F00BCB23E /* keyDER.der in Resources */,
+				4C743D241C22772F00BCB23E /* certDER.der in Resources */,
+				4C743D311C22772F00BCB23E /* missing-dns-name-and-uri.cer in Resources */,
+				4C743D271C22772F00BCB23E /* randomGibberish.crt in Resources */,
+				4C743D371C22772F00BCB23E /* testssl-expire.disig.sk.cer in Resources */,
+				4C743D2A1C22772F00BCB23E /* alamofire-signing-ca1.cer in Resources */,
+				4C743D2C1C22772F00BCB23E /* multiple-dns-names.cer in Resources */,
+				4C743D2D1C22772F00BCB23E /* signed-by-ca1.cer in Resources */,
+				4C743D2E1C22772F00BCB23E /* test.alamofire.org.cer in Resources */,
+				4C743D221C22772F00BCB23E /* certDER.cer in Resources */,
+				4C743D361C22772F00BCB23E /* root-ca-disig.cer in Resources */,
+				4C743D291C22772F00BCB23E /* alamofire-root-ca.cer in Resources */,
+				4C743D251C22772F00BCB23E /* certPEM.cer in Resources */,
+				4C33A1391B5207DB00873DFF /* rainbow.jpg in Resources */,
+				4C743D261C22772F00BCB23E /* certPEM.crt in Resources */,
+				4C743D351C22772F00BCB23E /* intermediate-ca-disig.cer in Resources */,
+				4C743D231C22772F00BCB23E /* certDER.crt in Resources */,
+				4C743D331C22772F00BCB23E /* valid-dns-name.cer in Resources */,
+				4C743D301C22772F00BCB23E /* expired.cer in Resources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		F829C6B01A7A94F100A2CD59 /* Resources */ = {
+			isa = PBXResourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				4C743D191C22772E00BCB23E /* wildcard.alamofire.org.cer in Resources */,
+				4C743D151C22772E00BCB23E /* alamofire-signing-ca2.cer in Resources */,
+				4C743D1C1C22772E00BCB23E /* signed-by-ca2.cer in Resources */,
+				4C33A13C1B5207DB00873DFF /* unicorn.png in Resources */,
+				4C743D1E1C22772E00BCB23E /* valid-uri.cer in Resources */,
+				4C743D121C22772E00BCB23E /* keyDER.der in Resources */,
+				4C743D0E1C22772E00BCB23E /* certDER.der in Resources */,
+				4C743D1B1C22772E00BCB23E /* missing-dns-name-and-uri.cer in Resources */,
+				4C743D111C22772E00BCB23E /* randomGibberish.crt in Resources */,
+				4C743D211C22772E00BCB23E /* testssl-expire.disig.sk.cer in Resources */,
+				4C743D141C22772E00BCB23E /* alamofire-signing-ca1.cer in Resources */,
+				4C743D161C22772E00BCB23E /* multiple-dns-names.cer in Resources */,
+				4C743D171C22772E00BCB23E /* signed-by-ca1.cer in Resources */,
+				4C743D181C22772E00BCB23E /* test.alamofire.org.cer in Resources */,
+				4C743D0C1C22772E00BCB23E /* certDER.cer in Resources */,
+				4C743D201C22772E00BCB23E /* root-ca-disig.cer in Resources */,
+				4C743D131C22772E00BCB23E /* alamofire-root-ca.cer in Resources */,
+				4C743D0F1C22772E00BCB23E /* certPEM.cer in Resources */,
+				4C33A13A1B5207DB00873DFF /* rainbow.jpg in Resources */,
+				4C743D101C22772E00BCB23E /* certPEM.crt in Resources */,
+				4C743D1F1C22772E00BCB23E /* intermediate-ca-disig.cer in Resources */,
+				4C743D0D1C22772E00BCB23E /* certDER.crt in Resources */,
+				4C743D1D1C22772E00BCB23E /* valid-dns-name.cer in Resources */,
+				4C743D1A1C22772E00BCB23E /* expired.cer in Resources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+		4CF626EA1BA7CB3E0011A099 /* Sources */ = {
+			isa = PBXSourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				4C574E6C1C67D207000B3128 /* Timeline.swift in Sources */,
+				4CF627121BA7CBF60011A099 /* Upload.swift in Sources */,
+				4CF627111BA7CBF60011A099 /* Stream.swift in Sources */,
+				4CF6270C1BA7CBF60011A099 /* Result.swift in Sources */,
+				4CF627081BA7CBF60011A099 /* Error.swift in Sources */,
+				4CF627131BA7CBF60011A099 /* Validation.swift in Sources */,
+				4CF6270E1BA7CBF60011A099 /* MultipartFormData.swift in Sources */,
+				4C80F9F81BB730EF001B46D2 /* Response.swift in Sources */,
+				4CB9282B1C66BFBC00CE5F08 /* Notifications.swift in Sources */,
+				4CF627091BA7CBF60011A099 /* Manager.swift in Sources */,
+				4CF6270F1BA7CBF60011A099 /* ResponseSerialization.swift in Sources */,
+				4CF6270B1BA7CBF60011A099 /* Request.swift in Sources */,
+				4C3D00561C66A63000D1F709 /* NetworkReachabilityManager.swift in Sources */,
+				4CF6270A1BA7CBF60011A099 /* ParameterEncoding.swift in Sources */,
+				4CF627101BA7CBF60011A099 /* ServerTrustPolicy.swift in Sources */,
+				4CF6270D1BA7CBF60011A099 /* Download.swift in Sources */,
+				4CF627071BA7CBF60011A099 /* Alamofire.swift in Sources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		4CF626F41BA7CB3E0011A099 /* Sources */ = {
+			isa = PBXSourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				4CF627181BA7CC240011A099 /* RequestTests.swift in Sources */,
+				4CF627211BA7CC240011A099 /* TLSEvaluationTests.swift in Sources */,
+				4CF627221BA7CC240011A099 /* UploadTests.swift in Sources */,
+				4C80F9F91BB730F6001B46D2 /* String+AlamofireTests.swift in Sources */,
+				4CF6271E1BA7CC240011A099 /* MultipartFormDataTests.swift in Sources */,
+				4CF627201BA7CC240011A099 /* ServerTrustPolicyTests.swift in Sources */,
+				4CF627241BA7CC240011A099 /* ValidationTests.swift in Sources */,
+				4CF627141BA7CC240011A099 /* BaseTestCase.swift in Sources */,
+				4CF627151BA7CC240011A099 /* AuthenticationTests.swift in Sources */,
+				4CF627171BA7CC240011A099 /* ParameterEncodingTests.swift in Sources */,
+				4CF627191BA7CC240011A099 /* ResponseTests.swift in Sources */,
+				4CF627231BA7CC240011A099 /* URLProtocolTests.swift in Sources */,
+				4CF6271C1BA7CC240011A099 /* CacheTests.swift in Sources */,
+				4CF627161BA7CC240011A099 /* ManagerTests.swift in Sources */,
+				4CF6271A1BA7CC240011A099 /* ResultTests.swift in Sources */,
+				4CF6271B1BA7CC240011A099 /* NSURLSessionConfiguration+AlamofireTests.swift in Sources */,
+				4C3D005A1C66A8B900D1F709 /* NetworkReachabilityManagerTests.swift in Sources */,
+				4CF6271F1BA7CC240011A099 /* ResponseSerializationTests.swift in Sources */,
+				4CF6271D1BA7CC240011A099 /* DownloadTests.swift in Sources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		4DD67C061A5C55C900ED2280 /* Sources */ = {
+			isa = PBXSourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				4C574E6B1C67D207000B3128 /* Timeline.swift in Sources */,
+				4CDE2C411AF89E0700BABAE5 /* Upload.swift in Sources */,
+				4CE272501AF88FB500F1D59A /* ParameterEncoding.swift in Sources */,
+				4CDE2C3B1AF899EC00BABAE5 /* Request.swift in Sources */,
+				4CDE2C471AF89FF300BABAE5 /* ResponseSerialization.swift in Sources */,
+				4C1DC8551B68908E00476DE3 /* Error.swift in Sources */,
+				4CDE2C381AF8932A00BABAE5 /* Manager.swift in Sources */,
+				4C0B62521BB1001C009302D3 /* Response.swift in Sources */,
+				4CB9282A1C66BFBC00CE5F08 /* Notifications.swift in Sources */,
+				4DD67C251A5C590000ED2280 /* Alamofire.swift in Sources */,
+				4C23EB441B327C5B0090E0BC /* MultipartFormData.swift in Sources */,
+				4C811F8E1B51856D00E0F59A /* ServerTrustPolicy.swift in Sources */,
+				4C3D00551C66A63000D1F709 /* NetworkReachabilityManager.swift in Sources */,
+				4C83F41C1B749E0E00203445 /* Stream.swift in Sources */,
+				4CDE2C3E1AF89D4900BABAE5 /* Download.swift in Sources */,
+				4CDE2C441AF89F0900BABAE5 /* Validation.swift in Sources */,
+				4C0E5BF91B673D3400816CCC /* Result.swift in Sources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		E4202FCE1B667AA100C997FB /* Sources */ = {
+			isa = PBXSourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				4C574E6D1C67D207000B3128 /* Timeline.swift in Sources */,
+				4CEE82AD1C6813CF00E9C9F0 /* NetworkReachabilityManager.swift in Sources */,
+				E4202FCF1B667AA100C997FB /* Upload.swift in Sources */,
+				E4202FD01B667AA100C997FB /* ParameterEncoding.swift in Sources */,
+				E4202FD11B667AA100C997FB /* Request.swift in Sources */,
+				4CEC605A1B745C9100E684F4 /* Error.swift in Sources */,
+				E4202FD21B667AA100C997FB /* ResponseSerialization.swift in Sources */,
+				E4202FD31B667AA100C997FB /* Manager.swift in Sources */,
+				4C0B62531BB1001C009302D3 /* Response.swift in Sources */,
+				4CB9282C1C66BFBC00CE5F08 /* Notifications.swift in Sources */,
+				4CEC605B1B745C9100E684F4 /* Result.swift in Sources */,
+				E4202FD41B667AA100C997FB /* Alamofire.swift in Sources */,
+				E4202FD51B667AA100C997FB /* MultipartFormData.swift in Sources */,
+				4C83F41D1B749E0E00203445 /* Stream.swift in Sources */,
+				E4202FD61B667AA100C997FB /* ServerTrustPolicy.swift in Sources */,
+				E4202FD71B667AA100C997FB /* Download.swift in Sources */,
+				E4202FD81B667AA100C997FB /* Validation.swift in Sources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		F8111E2E19A95C8B0040E7D1 /* Sources */ = {
+			isa = PBXSourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				4C574E6A1C67D207000B3128 /* Timeline.swift in Sources */,
+				4CDE2C401AF89E0700BABAE5 /* Upload.swift in Sources */,
+				4CE2724F1AF88FB500F1D59A /* ParameterEncoding.swift in Sources */,
+				4CDE2C3A1AF899EC00BABAE5 /* Request.swift in Sources */,
+				4CDE2C461AF89FF300BABAE5 /* ResponseSerialization.swift in Sources */,
+				4C1DC8541B68908E00476DE3 /* Error.swift in Sources */,
+				4CDE2C371AF8932A00BABAE5 /* Manager.swift in Sources */,
+				4C0B62511BB1001C009302D3 /* Response.swift in Sources */,
+				F897FF4119AA800700AB5182 /* Alamofire.swift in Sources */,
+				4C23EB431B327C5B0090E0BC /* MultipartFormData.swift in Sources */,
+				4C811F8D1B51856D00E0F59A /* ServerTrustPolicy.swift in Sources */,
+				4C3D00541C66A63000D1F709 /* NetworkReachabilityManager.swift in Sources */,
+				4C83F41B1B749E0E00203445 /* Stream.swift in Sources */,
+				4CDE2C3D1AF89D4900BABAE5 /* Download.swift in Sources */,
+				4CDE2C431AF89F0900BABAE5 /* Validation.swift in Sources */,
+				4CB928291C66BFBC00CE5F08 /* Notifications.swift in Sources */,
+				4C0E5BF81B673D3400816CCC /* Result.swift in Sources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		F8111E3A19A95C8B0040E7D1 /* Sources */ = {
+			isa = PBXSourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				4C3238E71B3604DB00FE04AE /* MultipartFormDataTests.swift in Sources */,
+				4C33A1431B52089C00873DFF /* ServerTrustPolicyTests.swift in Sources */,
+				4C341BBA1B1A865A00C1B34D /* CacheTests.swift in Sources */,
+				4C4CBE7B1BAF700C0024D659 /* String+AlamofireTests.swift in Sources */,
+				4CA028C51B7466C500C84163 /* ResultTests.swift in Sources */,
+				4CCFA79A1B2BE71600B6F460 /* URLProtocolTests.swift in Sources */,
+				F86AEFE71AE6A312007D9C76 /* TLSEvaluationTests.swift in Sources */,
+				4C0B58391B747A4400C0B99C /* ResponseSerializationTests.swift in Sources */,
+				F8858DDD19A96B4300F55F93 /* RequestTests.swift in Sources */,
+				4C256A531B096C770065714F /* BaseTestCase.swift in Sources */,
+				F8E6024519CB46A800A3E7F1 /* AuthenticationTests.swift in Sources */,
+				F8858DDE19A96B4400F55F93 /* ResponseTests.swift in Sources */,
+				F8D1C6F519D52968002E74FE /* ManagerTests.swift in Sources */,
+				F8AE910219D28DCC0078C7B2 /* ValidationTests.swift in Sources */,
+				F8111E6119A9674D0040E7D1 /* ParameterEncodingTests.swift in Sources */,
+				F8111E6419A9674D0040E7D1 /* UploadTests.swift in Sources */,
+				4C3D00581C66A8B900D1F709 /* NetworkReachabilityManagerTests.swift in Sources */,
+				F8111E6019A9674D0040E7D1 /* DownloadTests.swift in Sources */,
+				4C7C8D221B9D0D9000948136 /* NSURLSessionConfiguration+AlamofireTests.swift in Sources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		F829C6AE1A7A94F100A2CD59 /* Sources */ = {
+			isa = PBXSourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				4C3238E81B3604DB00FE04AE /* MultipartFormDataTests.swift in Sources */,
+				4C33A1441B52089C00873DFF /* ServerTrustPolicyTests.swift in Sources */,
+				4C341BBB1B1A865A00C1B34D /* CacheTests.swift in Sources */,
+				4C4CBE7C1BAF700C0024D659 /* String+AlamofireTests.swift in Sources */,
+				4CA028C61B7466C500C84163 /* ResultTests.swift in Sources */,
+				4CCFA79B1B2BE71600B6F460 /* URLProtocolTests.swift in Sources */,
+				F829C6BE1A7A950600A2CD59 /* ParameterEncodingTests.swift in Sources */,
+				4C0B583A1B747A4400C0B99C /* ResponseSerializationTests.swift in Sources */,
+				F829C6BF1A7A950600A2CD59 /* RequestTests.swift in Sources */,
+				4C256A541B096C770065714F /* BaseTestCase.swift in Sources */,
+				F829C6C01A7A950600A2CD59 /* ManagerTests.swift in Sources */,
+				F829C6C11A7A950600A2CD59 /* ResponseTests.swift in Sources */,
+				F829C6C21A7A950600A2CD59 /* UploadTests.swift in Sources */,
+				F829C6C31A7A950600A2CD59 /* DownloadTests.swift in Sources */,
+				F829C6C41A7A950600A2CD59 /* AuthenticationTests.swift in Sources */,
+				F829C6C51A7A950600A2CD59 /* ValidationTests.swift in Sources */,
+				4C3D00591C66A8B900D1F709 /* NetworkReachabilityManagerTests.swift in Sources */,
+				F86AEFE81AE6A315007D9C76 /* TLSEvaluationTests.swift in Sources */,
+				4C7C8D231B9D0D9000948136 /* NSURLSessionConfiguration+AlamofireTests.swift in Sources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXTargetDependency section */
+		4CF626FB1BA7CB3E0011A099 /* PBXTargetDependency */ = {
+			isa = PBXTargetDependency;
+			target = 4CF626EE1BA7CB3E0011A099 /* Alamofire tvOS */;
+			targetProxy = 4CF626FA1BA7CB3E0011A099 /* PBXContainerItemProxy */;
+		};
+		F8111E6619A967880040E7D1 /* PBXTargetDependency */ = {
+			isa = PBXTargetDependency;
+			target = F8111E3219A95C8B0040E7D1 /* Alamofire iOS */;
+			targetProxy = F8111E6519A967880040E7D1 /* PBXContainerItemProxy */;
+		};
+		F829C6BA1A7A94F100A2CD59 /* PBXTargetDependency */ = {
+			isa = PBXTargetDependency;
+			target = 4DD67C0A1A5C55C900ED2280 /* Alamofire OSX */;
+			targetProxy = F829C6B91A7A94F100A2CD59 /* PBXContainerItemProxy */;
+		};
+/* End PBXTargetDependency section */
+
+/* Begin XCBuildConfiguration section */
+		4C0FFAF81C212C71009085A1 /* ReleaseTest */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ALWAYS_SEARCH_USER_PATHS = NO;
+				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+				CLANG_CXX_LIBRARY = "libc++";
+				CLANG_ENABLE_MODULES = YES;
+				CLANG_ENABLE_OBJC_ARC = YES;
+				CLANG_WARN_BOOL_CONVERSION = YES;
+				CLANG_WARN_CONSTANT_CONVERSION = YES;
+				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+				CLANG_WARN_EMPTY_BODY = YES;
+				CLANG_WARN_ENUM_CONVERSION = YES;
+				CLANG_WARN_INT_CONVERSION = YES;
+				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+				CLANG_WARN_UNREACHABLE_CODE = YES;
+				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+				CODE_SIGN_IDENTITY = "iPhone Developer";
+				COPY_PHASE_STRIP = YES;
+				CURRENT_PROJECT_VERSION = 1;
+				ENABLE_NS_ASSERTIONS = NO;
+				ENABLE_STRICT_OBJC_MSGSEND = YES;
+				GCC_C_LANGUAGE_STANDARD = gnu99;
+				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+				GCC_WARN_UNDECLARED_SELECTOR = YES;
+				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+				GCC_WARN_UNUSED_FUNCTION = YES;
+				GCC_WARN_UNUSED_VARIABLE = YES;
+				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
+				MACOSX_DEPLOYMENT_TARGET = 10.9;
+				MTL_ENABLE_DEBUG_INFO = NO;
+				SDKROOT = iphoneos;
+				TARGETED_DEVICE_FAMILY = "1,2";
+				TVOS_DEPLOYMENT_TARGET = 9.0;
+				VALIDATE_PRODUCT = YES;
+				VERSIONING_SYSTEM = "apple-generic";
+				VERSION_INFO_PREFIX = "";
+				WATCHOS_DEPLOYMENT_TARGET = 2.0;
+			};
+			name = ReleaseTest;
+		};
+		4C0FFAF91C212C71009085A1 /* ReleaseTest */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				APPLICATION_EXTENSION_API_ONLY = YES;
+				BITCODE_GENERATION_MODE = bitcode;
+				CLANG_ENABLE_MODULES = YES;
+				CODE_SIGN_IDENTITY = "iPhone Developer";
+				"CODE_SIGN_IDENTITY[sdk=iphonesimulator*]" = "";
+				DEFINES_MODULE = YES;
+				DYLIB_COMPATIBILITY_VERSION = 1;
+				DYLIB_CURRENT_VERSION = 1;
+				DYLIB_INSTALL_NAME_BASE = "@rpath";
+				ENABLE_TESTABILITY = YES;
+				INFOPLIST_FILE = Source/Info.plist;
+				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
+				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+				PRODUCT_BUNDLE_IDENTIFIER = "com.alamofire.$(PRODUCT_NAME:rfc1034identifier)";
+				PRODUCT_NAME = Alamofire;
+				SKIP_INSTALL = YES;
+				SUPPORTED_PLATFORMS = "iphonesimulator iphoneos";
+			};
+			name = ReleaseTest;
+		};
+		4C0FFAFA1C212C71009085A1 /* ReleaseTest */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				CODE_SIGN_IDENTITY = "iPhone Developer";
+				"CODE_SIGN_IDENTITY[sdk=iphonesimulator*]" = "";
+				ENABLE_TESTABILITY = YES;
+				FRAMEWORK_SEARCH_PATHS = "$(inherited)";
+				INFOPLIST_FILE = Tests/Info.plist;
+				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+				PRODUCT_BUNDLE_IDENTIFIER = "com.alamofire.$(PRODUCT_NAME:rfc1034identifier)";
+				PRODUCT_NAME = "$(TARGET_NAME)";
+			};
+			name = ReleaseTest;
+		};
+		4C0FFAFB1C212C71009085A1 /* ReleaseTest */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				APPLICATION_EXTENSION_API_ONLY = YES;
+				BITCODE_GENERATION_MODE = bitcode;
+				CODE_SIGN_IDENTITY = "";
+				COMBINE_HIDPI_IMAGES = YES;
+				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+				DEFINES_MODULE = YES;
+				DYLIB_COMPATIBILITY_VERSION = 1;
+				DYLIB_CURRENT_VERSION = 1;
+				DYLIB_INSTALL_NAME_BASE = "@rpath";
+				ENABLE_TESTABILITY = YES;
+				FRAMEWORK_VERSION = A;
+				INFOPLIST_FILE = Source/Info.plist;
+				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
+				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
+				MACOSX_DEPLOYMENT_TARGET = 10.9;
+				PRODUCT_BUNDLE_IDENTIFIER = "com.alamofire.$(PRODUCT_NAME:rfc1034identifier)";
+				PRODUCT_NAME = Alamofire;
+				SDKROOT = macosx;
+				SKIP_INSTALL = YES;
+			};
+			name = ReleaseTest;
+		};
+		4C0FFAFC1C212C71009085A1 /* ReleaseTest */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				CODE_SIGN_IDENTITY = "";
+				COMBINE_HIDPI_IMAGES = YES;
+				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+				ENABLE_TESTABILITY = YES;
+				FRAMEWORK_SEARCH_PATHS = (
+					"$(DEVELOPER_FRAMEWORKS_DIR)",
+					"$(inherited)",
+				);
+				INFOPLIST_FILE = Tests/Info.plist;
+				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
+				MACOSX_DEPLOYMENT_TARGET = 10.9;
+				PRODUCT_BUNDLE_IDENTIFIER = "com.alamofire.$(PRODUCT_NAME:rfc1034identifier)";
+				PRODUCT_NAME = "$(TARGET_NAME)";
+				SDKROOT = macosx;
+			};
+			name = ReleaseTest;
+		};
+		4C0FFAFD1C212C71009085A1 /* ReleaseTest */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				APPLICATION_EXTENSION_API_ONLY = YES;
+				BITCODE_GENERATION_MODE = bitcode;
+				CODE_SIGN_IDENTITY = "iPhone Developer";
+				"CODE_SIGN_IDENTITY[sdk=appletvsimulator*]" = "";
+				COPY_PHASE_STRIP = NO;
+				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+				DEFINES_MODULE = YES;
+				DYLIB_COMPATIBILITY_VERSION = 1;
+				DYLIB_CURRENT_VERSION = 1;
+				DYLIB_INSTALL_NAME_BASE = "@rpath";
+				ENABLE_TESTABILITY = YES;
+				GCC_NO_COMMON_BLOCKS = YES;
+				INFOPLIST_FILE = "Source/Info-tvOS.plist";
+				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+				PRODUCT_BUNDLE_IDENTIFIER = com.alamofire.Alamofire;
+				PRODUCT_NAME = Alamofire;
+				SDKROOT = appletvos;
+				SKIP_INSTALL = YES;
+				TARGETED_DEVICE_FAMILY = 3;
+				TVOS_DEPLOYMENT_TARGET = 9.0;
+			};
+			name = ReleaseTest;
+		};
+		4C0FFAFE1C212C71009085A1 /* ReleaseTest */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				CODE_SIGN_IDENTITY = "iPhone Developer";
+				"CODE_SIGN_IDENTITY[sdk=appletvsimulator*]" = "";
+				COPY_PHASE_STRIP = NO;
+				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+				ENABLE_TESTABILITY = YES;
+				GCC_NO_COMMON_BLOCKS = YES;
+				INFOPLIST_FILE = Tests/Info.plist;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+				PRODUCT_BUNDLE_IDENTIFIER = "com.alamofire.Alamofire-tvOSTests";
+				PRODUCT_NAME = "$(TARGET_NAME)";
+				SDKROOT = appletvos;
+				TVOS_DEPLOYMENT_TARGET = 9.0;
+			};
+			name = ReleaseTest;
+		};
+		4C0FFAFF1C212C71009085A1 /* ReleaseTest */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				APPLICATION_EXTENSION_API_ONLY = YES;
+				BITCODE_GENERATION_MODE = bitcode;
+				CLANG_ENABLE_MODULES = YES;
+				CODE_SIGN_IDENTITY = "iPhone Developer";
+				"CODE_SIGN_IDENTITY[sdk=watchsimulator*]" = "";
+				COPY_PHASE_STRIP = NO;
+				DEFINES_MODULE = YES;
+				DYLIB_COMPATIBILITY_VERSION = 1;
+				DYLIB_CURRENT_VERSION = 1;
+				DYLIB_INSTALL_NAME_BASE = "@rpath";
+				ENABLE_TESTABILITY = YES;
+				GCC_NO_COMMON_BLOCKS = YES;
+				INFOPLIST_FILE = Source/Info.plist;
+				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+				MODULE_NAME = "";
+				PRODUCT_BUNDLE_IDENTIFIER = com.alamofire.Alamofire;
+				PRODUCT_NAME = Alamofire;
+				SDKROOT = watchos;
+				SKIP_INSTALL = YES;
+				TARGETED_DEVICE_FAMILY = 4;
+			};
+			name = ReleaseTest;
+		};
+		4CF627001BA7CB3E0011A099 /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				APPLICATION_EXTENSION_API_ONLY = YES;
+				BITCODE_GENERATION_MODE = marker;
+				CODE_SIGN_IDENTITY = "iPhone Developer";
+				"CODE_SIGN_IDENTITY[sdk=appletvsimulator*]" = "";
+				DEBUG_INFORMATION_FORMAT = dwarf;
+				DEFINES_MODULE = YES;
+				DYLIB_COMPATIBILITY_VERSION = 1;
+				DYLIB_CURRENT_VERSION = 1;
+				DYLIB_INSTALL_NAME_BASE = "@rpath";
+				ENABLE_TESTABILITY = YES;
+				GCC_NO_COMMON_BLOCKS = YES;
+				INFOPLIST_FILE = "Source/Info-tvOS.plist";
+				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+				PRODUCT_BUNDLE_IDENTIFIER = com.alamofire.Alamofire;
+				PRODUCT_NAME = Alamofire;
+				SDKROOT = appletvos;
+				SKIP_INSTALL = YES;
+				TARGETED_DEVICE_FAMILY = 3;
+				TVOS_DEPLOYMENT_TARGET = 9.0;
+			};
+			name = Debug;
+		};
+		4CF627011BA7CB3E0011A099 /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				APPLICATION_EXTENSION_API_ONLY = YES;
+				BITCODE_GENERATION_MODE = bitcode;
+				CODE_SIGN_IDENTITY = "iPhone Developer";
+				"CODE_SIGN_IDENTITY[sdk=appletvsimulator*]" = "";
+				COPY_PHASE_STRIP = NO;
+				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+				DEFINES_MODULE = YES;
+				DYLIB_COMPATIBILITY_VERSION = 1;
+				DYLIB_CURRENT_VERSION = 1;
+				DYLIB_INSTALL_NAME_BASE = "@rpath";
+				ENABLE_TESTABILITY = NO;
+				GCC_NO_COMMON_BLOCKS = YES;
+				INFOPLIST_FILE = "Source/Info-tvOS.plist";
+				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+				PRODUCT_BUNDLE_IDENTIFIER = com.alamofire.Alamofire;
+				PRODUCT_NAME = Alamofire;
+				SDKROOT = appletvos;
+				SKIP_INSTALL = YES;
+				TARGETED_DEVICE_FAMILY = 3;
+				TVOS_DEPLOYMENT_TARGET = 9.0;
+			};
+			name = Release;
+		};
+		4CF627021BA7CB3E0011A099 /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				CODE_SIGN_IDENTITY = "iPhone Developer";
+				"CODE_SIGN_IDENTITY[sdk=appletvsimulator*]" = "";
+				DEBUG_INFORMATION_FORMAT = dwarf;
+				GCC_NO_COMMON_BLOCKS = YES;
+				INFOPLIST_FILE = Tests/Info.plist;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+				PRODUCT_BUNDLE_IDENTIFIER = "com.alamofire.Alamofire-tvOSTests";
+				PRODUCT_NAME = "$(TARGET_NAME)";
+				SDKROOT = appletvos;
+				TVOS_DEPLOYMENT_TARGET = 9.0;
+			};
+			name = Debug;
+		};
+		4CF627031BA7CB3E0011A099 /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				CODE_SIGN_IDENTITY = "iPhone Developer";
+				"CODE_SIGN_IDENTITY[sdk=appletvsimulator*]" = "";
+				COPY_PHASE_STRIP = NO;
+				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+				GCC_NO_COMMON_BLOCKS = YES;
+				INFOPLIST_FILE = Tests/Info.plist;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+				PRODUCT_BUNDLE_IDENTIFIER = "com.alamofire.Alamofire-tvOSTests";
+				PRODUCT_NAME = "$(TARGET_NAME)";
+				SDKROOT = appletvos;
+				TVOS_DEPLOYMENT_TARGET = 9.0;
+			};
+			name = Release;
+		};
+		4DD67C1F1A5C55C900ED2280 /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				APPLICATION_EXTENSION_API_ONLY = YES;
+				BITCODE_GENERATION_MODE = marker;
+				CODE_SIGN_IDENTITY = "";
+				COMBINE_HIDPI_IMAGES = YES;
+				DEFINES_MODULE = YES;
+				DYLIB_COMPATIBILITY_VERSION = 1;
+				DYLIB_CURRENT_VERSION = 1;
+				DYLIB_INSTALL_NAME_BASE = "@rpath";
+				FRAMEWORK_VERSION = A;
+				GCC_PREPROCESSOR_DEFINITIONS = (
+					"DEBUG=1",
+					"$(inherited)",
+				);
+				INFOPLIST_FILE = Source/Info.plist;
+				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
+				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
+				MACOSX_DEPLOYMENT_TARGET = 10.9;
+				PRODUCT_BUNDLE_IDENTIFIER = "com.alamofire.$(PRODUCT_NAME:rfc1034identifier)";
+				PRODUCT_NAME = Alamofire;
+				SDKROOT = macosx;
+				SKIP_INSTALL = YES;
+			};
+			name = Debug;
+		};
+		4DD67C201A5C55C900ED2280 /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				APPLICATION_EXTENSION_API_ONLY = YES;
+				BITCODE_GENERATION_MODE = bitcode;
+				CODE_SIGN_IDENTITY = "";
+				COMBINE_HIDPI_IMAGES = YES;
+				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+				DEFINES_MODULE = YES;
+				DYLIB_COMPATIBILITY_VERSION = 1;
+				DYLIB_CURRENT_VERSION = 1;
+				DYLIB_INSTALL_NAME_BASE = "@rpath";
+				ENABLE_TESTABILITY = NO;
+				FRAMEWORK_VERSION = A;
+				INFOPLIST_FILE = Source/Info.plist;
+				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
+				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
+				MACOSX_DEPLOYMENT_TARGET = 10.9;
+				PRODUCT_BUNDLE_IDENTIFIER = "com.alamofire.$(PRODUCT_NAME:rfc1034identifier)";
+				PRODUCT_NAME = Alamofire;
+				SDKROOT = macosx;
+				SKIP_INSTALL = YES;
+			};
+			name = Release;
+		};
+		E4202FDE1B667AA100C997FB /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				APPLICATION_EXTENSION_API_ONLY = YES;
+				BITCODE_GENERATION_MODE = marker;
+				CLANG_ENABLE_MODULES = YES;
+				CODE_SIGN_IDENTITY = "iPhone Developer";
+				"CODE_SIGN_IDENTITY[sdk=watchsimulator*]" = "";
+				COPY_PHASE_STRIP = NO;
+				DEBUG_INFORMATION_FORMAT = dwarf;
+				DEFINES_MODULE = YES;
+				DYLIB_COMPATIBILITY_VERSION = 1;
+				DYLIB_CURRENT_VERSION = 1;
+				DYLIB_INSTALL_NAME_BASE = "@rpath";
+				GCC_NO_COMMON_BLOCKS = YES;
+				INFOPLIST_FILE = Source/Info.plist;
+				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+				MODULE_NAME = "";
+				PRODUCT_BUNDLE_IDENTIFIER = com.alamofire.Alamofire;
+				PRODUCT_NAME = Alamofire;
+				SDKROOT = watchos;
+				SKIP_INSTALL = YES;
+				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+				TARGETED_DEVICE_FAMILY = 4;
+			};
+			name = Debug;
+		};
+		E4202FDF1B667AA100C997FB /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				APPLICATION_EXTENSION_API_ONLY = YES;
+				BITCODE_GENERATION_MODE = bitcode;
+				CLANG_ENABLE_MODULES = YES;
+				CODE_SIGN_IDENTITY = "iPhone Developer";
+				"CODE_SIGN_IDENTITY[sdk=watchsimulator*]" = "";
+				COPY_PHASE_STRIP = NO;
+				DEFINES_MODULE = YES;
+				DYLIB_COMPATIBILITY_VERSION = 1;
+				DYLIB_CURRENT_VERSION = 1;
+				DYLIB_INSTALL_NAME_BASE = "@rpath";
+				ENABLE_TESTABILITY = NO;
+				GCC_NO_COMMON_BLOCKS = YES;
+				INFOPLIST_FILE = Source/Info.plist;
+				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+				MODULE_NAME = "";
+				PRODUCT_BUNDLE_IDENTIFIER = com.alamofire.Alamofire;
+				PRODUCT_NAME = Alamofire;
+				SDKROOT = watchos;
+				SKIP_INSTALL = YES;
+				TARGETED_DEVICE_FAMILY = 4;
+			};
+			name = Release;
+		};
+		F8111E4419A95C8B0040E7D1 /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ALWAYS_SEARCH_USER_PATHS = NO;
+				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+				CLANG_CXX_LIBRARY = "libc++";
+				CLANG_ENABLE_MODULES = YES;
+				CLANG_ENABLE_OBJC_ARC = YES;
+				CLANG_WARN_BOOL_CONVERSION = YES;
+				CLANG_WARN_CONSTANT_CONVERSION = YES;
+				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+				CLANG_WARN_EMPTY_BODY = YES;
+				CLANG_WARN_ENUM_CONVERSION = YES;
+				CLANG_WARN_INT_CONVERSION = YES;
+				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+				CLANG_WARN_UNREACHABLE_CODE = YES;
+				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+				CODE_SIGN_IDENTITY = "iPhone Developer";
+				COPY_PHASE_STRIP = NO;
+				CURRENT_PROJECT_VERSION = 1;
+				ENABLE_STRICT_OBJC_MSGSEND = YES;
+				ENABLE_TESTABILITY = YES;
+				GCC_C_LANGUAGE_STANDARD = gnu99;
+				GCC_DYNAMIC_NO_PIC = NO;
+				GCC_OPTIMIZATION_LEVEL = 0;
+				GCC_PREPROCESSOR_DEFINITIONS = (
+					"DEBUG=1",
+					"$(inherited)",
+				);
+				GCC_SYMBOLS_PRIVATE_EXTERN = NO;
+				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+				GCC_WARN_UNDECLARED_SELECTOR = YES;
+				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+				GCC_WARN_UNUSED_FUNCTION = YES;
+				GCC_WARN_UNUSED_VARIABLE = YES;
+				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
+				MACOSX_DEPLOYMENT_TARGET = 10.9;
+				MTL_ENABLE_DEBUG_INFO = YES;
+				ONLY_ACTIVE_ARCH = YES;
+				SDKROOT = iphoneos;
+				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+				TARGETED_DEVICE_FAMILY = "1,2";
+				TVOS_DEPLOYMENT_TARGET = 9.0;
+				VERSIONING_SYSTEM = "apple-generic";
+				VERSION_INFO_PREFIX = "";
+				WATCHOS_DEPLOYMENT_TARGET = 2.0;
+			};
+			name = Debug;
+		};
+		F8111E4519A95C8B0040E7D1 /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ALWAYS_SEARCH_USER_PATHS = NO;
+				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+				CLANG_CXX_LIBRARY = "libc++";
+				CLANG_ENABLE_MODULES = YES;
+				CLANG_ENABLE_OBJC_ARC = YES;
+				CLANG_WARN_BOOL_CONVERSION = YES;
+				CLANG_WARN_CONSTANT_CONVERSION = YES;
+				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+				CLANG_WARN_EMPTY_BODY = YES;
+				CLANG_WARN_ENUM_CONVERSION = YES;
+				CLANG_WARN_INT_CONVERSION = YES;
+				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+				CLANG_WARN_UNREACHABLE_CODE = YES;
+				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+				CODE_SIGN_IDENTITY = "iPhone Developer";
+				COPY_PHASE_STRIP = YES;
+				CURRENT_PROJECT_VERSION = 1;
+				ENABLE_NS_ASSERTIONS = NO;
+				ENABLE_STRICT_OBJC_MSGSEND = YES;
+				GCC_C_LANGUAGE_STANDARD = gnu99;
+				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+				GCC_WARN_UNDECLARED_SELECTOR = YES;
+				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+				GCC_WARN_UNUSED_FUNCTION = YES;
+				GCC_WARN_UNUSED_VARIABLE = YES;
+				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
+				MACOSX_DEPLOYMENT_TARGET = 10.9;
+				MTL_ENABLE_DEBUG_INFO = NO;
+				SDKROOT = iphoneos;
+				TARGETED_DEVICE_FAMILY = "1,2";
+				TVOS_DEPLOYMENT_TARGET = 9.0;
+				VALIDATE_PRODUCT = YES;
+				VERSIONING_SYSTEM = "apple-generic";
+				VERSION_INFO_PREFIX = "";
+				WATCHOS_DEPLOYMENT_TARGET = 2.0;
+			};
+			name = Release;
+		};
+		F8111E4719A95C8B0040E7D1 /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				APPLICATION_EXTENSION_API_ONLY = YES;
+				BITCODE_GENERATION_MODE = marker;
+				CLANG_ENABLE_MODULES = YES;
+				CODE_SIGN_IDENTITY = "iPhone Developer";
+				"CODE_SIGN_IDENTITY[sdk=iphonesimulator*]" = "";
+				DEFINES_MODULE = YES;
+				DYLIB_COMPATIBILITY_VERSION = 1;
+				DYLIB_CURRENT_VERSION = 1;
+				DYLIB_INSTALL_NAME_BASE = "@rpath";
+				INFOPLIST_FILE = Source/Info.plist;
+				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
+				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+				PRODUCT_BUNDLE_IDENTIFIER = "com.alamofire.$(PRODUCT_NAME:rfc1034identifier)";
+				PRODUCT_NAME = Alamofire;
+				SKIP_INSTALL = YES;
+				SUPPORTED_PLATFORMS = "iphonesimulator iphoneos";
+				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+			};
+			name = Debug;
+		};
+		F8111E4819A95C8B0040E7D1 /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				APPLICATION_EXTENSION_API_ONLY = YES;
+				BITCODE_GENERATION_MODE = bitcode;
+				CLANG_ENABLE_MODULES = YES;
+				CODE_SIGN_IDENTITY = "iPhone Developer";
+				"CODE_SIGN_IDENTITY[sdk=iphonesimulator*]" = "";
+				DEFINES_MODULE = YES;
+				DYLIB_COMPATIBILITY_VERSION = 1;
+				DYLIB_CURRENT_VERSION = 1;
+				DYLIB_INSTALL_NAME_BASE = "@rpath";
+				ENABLE_TESTABILITY = NO;
+				INFOPLIST_FILE = Source/Info.plist;
+				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
+				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+				PRODUCT_BUNDLE_IDENTIFIER = "com.alamofire.$(PRODUCT_NAME:rfc1034identifier)";
+				PRODUCT_NAME = Alamofire;
+				SKIP_INSTALL = YES;
+				SUPPORTED_PLATFORMS = "iphonesimulator iphoneos";
+			};
+			name = Release;
+		};
+		F8111E4A19A95C8B0040E7D1 /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				CODE_SIGN_IDENTITY = "iPhone Developer";
+				"CODE_SIGN_IDENTITY[sdk=iphonesimulator*]" = "";
+				FRAMEWORK_SEARCH_PATHS = "$(inherited)";
+				GCC_PREPROCESSOR_DEFINITIONS = (
+					"DEBUG=1",
+					"$(inherited)",
+				);
+				INFOPLIST_FILE = Tests/Info.plist;
+				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+				PRODUCT_BUNDLE_IDENTIFIER = "com.alamofire.$(PRODUCT_NAME:rfc1034identifier)";
+				PRODUCT_NAME = "$(TARGET_NAME)";
+			};
+			name = Debug;
+		};
+		F8111E4B19A95C8B0040E7D1 /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				CODE_SIGN_IDENTITY = "iPhone Developer";
+				"CODE_SIGN_IDENTITY[sdk=iphonesimulator*]" = "";
+				FRAMEWORK_SEARCH_PATHS = "$(inherited)";
+				INFOPLIST_FILE = Tests/Info.plist;
+				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
+				PRODUCT_BUNDLE_IDENTIFIER = "com.alamofire.$(PRODUCT_NAME:rfc1034identifier)";
+				PRODUCT_NAME = "$(TARGET_NAME)";
+			};
+			name = Release;
+		};
+		F829C6BC1A7A94F100A2CD59 /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				CODE_SIGN_IDENTITY = "";
+				COMBINE_HIDPI_IMAGES = YES;
+				FRAMEWORK_SEARCH_PATHS = (
+					"$(DEVELOPER_FRAMEWORKS_DIR)",
+					"$(inherited)",
+				);
+				GCC_PREPROCESSOR_DEFINITIONS = (
+					"DEBUG=1",
+					"$(inherited)",
+				);
+				INFOPLIST_FILE = Tests/Info.plist;
+				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
+				MACOSX_DEPLOYMENT_TARGET = 10.9;
+				PRODUCT_BUNDLE_IDENTIFIER = "com.alamofire.$(PRODUCT_NAME:rfc1034identifier)";
+				PRODUCT_NAME = "$(TARGET_NAME)";
+				SDKROOT = macosx;
+			};
+			name = Debug;
+		};
+		F829C6BD1A7A94F100A2CD59 /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				CODE_SIGN_IDENTITY = "";
+				COMBINE_HIDPI_IMAGES = YES;
+				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+				FRAMEWORK_SEARCH_PATHS = (
+					"$(DEVELOPER_FRAMEWORKS_DIR)",
+					"$(inherited)",
+				);
+				INFOPLIST_FILE = Tests/Info.plist;
+				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks";
+				MACOSX_DEPLOYMENT_TARGET = 10.9;
+				PRODUCT_BUNDLE_IDENTIFIER = "com.alamofire.$(PRODUCT_NAME:rfc1034identifier)";
+				PRODUCT_NAME = "$(TARGET_NAME)";
+				SDKROOT = macosx;
+			};
+			name = Release;
+		};
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+		4CF627041BA7CB3E0011A099 /* Build configuration list for PBXNativeTarget "Alamofire tvOS" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				4CF627001BA7CB3E0011A099 /* Debug */,
+				4CF627011BA7CB3E0011A099 /* Release */,
+				4C0FFAFD1C212C71009085A1 /* ReleaseTest */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+		4CF627051BA7CB3E0011A099 /* Build configuration list for PBXNativeTarget "Alamofire tvOS Tests" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				4CF627021BA7CB3E0011A099 /* Debug */,
+				4CF627031BA7CB3E0011A099 /* Release */,
+				4C0FFAFE1C212C71009085A1 /* ReleaseTest */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+		4DD67C1E1A5C55C900ED2280 /* Build configuration list for PBXNativeTarget "Alamofire OSX" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				4DD67C1F1A5C55C900ED2280 /* Debug */,
+				4DD67C201A5C55C900ED2280 /* Release */,
+				4C0FFAFB1C212C71009085A1 /* ReleaseTest */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+		E4202FDD1B667AA100C997FB /* Build configuration list for PBXNativeTarget "Alamofire watchOS" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				E4202FDE1B667AA100C997FB /* Debug */,
+				E4202FDF1B667AA100C997FB /* Release */,
+				4C0FFAFF1C212C71009085A1 /* ReleaseTest */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+		F8111E2D19A95C8B0040E7D1 /* Build configuration list for PBXProject "Alamofire" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				F8111E4419A95C8B0040E7D1 /* Debug */,
+				F8111E4519A95C8B0040E7D1 /* Release */,
+				4C0FFAF81C212C71009085A1 /* ReleaseTest */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+		F8111E4619A95C8B0040E7D1 /* Build configuration list for PBXNativeTarget "Alamofire iOS" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				F8111E4719A95C8B0040E7D1 /* Debug */,
+				F8111E4819A95C8B0040E7D1 /* Release */,
+				4C0FFAF91C212C71009085A1 /* ReleaseTest */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+		F8111E4919A95C8B0040E7D1 /* Build configuration list for PBXNativeTarget "Alamofire iOS Tests" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				F8111E4A19A95C8B0040E7D1 /* Debug */,
+				F8111E4B19A95C8B0040E7D1 /* Release */,
+				4C0FFAFA1C212C71009085A1 /* ReleaseTest */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+		F829C6BB1A7A94F100A2CD59 /* Build configuration list for PBXNativeTarget "Alamofire OSX Tests" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				F829C6BC1A7A94F100A2CD59 /* Debug */,
+				F829C6BD1A7A94F100A2CD59 /* Release */,
+				4C0FFAFC1C212C71009085A1 /* ReleaseTest */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+/* End XCConfigurationList section */
+	};
+	rootObject = F8111E2A19A95C8B0040E7D1 /* Project object */;
+}
diff --git a/swift/Alamofire-3.3.0/Alamofire.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/swift/Alamofire-3.3.0/Alamofire.xcodeproj/project.xcworkspace/contents.xcworkspacedata
new file mode 100755
index 0000000..7d39b0e
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Alamofire.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+   version = "1.0">
+   <FileRef
+      location = "self:Alamofire.xcodeproj">
+   </FileRef>
+</Workspace>
diff --git a/swift/Alamofire-3.3.0/Alamofire.xcodeproj/xcshareddata/xcschemes/Alamofire OSX.xcscheme b/swift/Alamofire-3.3.0/Alamofire.xcodeproj/xcshareddata/xcschemes/Alamofire OSX.xcscheme
new file mode 100755
index 0000000..2052c92
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Alamofire.xcodeproj/xcshareddata/xcschemes/Alamofire OSX.xcscheme
@@ -0,0 +1,114 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+   LastUpgradeVersion = "0700"
+   version = "1.3">
+   <BuildAction
+      parallelizeBuildables = "YES"
+      buildImplicitDependencies = "YES">
+      <BuildActionEntries>
+         <BuildActionEntry
+            buildForTesting = "YES"
+            buildForRunning = "YES"
+            buildForProfiling = "YES"
+            buildForArchiving = "YES"
+            buildForAnalyzing = "YES">
+            <BuildableReference
+               BuildableIdentifier = "primary"
+               BlueprintIdentifier = "4DD67C0A1A5C55C900ED2280"
+               BuildableName = "Alamofire.framework"
+               BlueprintName = "Alamofire OSX"
+               ReferencedContainer = "container:Alamofire.xcodeproj">
+            </BuildableReference>
+         </BuildActionEntry>
+         <BuildActionEntry
+            buildForTesting = "YES"
+            buildForRunning = "NO"
+            buildForProfiling = "NO"
+            buildForArchiving = "NO"
+            buildForAnalyzing = "NO">
+            <BuildableReference
+               BuildableIdentifier = "primary"
+               BlueprintIdentifier = "F829C6B11A7A94F100A2CD59"
+               BuildableName = "Alamofire OSX Tests.xctest"
+               BlueprintName = "Alamofire OSX Tests"
+               ReferencedContainer = "container:Alamofire.xcodeproj">
+            </BuildableReference>
+         </BuildActionEntry>
+      </BuildActionEntries>
+   </BuildAction>
+   <TestAction
+      buildConfiguration = "Debug"
+      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+      shouldUseLaunchSchemeArgsEnv = "YES"
+      codeCoverageEnabled = "YES">
+      <Testables>
+         <TestableReference
+            skipped = "NO">
+            <BuildableReference
+               BuildableIdentifier = "primary"
+               BlueprintIdentifier = "F829C6B11A7A94F100A2CD59"
+               BuildableName = "Alamofire OSX Tests.xctest"
+               BlueprintName = "Alamofire OSX Tests"
+               ReferencedContainer = "container:Alamofire.xcodeproj">
+            </BuildableReference>
+         </TestableReference>
+      </Testables>
+      <MacroExpansion>
+         <BuildableReference
+            BuildableIdentifier = "primary"
+            BlueprintIdentifier = "4DD67C0A1A5C55C900ED2280"
+            BuildableName = "Alamofire.framework"
+            BlueprintName = "Alamofire OSX"
+            ReferencedContainer = "container:Alamofire.xcodeproj">
+         </BuildableReference>
+      </MacroExpansion>
+      <AdditionalOptions>
+      </AdditionalOptions>
+   </TestAction>
+   <LaunchAction
+      buildConfiguration = "Debug"
+      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+      launchStyle = "0"
+      useCustomWorkingDirectory = "NO"
+      ignoresPersistentStateOnLaunch = "NO"
+      debugDocumentVersioning = "YES"
+      debugServiceExtension = "internal"
+      allowLocationSimulation = "YES">
+      <MacroExpansion>
+         <BuildableReference
+            BuildableIdentifier = "primary"
+            BlueprintIdentifier = "4DD67C0A1A5C55C900ED2280"
+            BuildableName = "Alamofire.framework"
+            BlueprintName = "Alamofire OSX"
+            ReferencedContainer = "container:Alamofire.xcodeproj">
+         </BuildableReference>
+      </MacroExpansion>
+      <AdditionalOptions>
+      </AdditionalOptions>
+   </LaunchAction>
+   <ProfileAction
+      buildConfiguration = "Release"
+      shouldUseLaunchSchemeArgsEnv = "YES"
+      savedToolIdentifier = ""
+      useCustomWorkingDirectory = "NO"
+      debugDocumentVersioning = "YES">
+      <MacroExpansion>
+         <BuildableReference
+            BuildableIdentifier = "primary"
+            BlueprintIdentifier = "4DD67C0A1A5C55C900ED2280"
+            BuildableName = "Alamofire.framework"
+            BlueprintName = "Alamofire OSX"
+            ReferencedContainer = "container:Alamofire.xcodeproj">
+         </BuildableReference>
+      </MacroExpansion>
+   </ProfileAction>
+   <AnalyzeAction
+      buildConfiguration = "Debug">
+   </AnalyzeAction>
+   <ArchiveAction
+      buildConfiguration = "Release"
+      revealArchiveInOrganizer = "YES">
+   </ArchiveAction>
+</Scheme>
diff --git a/swift/Alamofire-3.3.0/Alamofire.xcodeproj/xcshareddata/xcschemes/Alamofire iOS.xcscheme b/swift/Alamofire-3.3.0/Alamofire.xcodeproj/xcshareddata/xcschemes/Alamofire iOS.xcscheme
new file mode 100755
index 0000000..b5f528e
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Alamofire.xcodeproj/xcshareddata/xcschemes/Alamofire iOS.xcscheme
@@ -0,0 +1,114 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+   LastUpgradeVersion = "0700"
+   version = "1.3">
+   <BuildAction
+      parallelizeBuildables = "YES"
+      buildImplicitDependencies = "YES">
+      <BuildActionEntries>
+         <BuildActionEntry
+            buildForTesting = "YES"
+            buildForRunning = "YES"
+            buildForProfiling = "YES"
+            buildForArchiving = "YES"
+            buildForAnalyzing = "YES">
+            <BuildableReference
+               BuildableIdentifier = "primary"
+               BlueprintIdentifier = "F8111E3219A95C8B0040E7D1"
+               BuildableName = "Alamofire.framework"
+               BlueprintName = "Alamofire iOS"
+               ReferencedContainer = "container:Alamofire.xcodeproj">
+            </BuildableReference>
+         </BuildActionEntry>
+         <BuildActionEntry
+            buildForTesting = "YES"
+            buildForRunning = "NO"
+            buildForProfiling = "NO"
+            buildForArchiving = "NO"
+            buildForAnalyzing = "NO">
+            <BuildableReference
+               BuildableIdentifier = "primary"
+               BlueprintIdentifier = "F8111E3D19A95C8B0040E7D1"
+               BuildableName = "Alamofire iOS Tests.xctest"
+               BlueprintName = "Alamofire iOS Tests"
+               ReferencedContainer = "container:Alamofire.xcodeproj">
+            </BuildableReference>
+         </BuildActionEntry>
+      </BuildActionEntries>
+   </BuildAction>
+   <TestAction
+      buildConfiguration = "Debug"
+      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+      shouldUseLaunchSchemeArgsEnv = "YES"
+      codeCoverageEnabled = "YES">
+      <Testables>
+         <TestableReference
+            skipped = "NO">
+            <BuildableReference
+               BuildableIdentifier = "primary"
+               BlueprintIdentifier = "F8111E3D19A95C8B0040E7D1"
+               BuildableName = "Alamofire iOS Tests.xctest"
+               BlueprintName = "Alamofire iOS Tests"
+               ReferencedContainer = "container:Alamofire.xcodeproj">
+            </BuildableReference>
+         </TestableReference>
+      </Testables>
+      <MacroExpansion>
+         <BuildableReference
+            BuildableIdentifier = "primary"
+            BlueprintIdentifier = "F8111E3219A95C8B0040E7D1"
+            BuildableName = "Alamofire.framework"
+            BlueprintName = "Alamofire iOS"
+            ReferencedContainer = "container:Alamofire.xcodeproj">
+         </BuildableReference>
+      </MacroExpansion>
+      <AdditionalOptions>
+      </AdditionalOptions>
+   </TestAction>
+   <LaunchAction
+      buildConfiguration = "Debug"
+      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+      launchStyle = "0"
+      useCustomWorkingDirectory = "NO"
+      ignoresPersistentStateOnLaunch = "NO"
+      debugDocumentVersioning = "YES"
+      debugServiceExtension = "internal"
+      allowLocationSimulation = "YES">
+      <MacroExpansion>
+         <BuildableReference
+            BuildableIdentifier = "primary"
+            BlueprintIdentifier = "F8111E3219A95C8B0040E7D1"
+            BuildableName = "Alamofire.framework"
+            BlueprintName = "Alamofire iOS"
+            ReferencedContainer = "container:Alamofire.xcodeproj">
+         </BuildableReference>
+      </MacroExpansion>
+      <AdditionalOptions>
+      </AdditionalOptions>
+   </LaunchAction>
+   <ProfileAction
+      buildConfiguration = "Release"
+      shouldUseLaunchSchemeArgsEnv = "YES"
+      savedToolIdentifier = ""
+      useCustomWorkingDirectory = "NO"
+      debugDocumentVersioning = "YES">
+      <MacroExpansion>
+         <BuildableReference
+            BuildableIdentifier = "primary"
+            BlueprintIdentifier = "F8111E3219A95C8B0040E7D1"
+            BuildableName = "Alamofire.framework"
+            BlueprintName = "Alamofire iOS"
+            ReferencedContainer = "container:Alamofire.xcodeproj">
+         </BuildableReference>
+      </MacroExpansion>
+   </ProfileAction>
+   <AnalyzeAction
+      buildConfiguration = "Debug">
+   </AnalyzeAction>
+   <ArchiveAction
+      buildConfiguration = "Release"
+      revealArchiveInOrganizer = "YES">
+   </ArchiveAction>
+</Scheme>
diff --git a/swift/Alamofire-3.3.0/Alamofire.xcodeproj/xcshareddata/xcschemes/Alamofire tvOS.xcscheme b/swift/Alamofire-3.3.0/Alamofire.xcodeproj/xcshareddata/xcschemes/Alamofire tvOS.xcscheme
new file mode 100755
index 0000000..bdf82c7
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Alamofire.xcodeproj/xcshareddata/xcschemes/Alamofire tvOS.xcscheme
@@ -0,0 +1,114 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+   LastUpgradeVersion = "0710"
+   version = "1.3">
+   <BuildAction
+      parallelizeBuildables = "YES"
+      buildImplicitDependencies = "YES">
+      <BuildActionEntries>
+         <BuildActionEntry
+            buildForTesting = "YES"
+            buildForRunning = "YES"
+            buildForProfiling = "YES"
+            buildForArchiving = "YES"
+            buildForAnalyzing = "YES">
+            <BuildableReference
+               BuildableIdentifier = "primary"
+               BlueprintIdentifier = "4CF626EE1BA7CB3E0011A099"
+               BuildableName = "Alamofire.framework"
+               BlueprintName = "Alamofire tvOS"
+               ReferencedContainer = "container:Alamofire.xcodeproj">
+            </BuildableReference>
+         </BuildActionEntry>
+         <BuildActionEntry
+            buildForTesting = "YES"
+            buildForRunning = "NO"
+            buildForProfiling = "NO"
+            buildForArchiving = "NO"
+            buildForAnalyzing = "NO">
+            <BuildableReference
+               BuildableIdentifier = "primary"
+               BlueprintIdentifier = "4CF626F71BA7CB3E0011A099"
+               BuildableName = "Alamofire tvOS Tests.xctest"
+               BlueprintName = "Alamofire tvOS Tests"
+               ReferencedContainer = "container:Alamofire.xcodeproj">
+            </BuildableReference>
+         </BuildActionEntry>
+      </BuildActionEntries>
+   </BuildAction>
+   <TestAction
+      buildConfiguration = "Debug"
+      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+      shouldUseLaunchSchemeArgsEnv = "YES"
+      codeCoverageEnabled = "YES">
+      <Testables>
+         <TestableReference
+            skipped = "NO">
+            <BuildableReference
+               BuildableIdentifier = "primary"
+               BlueprintIdentifier = "4CF626F71BA7CB3E0011A099"
+               BuildableName = "Alamofire tvOS Tests.xctest"
+               BlueprintName = "Alamofire tvOS Tests"
+               ReferencedContainer = "container:Alamofire.xcodeproj">
+            </BuildableReference>
+         </TestableReference>
+      </Testables>
+      <MacroExpansion>
+         <BuildableReference
+            BuildableIdentifier = "primary"
+            BlueprintIdentifier = "4CF626EE1BA7CB3E0011A099"
+            BuildableName = "Alamofire.framework"
+            BlueprintName = "Alamofire tvOS"
+            ReferencedContainer = "container:Alamofire.xcodeproj">
+         </BuildableReference>
+      </MacroExpansion>
+      <AdditionalOptions>
+      </AdditionalOptions>
+   </TestAction>
+   <LaunchAction
+      buildConfiguration = "Debug"
+      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+      launchStyle = "0"
+      useCustomWorkingDirectory = "NO"
+      ignoresPersistentStateOnLaunch = "NO"
+      debugDocumentVersioning = "YES"
+      debugServiceExtension = "internal"
+      allowLocationSimulation = "YES">
+      <MacroExpansion>
+         <BuildableReference
+            BuildableIdentifier = "primary"
+            BlueprintIdentifier = "4CF626EE1BA7CB3E0011A099"
+            BuildableName = "Alamofire.framework"
+            BlueprintName = "Alamofire tvOS"
+            ReferencedContainer = "container:Alamofire.xcodeproj">
+         </BuildableReference>
+      </MacroExpansion>
+      <AdditionalOptions>
+      </AdditionalOptions>
+   </LaunchAction>
+   <ProfileAction
+      buildConfiguration = "Release"
+      shouldUseLaunchSchemeArgsEnv = "YES"
+      savedToolIdentifier = ""
+      useCustomWorkingDirectory = "NO"
+      debugDocumentVersioning = "YES">
+      <MacroExpansion>
+         <BuildableReference
+            BuildableIdentifier = "primary"
+            BlueprintIdentifier = "4CF626EE1BA7CB3E0011A099"
+            BuildableName = "Alamofire.framework"
+            BlueprintName = "Alamofire tvOS"
+            ReferencedContainer = "container:Alamofire.xcodeproj">
+         </BuildableReference>
+      </MacroExpansion>
+   </ProfileAction>
+   <AnalyzeAction
+      buildConfiguration = "Debug">
+   </AnalyzeAction>
+   <ArchiveAction
+      buildConfiguration = "Release"
+      revealArchiveInOrganizer = "YES">
+   </ArchiveAction>
+</Scheme>
diff --git a/swift/Alamofire-3.3.0/Alamofire.xcodeproj/xcshareddata/xcschemes/Alamofire watchOS.xcscheme b/swift/Alamofire-3.3.0/Alamofire.xcodeproj/xcshareddata/xcschemes/Alamofire watchOS.xcscheme
new file mode 100755
index 0000000..9f7c434
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Alamofire.xcodeproj/xcshareddata/xcschemes/Alamofire watchOS.xcscheme
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+   LastUpgradeVersion = "0700"
+   version = "1.3">
+   <BuildAction
+      parallelizeBuildables = "YES"
+      buildImplicitDependencies = "YES">
+      <BuildActionEntries>
+         <BuildActionEntry
+            buildForTesting = "YES"
+            buildForRunning = "YES"
+            buildForProfiling = "YES"
+            buildForArchiving = "YES"
+            buildForAnalyzing = "YES">
+            <BuildableReference
+               BuildableIdentifier = "primary"
+               BlueprintIdentifier = "E4202FCD1B667AA100C997FB"
+               BuildableName = "Alamofire.framework"
+               BlueprintName = "Alamofire watchOS"
+               ReferencedContainer = "container:Alamofire.xcodeproj">
+            </BuildableReference>
+         </BuildActionEntry>
+      </BuildActionEntries>
+   </BuildAction>
+   <TestAction
+      buildConfiguration = "Debug"
+      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+      shouldUseLaunchSchemeArgsEnv = "YES"
+      codeCoverageEnabled = "YES">
+      <Testables>
+      </Testables>
+      <AdditionalOptions>
+      </AdditionalOptions>
+   </TestAction>
+   <LaunchAction
+      buildConfiguration = "Debug"
+      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+      launchStyle = "0"
+      useCustomWorkingDirectory = "NO"
+      ignoresPersistentStateOnLaunch = "NO"
+      debugDocumentVersioning = "YES"
+      debugServiceExtension = "internal"
+      allowLocationSimulation = "YES">
+      <MacroExpansion>
+         <BuildableReference
+            BuildableIdentifier = "primary"
+            BlueprintIdentifier = "E4202FCD1B667AA100C997FB"
+            BuildableName = "Alamofire.framework"
+            BlueprintName = "Alamofire watchOS"
+            ReferencedContainer = "container:Alamofire.xcodeproj">
+         </BuildableReference>
+      </MacroExpansion>
+      <AdditionalOptions>
+      </AdditionalOptions>
+   </LaunchAction>
+   <ProfileAction
+      buildConfiguration = "Release"
+      shouldUseLaunchSchemeArgsEnv = "YES"
+      savedToolIdentifier = ""
+      useCustomWorkingDirectory = "NO"
+      debugDocumentVersioning = "YES">
+      <MacroExpansion>
+         <BuildableReference
+            BuildableIdentifier = "primary"
+            BlueprintIdentifier = "E4202FCD1B667AA100C997FB"
+            BuildableName = "Alamofire.framework"
+            BlueprintName = "Alamofire watchOS"
+            ReferencedContainer = "container:Alamofire.xcodeproj">
+         </BuildableReference>
+      </MacroExpansion>
+   </ProfileAction>
+   <AnalyzeAction
+      buildConfiguration = "Debug">
+   </AnalyzeAction>
+   <ArchiveAction
+      buildConfiguration = "Release"
+      revealArchiveInOrganizer = "YES">
+   </ArchiveAction>
+</Scheme>
diff --git a/swift/Alamofire-3.3.0/Alamofire.xcworkspace/contents.xcworkspacedata b/swift/Alamofire-3.3.0/Alamofire.xcworkspace/contents.xcworkspacedata
new file mode 100755
index 0000000..748f4a0
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Alamofire.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+   version = "1.0">
+   <FileRef
+      location = "group:Alamofire.xcodeproj">
+   </FileRef>
+   <FileRef
+      location = "group:Example/iOS Example.xcodeproj">
+   </FileRef>
+</Workspace>
diff --git a/swift/Alamofire-3.3.0/CHANGELOG.md b/swift/Alamofire-3.3.0/CHANGELOG.md
new file mode 100755
index 0000000..2d398ca
--- /dev/null
+++ b/swift/Alamofire-3.3.0/CHANGELOG.md
@@ -0,0 +1,1256 @@
+# Change Log
+All notable changes to this project will be documented in this file.
+`Alamofire` adheres to [Semantic Versioning](http://semver.org/).
+
+#### 3.x Releases
+- `3.3.x` Releases - [3.3.0](#330)
+- `3.2.x` Releases - [3.2.0](#320) | [3.2.1](#321)
+- `3.1.x` Releases - [3.1.0](#310) | [3.1.1](#311) | [3.1.2](#312) | [3.1.3](#313) | [3.1.4](#314) | [3.1.5](#315)
+- `3.0.x` Releases - [3.0.0](#300) | [3.0.1](#301)
+- `3.0.0` Betas - [3.0.0-beta.1](#300-beta1) | [3.0.0-beta.2](#300-beta2) | [3.0.0-beta.3](#300-beta3)
+
+#### 2.x Releases
+- `2.0.x` Releases - [2.0.0](#200) | [2.0.1](#201) | [2.0.2](#202)
+- `2.0.0` Betas - [2.0.0-beta.1](#200-beta1) | [2.0.0-beta.2](#200-beta2) | [2.0.0-beta.3](#200-beta3) | [2.0.0-beta.4](#200-beta4)
+
+#### 1.x Releases
+- `1.3.x` Releases - [1.3.0](#130) | [1.3.1](#131)
+- `1.2.x` Releases - [1.2.0](#120) | [1.2.1](#121) | [1.2.2](#122) | [1.2.3](#123)
+- `1.1.x` Releases - [1.1.0](#110) | [1.1.1](#111) | [1.1.2](#112) | [1.1.3](#113) | [1.1.4](#114) | [1.1.5](#115)
+- `1.0.x` Releases - [1.0.0](#100) | [1.0.1](#101)
+
+---
+
+## [3.3.0](https://github.com/Alamofire/Alamofire/releases/tag/3.3.0)
+Released on 2016-03-23. All issues associated with this milestone can be found using this
+[filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A3.3.0).
+
+#### Added
+- Added override closures for all `SessionDelegate` APIs with completion handlers.
+  - Added by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#1099](https://github.com/Alamofire/Alamofire/pull/1099).
+
+#### Updated
+- The `User-Agent` header implementation to use more aggresive type-safety checks.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Regards to Issue
+  [#1100](https://github.com/Alamofire/Alamofire/issues/1100).
+- All shared response serializers to accept a custom queue for execution.
+  - Updated by [Luca Torella](https://github.com/lucatorella) in Pull Request
+  [#1112](https://github.com/Alamofire/Alamofire/pull/1112).
+- The network reachability manager to use IPv4 on iOS 8.x and OSX 10.9.x.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Regards to Issue
+  [#1086](https://github.com/Alamofire/Alamofire/issues/1086).
+- All source, test and example code to compile against Swift 2.2.
+  - Updated by [James Barrow](https://github.com/Baza207) and [Dominik Hadl](https://github.com/nickskull) in Pull Requests
+  [#1030](https://github.com/Alamofire/Alamofire/pull/1030) and
+  [#1128](https://github.com/Alamofire/Alamofire/pull/1128).
+- The Travis CI YAML file to use Xcode 7.3 and also updated matrix targets.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+
+#### Fixed
+- Issue in JSON response serialization test case where the wrong serializer was being tested.
+  - Fixed by [Gregory J.H. Rho](https://github.com/topchul) in Pull Request
+  [#1108](https://github.com/Alamofire/Alamofire/pull/1108).
+- Issue where multipart form data encoding was unnecessarily scheduling input and output
+  streams with the current runloop.
+  - Fixed by [Brian King](https://github.com/KingOfBrian) in Pull Request
+  [#1121](https://github.com/Alamofire/Alamofire/pull/1121).
+
+#### Upgrade Notes
+This release requires Xcode 7.3+ otherwise the Swift 2.2 changes will **NOT COMPILE**. There are several reasons why this was deployed as a MINOR and not MAJOR release. First off, the public API changes of this release are fully backwards compatible. There are no breaking API changes in the public APIs. Strictly following semver dictates that this is a MINOR, not MAJOR release.
+
+> See [semver](http://semver.org/#semantic-versioning-specification-semver) for more info.
+
+We also realize that this can be frustrating for those out there not ready to upgrade to Xcode 7.3. Please know that we consider each release version carefully before deploying. Our decision to bump the MINOR version was not only due to strictly following semver, but also because it's difficult and undesirable for all OSS libraries to bump MAJOR versions each time the Swift APIs are incremented. Alamofire would have had to go through 6 additional MAJOR versions if this was the policy. That would mean we'd already be running on Alamofire 10.x. Incrementing MAJOR versions this quickly is disruptive to the community and would cause even more confusion. Instead, we try to carefully plan our MAJOR version releases and accompany them with detailed Migration Guides to help make the transition as smooth as possible.
+
+If anyone has additional questions, please feel free to open an issue and we'll be more than happy to discuss further.
+
+---
+
+## [3.2.1](https://github.com/Alamofire/Alamofire/releases/tag/3.2.1)
+Released on 2016-02-27. All issues associated with this milestone can be found using this
+[filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A3.2.1).
+
+#### Updated
+- `StringResponseSerializer` implementation to build with the latest Swift toolchain.
+  - Updated by [Chris Cieslak](https://github.com/vivid-cieslak) in Pull Request
+  [#1050](https://github.com/Alamofire/Alamofire/pull/1050).
+- Expanded the Component Libraries section and moved it up in the README.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+
+#### Fixed
+- Issue where JSON and plist custom content types were not retained during parameter encoding.
+  - Fixed by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#1088](https://github.com/Alamofire/Alamofire/pull/1088).
+
+## [3.2.0](https://github.com/Alamofire/Alamofire/releases/tag/3.2.0)
+Released on 2016-02-07. All issues associated with this milestone can be found using this
+[filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A3.2.0).
+
+#### Added
+- Notifications that post when an `NSURLSessionTask` changes state to allow support for the 
+  network activity indicator.
+  - Added by [Christian Noon](https://github.com/cnoon).
+- `Timeline` struct to capture timings throughout the lifecycle of a `Request`.
+  - Added by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#1054](https://github.com/Alamofire/Alamofire/issues/1054).
+- A new `Timeline` section to the README.
+  - Added by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#1054](https://github.com/Alamofire/Alamofire/issues/1054).
+- `NetworkReachabilityManager` to listen for reachability status changes.
+  - Added by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#1053](https://github.com/Alamofire/Alamofire/issues/1053).
+- Unit tests for all the testable network reachability manager APIs.
+  - Added by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#1053](https://github.com/Alamofire/Alamofire/issues/1053).
+- A new `Network Reachability` section to the README.
+  - Added by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#1053](https://github.com/Alamofire/Alamofire/issues/1053).
+
+#### Updated
+- The `NSURLSessionStream` APIs to support `tvOS`.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+- The `ParameterEncoding` encode method to allow empty parameters to still be encoded.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Regards to Issues
+  [#1032](https://github.com/Alamofire/Alamofire/issues/1032) and
+  [#1049](https://github.com/Alamofire/Alamofire/issues/1049).
+
+#### Fixed
+- Broken CocoaDocs generation by moving iOS Example project into Examples folder.
+  - Fixed by [Jon Shier](https://github.com/jshier) in Pull Request
+  [#1027](https://github.com/Alamofire/Alamofire/issues/1027) in Regards to Issue
+  [#1025](https://github.com/Alamofire/Alamofire/issues/1025).
+
+---
+
+## [3.1.5](https://github.com/Alamofire/Alamofire/releases/tag/3.1.5)
+Released on 2016-01-17. All issues associated with this milestone can be found using this
+[filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A3.1.5).
+
+#### Added
+- `Package.swift` to the project to support Swift Package Manager (SPM).
+  - Added by [Kyle Fuller](https://github.com/kylef) in Pull Request
+  [#979](https://github.com/Alamofire/Alamofire/pull/979).
+- Safeguards to the `Request` class's `debugDescription` property.
+  - Added by [tokorom](https://github.com/tokorom) in Pull Request
+  [#983](https://github.com/Alamofire/Alamofire/pull/983).
+
+#### Updated
+- `Accept-Language` header generation to use functional style.
+  - Updated by [Dapeng Gao](https://github.com/dapenggao) in Pull Request
+  [#982](https://github.com/Alamofire/Alamofire/pull/982).
+- `Accept-Encoding` and `Accept-Language` header values to have separator spaces between values.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+- Copyright headers to include 2016! 🎉🎉🎉
+  - Updated by [Christian Noon](https://github.com/cnoon).
+
+## [3.1.4](https://github.com/Alamofire/Alamofire/releases/tag/3.1.4)
+Released on 2015-12-16. All issues associated with this milestone can be found using this
+[filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A3.1.4).
+
+#### Added
+- `NSTemporaryExceptionMinimumTLSVersion` documentation to the ATS section in the README.
+  - Added by [Marandon Antoine](https://github.com/ntnmrndn) in Pull Request
+  [#952](https://github.com/Alamofire/Alamofire/pull/952).
+- Added `ReleaseTest` configuration to allow running tests against optimized build.
+  - Added by [Christian Noon](https://github.com/cnoon).
+
+#### Updated
+- Carthage instructions in the README to clearly callout the `carthage update` command.
+  - Updated by [vlad](https://github.com/vlastachu) in Pull Request
+  [#955](https://github.com/Alamofire/Alamofire/pull/955).
+- `ParameterEncoding` to early out when passed an empty parameters dictionary.
+  - Updated by [Anthony Miller](https://github.com/AnthonyMDev) in Pull Request
+  [#954](https://github.com/Alamofire/Alamofire/pull/954).  
+- The `certificatesInBundle` to support `cer`, `crt` and `der` extensions.
+  - Updated by [Jacob Jennings](https://github.com/jacobjennings) in Pull Request
+  [#956](https://github.com/Alamofire/Alamofire/pull/956).
+- The `ENABLE_TESTABILITY` flag to `NO` for Release configuration and disabled tests for
+  non-test builds to better support Carthage.
+  - Updated by [Jed Lewison](https://github.com/jedlewison) in Pull Request
+  [#953](https://github.com/Alamofire/Alamofire/pull/953).
+- The server certificates for the TLS tests and added all certificates to all test targets.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+- The Travis-CI configuration to Xcode 7.2, iOS 9.2, tvOS 9.1 and watchOS 2.1.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+
+#### Removed
+- `SecCertificate` array Swift workaround in `ServerTrustPolicy` for Xcode 7.2.
+  - Removed by [Christian Noon](https://github.com/cnoon).
+
+## [3.1.3](https://github.com/Alamofire/Alamofire/releases/tag/3.1.3)
+Released on 2015-11-22. All issues associated with this milestone can be found using this
+[filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A3.1.3).
+
+#### Added
+- Custom `Info.plist` for tvOS setting the `UIRequiredDeviceCapabilities` to `arm64`.
+  - Added by [Simon Støvring](https://github.com/simonbs) in Pull Request
+  [#913](https://github.com/Alamofire/Alamofire/pull/913).
+
+#### Updated
+- All code samples in the README to use `https` instead of `http`.
+  - Updated by [Tomonobu Sato](https://github.com/tmnb) in Pull Request
+  [#912](https://github.com/Alamofire/Alamofire/pull/912).
+
+## [3.1.2](https://github.com/Alamofire/Alamofire/releases/tag/3.1.2)
+Released on 2015-11-06. All issues associated with this milestone can be found using this
+[filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A3.1.2).
+
+#### Updated
+- Code signing on iOS simulator builds to not sign simulator builds.
+  - Updated by [John Heaton](https://github.com/JRHeaton) in Pull Request
+  [#903](https://github.com/Alamofire/Alamofire/pull/903).
+- Code signing on watchOS and tvOS simulators builds to not sign simulator builds.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+
+## [3.1.1](https://github.com/Alamofire/Alamofire/releases/tag/3.1.1)
+Released on 2015-10-31. All issues associated with this milestone can be found using this
+[filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A3.1.1).
+
+#### Added
+- Support for 204 response status codes in the response serializers.
+  - Added by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#889](https://github.com/Alamofire/Alamofire/pull/889).
+- ATS section to the README explaining how to configure the settings.
+  - Added by [Christian Noon](https://github.com/cnoon) in regards to Issue
+  [#876](https://github.com/Alamofire/Alamofire/issues/876).
+
+#### Updated
+- Several unnecessary uses of `NSString` with `String`.
+  - Updated by [Nicholas Maccharoli](https://github.com/Nirma) in Pull Request
+  [#885](https://github.com/Alamofire/Alamofire/pull/885).
+- Content type validation to always succeeds when server data is `nil` or zero length.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#890](https://github.com/Alamofire/Alamofire/pull/890).
+
+#### Removed
+- The mention of rdar://22307360 from the README since Xcode 7.1 has been released.
+  - Removed by [Elvis Nuñez](https://github.com/3lvis) in Pull Request
+  [#891](https://github.com/Alamofire/Alamofire/pull/891).
+- An unnecessary availability check now that Xcode 7.1 is out of beta.
+  - Removed by [Christian Noon](https://github.com/cnoon).
+- The playground from the project due to instability reasons.
+  - Removed by [Christian Noon](https://github.com/cnoon).
+- The data length checks in the `responseData` and `responseString` serializers.
+  - Removed by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#889](https://github.com/Alamofire/Alamofire/pull/889).
+
+## [3.1.0](https://github.com/Alamofire/Alamofire/releases/tag/3.1.0)
+Released on 2015-10-22. All issues associated with this milestone can be found using this
+[filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A3.1.0).
+
+#### Added
+- New tvOS framework and test targets to the project.
+  - Added by [Bob Scarano](https://github.com/bscarano) in Pull Request
+  [#767](https://github.com/Alamofire/Alamofire/pull/767).
+- The tvOS deployment target to the podspec.
+  - Added by [Christian Noon](https://github.com/cnoon).
+- The `BITCODE_GENERATION_MODE` user defined setting to tvOS framework target.
+  - Added by [Christian Noon](https://github.com/cnoon).
+
+#### Updated
+- The README to include tvOS and bumped the required version of Xcode.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+- The default tvOS and watchOS deployment targets in the Xcode project.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+- The `APPLICATION_EXTENSION_API_ONLY` enabled flag to `YES` in the tvOS framework target.
+  - Updated by [James Barrow](https://github.com/Baza207) in Pull Request
+  [#771](https://github.com/Alamofire/Alamofire/pull/771).
+- The Travis-CI yaml file to run watchOS and tvOS builds and tests on xcode7.1 osx_image.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+
+---
+
+## [3.0.1](https://github.com/Alamofire/Alamofire/releases/tag/3.0.1)
+Released on 2015-10-19. All issues associated with this milestone can be found using this
+[filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A3.0.1).
+
+#### Added
+- Tests around content type validation with accept parameters.
+  - Added by [Christian Noon](https://github.com/cnoon).
+
+#### Fixed
+- Content type validation issue where parameter parsing on `;` was incorrect.
+  - Fixed by [Christian Noon](https://github.com/cnoon).
+
+## [3.0.0](https://github.com/Alamofire/Alamofire/releases/tag/3.0.0)
+Released on 2015-10-10. All issues associated with this milestone can be found using this
+[filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A3.0.0).
+
+#### Updated
+- `Downloading a File` code sample in the README to compile against Swift 2.0.
+  - Updated by [Screon](https://github.com/Screon) in Pull Request
+  [#827](https://github.com/Alamofire/Alamofire/pull/827).
+- Download code samples in the README to use `response` serializer.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+- CocoaPods and Carthage installation instructions for 3.0.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+- Carthage description and installation instructions in the README.
+  - Updated by [Ashton Williams](https://github.com/Ashton-W) in Pull Request
+  [#843](https://github.com/Alamofire/Alamofire/pull/843).
+- URL encoding internals to leverage the dictionary keys lazy evaluation.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+
+#### Fixed
+- Small typo in the Alamofire 3.0 Migration Guide `Response` section.
+  - Fixed by [neugartf](https://github.com/neugartf) in Pull Request
+  [#826](https://github.com/Alamofire/Alamofire/pull/826).
+- User defined `BITCODE_GENERATION_MODE` setting for Carthage builds.
+  - Fixed by [Christian Noon](https://github.com/cnoon) in regards to Issue
+  [#835](https://github.com/Alamofire/Alamofire/issues/835).
+
+---
+
+## [3.0.0-beta.3](https://github.com/Alamofire/Alamofire/releases/tag/3.0.0-beta.3)
+Released on 2015-09-27. All issues associated with this milestone can be found using this
+[filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A3.0.0-beta.3).
+
+#### Updated
+- The `Response` initializer to have a `public` ACL instead of `internal`.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+
+## [3.0.0-beta.2](https://github.com/Alamofire/Alamofire/releases/tag/3.0.0-beta.2)
+Released on 2015-09-26. All issues associated with this milestone can be found using this
+[filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A3.0.0-beta.2).
+
+#### Added
+- Tests around the header behavior for redirected requests.
+  - Added by [Christian Noon](https://github.com/cnoon) in regards to Issue
+  [#798](https://github.com/Alamofire/Alamofire/issues/798).
+- A migration guide for Alamofire 3.0 documenting all API changes.
+  - Added by [Christian Noon](https://github.com/cnoon).
+
+#### Updated
+- `Response` initializer to have `internal` ACL.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+- All sample code in the README to conform to the Alamofire 3.0 APIs.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+- URL percent escaping to only batch on OS's where required improving
+overall performance.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+- Basic auth example in the README to compile on Swift 2.0.
+  - Updated by [David F. Muir V](https://github.com/dfmuir) in Pull Request
+  [#810](https://github.com/Alamofire/Alamofire/issues/810).
+
+#### Fixed
+- Compiler errors in the playground due to the new response serializer APIs.
+  - Fixed by [Christian Noon](https://github.com/cnoon).
+
+## [3.0.0-beta.1](https://github.com/Alamofire/Alamofire/releases/tag/3.0.0-beta.1)
+Released on 2015-09-21. All issues associated with this milestone can be found using this
+[filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A3.0.0-beta.1).
+
+#### Added
+- A new `Response` struct to simplify response serialization.
+  - Added by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#792](https://github.com/Alamofire/Alamofire/pull/792).
+- A new initializer to the `Manager` allowing dependency injection of the
+underlying `NSURLSession`.
+  - Added by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#795](https://github.com/Alamofire/Alamofire/pull/795).
+- Tests around the new `Manager` initialization methods.
+
+#### Updated
+- Result type to take two generic parameters (`Value` and `Error`) where `Error`
+conforms to `ErrorType`.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#791](https://github.com/Alamofire/Alamofire/pull/791).
+- All response serializers to now return the original server data as `NSData?`.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#791](https://github.com/Alamofire/Alamofire/pull/791).
+- The `TaskDelegate` to store an error as an `NSError` instead of `ErrorType`.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#791](https://github.com/Alamofire/Alamofire/pull/791).
+- The `ValidationResult` failure case to require an `NSError` instead of `ErrorType`.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#791](https://github.com/Alamofire/Alamofire/pull/791).
+- All tests around response serialization and `Result` type usage.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#791](https://github.com/Alamofire/Alamofire/pull/791).
+- All response serializers to use the new `Response` type.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request  - 
+  [#792](https://github.com/Alamofire/Alamofire/pull/792).
+- The designated initializer for a `Manager` to accept a `SessionDelegate` parameter
+allowing dependency injection for better background session support.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#795](https://github.com/Alamofire/Alamofire/pull/795).
+
+---
+
+## [2.0.2](https://github.com/Alamofire/Alamofire/releases/tag/2.0.2)
+Released on 2015-09-20. All issues associated with this milestone can be found using this
+[filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A2.0.2).
+
+#### Updated
+- The Embedded Framework documentation to include `git init` info.
+  - Updated by [Christian Noon](https://github.com/cnoon) in regards to Issue
+  [#782](https://github.com/Alamofire/Alamofire/issues/782).
+
+#### Fixed
+- Alamofire iOS framework target by adding Alamofire iOS Tests as Target Dependency.
+  - Fixed by [Nicky Gerritsen](https://github.com/nickygerritsen) in Pull Request
+  [#780](https://github.com/Alamofire/Alamofire/pull/780).
+- Percent encoding issue for long Chinese strings using URL parameter encoding.
+  - Fixed by [Christian Noon](https://github.com/cnoon) in regards to Issue
+  [#206](https://github.com/Alamofire/Alamofire/issues/206).
+
+## [2.0.1](https://github.com/Alamofire/Alamofire/releases/tag/2.0.1)
+Released on 2015-09-16. All issues associated with this milestone can be found using this 
+[filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A2.0.1).
+
+#### Updated
+- The CocoaPods installation instructions in the README.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+- The Carthage installation instructions in the README.
+  - Updated by [Gustavo Barbosa](https://github.com/barbosa) in Pull Request
+  [#759](https://github.com/Alamofire/Alamofire/pull/759).
+
+#### Fixed
+- The link to the 2.0 migration guide in the README.
+  - Fixed by [Dwight Watson](https://github.com/dwightwatson) in Pull Request
+  [#750](https://github.com/Alamofire/Alamofire/pull/750).
+- Issue where NTLM authentication credentials were not used for authentication challenges.
+  - Fixed by [Christian Noon](https://github.com/cnoon) in regards to Issue
+  [#721](https://github.com/Alamofire/Alamofire/pull/721).
+
+## [2.0.0](https://github.com/Alamofire/Alamofire/releases/tag/2.0.0)
+Released on 2015-09-09. All issues associated with this milestone can be found using this 
+[filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A2.0.0).
+
+#### Added
+- A new `URLEncodedInURL` case to the `ParameterEncoding` for encoding in the URL.
+  - Added by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#742](https://github.com/Alamofire/Alamofire/pull/742).
+
+---
+
+## [2.0.0-beta.4](https://github.com/Alamofire/Alamofire/releases/tag/2.0.0-beta.4)
+Released on 2015-09-06. All issues associated with this milestone can be found using this 
+[filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A2.0.0-beta.4).
+
+#### Added
+- The `parameters` and `encoding` parameters to download APIs.
+  - Added by [Christian Noon](https://github.com/cnoon) in regards to Issue
+  [#719](https://github.com/Alamofire/Alamofire/issues/719).
+- Section to the README about wildcard domain matching with server trust policies.
+  - Added by [Sai](https://github.com/sai-prasanna) in Pull Request
+  [#718](https://github.com/Alamofire/Alamofire/pull/718).
+- A UTF-8 charset to Content-Type header for a URL encoded body.
+  - Added by [Cheolhee Han](https://github.com/cheolhee) in Pull Request
+  [#731](https://github.com/Alamofire/Alamofire/pull/731).
+- Tests around posting unicode parameters with URL encoding.
+  - Added by [Christian Noon](https://github.com/cnoon) in regards to Pull Request
+  [#731](https://github.com/Alamofire/Alamofire/pull/731).
+- Tests for uploading base 64 encoded image data inside JSON.
+  - Added by [Christian Noon](https://github.com/cnoon) in regards to Issue
+  [#738](https://github.com/Alamofire/Alamofire/issues/738).
+- An Alamofire 2.0 migration guide document to the new Documentation folder.
+  - Added by [Christian Noon](https://github.com/cnoon).
+- A Migration Guides section to the README with link to 2.0 guide.
+  - Added by [Christian Noon](https://github.com/cnoon).
+
+#### Updated
+- Response serialization to prevent unnecessary call to response serializer.
+  - Updated by [Julien Ducret](https://github.com/brocoo) in Pull Request
+  [#716](https://github.com/Alamofire/Alamofire/pull/716).
+- Travis-CI yaml file to support iOS 9, OSX 10.11 and Xcode 7.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+- Result types to store an `ErrorType` instead of `NSError`.
+  - Updated by [Christian Noon](https://github.com/cnoon) in regards to Issue
+  [#732](https://github.com/Alamofire/Alamofire/issues/732).
+- Docstrings on the download method to be more accurate.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+- The README to require Xcode 7 beta 6.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+- The background session section of the README to use non-deprecated API.
+  - Updated by [David F. Muir V](https://github.com/dfmuir) in Pull Request
+  [#724](https://github.com/Alamofire/Alamofire/pull/724).
+- The playground to use the `Result` type.
+  - Updated by [Jonas Schmid](https://github.com/jschmid) in Pull Request
+  [#726](https://github.com/Alamofire/Alamofire/pull/726).
+- Updated progress code samples in the README to show how to call onto the main queue.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+
+#### Removed
+- The AFNetworking sections from the FAQ in the README.
+  - Removed by [Christian Noon](https://github.com/cnoon).
+
+#### Fixed
+- Issue on Windows where the wildcarded cert name in the test suite included asterisk.
+  - Fixed by [Christian Noon](https://github.com/cnoon) in regards to Issue
+  [#723](https://github.com/Alamofire/Alamofire/issues/723).
+- Crash when multipart form data was uploaded from in-memory data on background session.
+  - Fixed by [Christian Noon](https://github.com/cnoon) in regards to Issue
+  [#740](https://github.com/Alamofire/Alamofire/issues/740).
+- Issue where the background session completion handler was not called on the main queue.
+  - Fixed by [Christian Noon](https://github.com/cnoon) in regards to Issue
+  [#728](https://github.com/Alamofire/Alamofire/issues/728).
+
+## [2.0.0-beta.3](https://github.com/Alamofire/Alamofire/releases/tag/2.0.0-beta.3)
+Released on 2015-08-25.
+
+#### Removed
+- The override for `NSMutableURLRequest` for the `URLRequestConvertible` protocol
+conformance that could cause unwanted URL request referencing.
+  - Removed by [Christian Noon](https://github.com/cnoon).
+
+## [2.0.0-beta.2](https://github.com/Alamofire/Alamofire/releases/tag/2.0.0-beta.2)
+Released on 2015-08-24. All issues associated with this milestone can be found using this 
+[filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A2.0.0-beta.2).
+
+#### Added
+- Host and certificate chain validation section to the README.
+  - Added by [Christian Noon](https://github.com/cnoon).
+- Tests verifying configuration headers are sent with all configuration types.
+  - Added by [Christian Noon](https://github.com/cnoon) in regards to Issue
+  [#692](https://github.com/Alamofire/Alamofire/issues/692).
+- New rdar to the list in the README about the #available check issue.
+  - Added by [Christian Noon](https://github.com/cnoon).
+- Override for `NSMutableURLRequest` for the `URLRequestConvertible` protocol.
+  - Added by [Christian Noon](https://github.com/cnoon).
+
+#### Updated
+- The README to note that CocoaPods 0.38.2 is required.
+  - Updated by [Christian Noon](https://github.com/cnoon) in regards to Issue
+  [#682](https://github.com/Alamofire/Alamofire/issues/682).
+- The README to include note about keeping a reference to the `Manager`.
+  - Updated by [Christian Noon](https://github.com/cnoon) in regards to Issue
+  [#681](https://github.com/Alamofire/Alamofire/issues/681).
+- Server trust host validation over to use SSL policy evaluation.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+- The documentation for the `URLRequestConvertible` section in the README.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+- The `ServerTrustPolicyManager` to be more flexible by using `public` ACL.
+  - Updated by [Jan Riehn](https://github.com/jriehn) in Pull Request
+  [#696](https://github.com/Alamofire/Alamofire/pull/696).
+- The `ServerTrustPolicyManager` policies property to use `public` ACL and
+added docstrings.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+- The Ono response serializer example for Swift 2.0 in the README.
+  - Updated by [Christian Noon](https://github.com/cnoon) in regards to Issue
+  [#700](https://github.com/Alamofire/Alamofire/issues/700).
+- `Result` failure case to store an `ErrorType` instead of `NSError`.
+  - Updated by [Christian Noon](https://github.com/cnoon) in regards to Issue
+  [#703](https://github.com/Alamofire/Alamofire/issues/703).
+- All source code to compile with Xcode 7 beta 6.
+  - Updated by [Michael Gray](https://github.com/mishagray) in Pull Request
+  [#707](https://github.com/Alamofire/Alamofire/pull/707).
+
+#### Removed
+- The `required` declaration on the `Manager` init method.
+  - Removed by [Christian Noon](https://github.com/cnoon) in regards to Issue
+  [#672](https://github.com/Alamofire/Alamofire/issues/672).
+
+#### Fixed
+- Issue where the `TaskDelegate` operation queue would leak if the task was
+never started.
+  - Fixed by [Christian Noon](https://github.com/cnoon).
+- Compiler issue on OS X target when creating background configurations
+in the test suite.
+  - Fixed by [Christian Noon](https://github.com/cnoon) in regards to Issue
+  [#693](https://github.com/Alamofire/Alamofire/issues/693).
+
+## [2.0.0-beta.1](https://github.com/Alamofire/Alamofire/releases/tag/2.0.0-beta.1)
+Released on 2015-08-10. All issues associated with this milestone can be found using this 
+[filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A2.0.0-beta.1).
+
+#### Added
+- A `watchOS` deployment target to the podspec.
+  - Added by [Kyle Fuller](https://github.com/kylef) in Pull Request
+  [#574](https://github.com/Alamofire/Alamofire/pull/574).
+- Full screen support in the iOS Example App.
+  - Added by [Corinne Krych](https://github.com/corinnekrych) in Pull Request
+  [#612](https://github.com/Alamofire/Alamofire/pull/612).
+- Temporary workaround for `SecCertificate` array compiler crash.
+  - Added by [Robert Rasmussen](https://github.com/robrasmussen) in Issue
+  [#610](https://github.com/Alamofire/Alamofire/issues/610).
+- `Result` and `Error` types to refactor response validation and serialization.
+  - Added by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#627](https://github.com/Alamofire/Alamofire/pull/627).
+- Tests around response data, string and json serialization result behavior.
+  - Added by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#627](https://github.com/Alamofire/Alamofire/pull/627).
+- `CustomStringConvertible` and `CustomDebugStringConvertible` conformance
+to the `Result` enumeration.
+  - Added by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#648](https://github.com/Alamofire/Alamofire/pull/648).
+- A Resume Data section to the README inside the Downloads section.
+  - Added by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#648](https://github.com/Alamofire/Alamofire/pull/648).
+- A `watchOS` framework target to the project.
+  - Added by [Tobias Ottenweller](https://github.com/tomco) in Pull Request
+  [#616](https://github.com/Alamofire/Alamofire/pull/616).
+- `Result` tests pushing code coverage for `Result` enum to 100%.
+  - Added by [Christian Noon](https://github.com/cnoon).
+- Tests around all response serializer usage.
+  - Added by [Christian Noon](https://github.com/cnoon).
+- Public docstrings for all public `SessionDelegate` methods.
+  - Added by [Christian Noon](https://github.com/cnoon).
+- A section to the README that calls out all open rdars affecting Alamofire.
+  - Added by [Christian Noon](https://github.com/cnoon).
+- Test for wildcard validation that contains response with nil MIME type.
+  - Added by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#662](https://github.com/Alamofire/Alamofire/pull/662).
+- Support for stream tasks in iOS 9+ and OSX 10.11+.
+  - Added by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#659](https://github.com/Alamofire/Alamofire/pull/659).
+
+#### Updated
+- All logic to compile against Swift 2.0.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+- All logic to use the latest Swift 2.0 conventions.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+- All public docstrings to the latest Swift 2.0 syntax.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+- `URLRequestConvertible` to return an `NSMutableURLRequest`.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+- All HTTP requests to HTTPS to better align with ATS.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+- The `escape` method in `ParameterEncoding` to use non-deprecated methods.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+- All source code and docstrings to fit roughly within 120 characters.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+- The `MultipartFormData` encoding to leverage Swift 2.0 error handling.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+- All README code samples to match the latest Swift 2.0 API changes.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#648](https://github.com/Alamofire/Alamofire/pull/648).
+- All frameworks to enable code coverage generation.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+- All frameworks to set the enable testability flag to YES for release builds.
+  - Updated by [Christian Noon](https://github.com/cnoon) in regard to Issue
+  [#652](https://github.com/Alamofire/Alamofire/issues/652).
+- `ParameterEncoding` to leverage guard for parameters to increase safety.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+- iOS Example App to use optional bind around response to safely extract headers.
+  - Updated by [John Pope](https://github.com/johndpope) in Pull Request
+  [#665](https://github.com/Alamofire/Alamofire/pull/665).
+- The `queryComponents` and `escape` methods in `ParameterEncoding` to `public` to
+better support `.Custom` encoding.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#660](https://github.com/Alamofire/Alamofire/pull/660).
+- The static error convenience functions to a public ACL.
+  - Updated by [Christian Noon](https://github.com/cnoon) in regards to Issue
+  [#668](https://github.com/Alamofire/Alamofire/issues/668).
+
+#### Removed
+- Explicit string values in `ParameterEncoding` since they are now implied.
+  - Removed by [Christian Noon](https://github.com/cnoon).
+- An OSX cookie check in the `CustomDebugStringConvertible` conformance of a `Request`.
+  - Removed by [Christian Noon](https://github.com/cnoon).
+
+#### Fixed
+- Issue in automatic validation tests where mutable URL request was not used.
+  - Fixed by [Christian Noon](https://github.com/cnoon).
+- Potential crash cases in Validation MIME type logic exposed by chaining.
+  - Fixed by [Christian Noon](https://github.com/cnoon).
+- Compiler issue in the iOS Example App around `Result` type usage.
+  - Fixed by [Jan Kase](https://github.com/jankase) in Pull Request
+  [#639](https://github.com/Alamofire/Alamofire/pull/639).
+- The error code in the custom response serializers section of the README.
+  - Fixed by [Christian Noon](https://github.com/cnoon).
+
+---
+
+## [1.3.1](https://github.com/Alamofire/Alamofire/releases/tag/1.3.1)
+Released on 2015-08-10. All issues associated with this milestone can be found using this 
+[filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A1.3.1).
+
+#### Fixed
+- Issue where a completed task was not released by the `SessionDelegate` if the
+task override closure was set.
+  - Fixed by [Christian Noon](https://github.com/cnoon) in regards to Issue
+  [#622](https://github.com/Alamofire/Alamofire/issues/622).
+
+## [1.3.0](https://github.com/Alamofire/Alamofire/releases/tag/1.3.0)
+Released on 2015-07-24. All issues associated with this milestone can be found using this 
+[filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A1.3.0).
+
+#### Added
+- Test case around `NSURLProtocol` checking header passthrough behaviors.
+  - Added by [Christian Noon](https://github.com/cnoon) in regards to Issue
+  [#473](https://github.com/Alamofire/Alamofire/issues/473).
+- Stream method on `Request` to receive data incrementally from data responses.
+  - Added by [Peter Sobot](https://github.com/psobot) in Pull Request
+  [#512](https://github.com/Alamofire/Alamofire/pull/512).
+- Example to the README demonstrating how to use the `responseCollection` serializer.
+  - Added by [Josh Brown](https://github.com/joshuatbrown) in Pull Request
+  [#532](https://github.com/Alamofire/Alamofire/pull/532).
+- Link to the README to the CocoaDocs documentation for Alamofire.
+  - Added by [Robert](https://github.com/rojotek) in Pull Request
+  [#541](https://github.com/Alamofire/Alamofire/pull/541).
+- Support for uploading `MultipartFormData` in-memory and streaming from disk.
+  - Added by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#539](https://github.com/Alamofire/Alamofire/pull/539).
+- Tests for uploading `MultipartFormData` with complete code coverage.
+  - Added by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#539](https://github.com/Alamofire/Alamofire/pull/539).
+- The iOS 8.4 simulator to the Travis CI builds by switching to the Xcode 6.4 build.
+  - Added by [Syo Ikeda](https://github.com/ikesyo) in Pull Request
+  [#568](https://github.com/Alamofire/Alamofire/pull/568).
+- Tests for the custom header support with complete code coverage.
+  - Added by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#586](https://github.com/Alamofire/Alamofire/pull/586).
+- Section to the README about new HTTP header support in the global functions.
+  - Added by [Christian Noon](https://github.com/cnoon).
+- Basic auth `Authorization` header example to the README.
+  - Added by [Christian Noon](https://github.com/cnoon).
+- TLS certificate and public key pinning support through the `ServerTrustPolicy`.
+  - Added by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#581](https://github.com/Alamofire/Alamofire/pull/581).
+- Tests for TLS certificate and public key pinning with complete code coverage.
+  - Added by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#581](https://github.com/Alamofire/Alamofire/pull/581).
+- Security section to the README detailing various server trust policies.
+  - Added by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#581](https://github.com/Alamofire/Alamofire/pull/581).
+- The `resumeData` property to `Request` to expose outside data response serializer.
+  - Added by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#595](https://github.com/Alamofire/Alamofire/pull/595).
+- Download request sample to iOS example app.
+  - Added by [Kengo Yokoyama](https://github.com/kentya6) in Pull Request
+  [#579](https://github.com/Alamofire/Alamofire/pull/579).
+
+#### Updated
+- The INFOPLIST_FILE Xcode project setting to be a relative path.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+- Exposed persistence parameter for basic auth credentials.
+  - Updated by [Christian Noon](https://github.com/cnoon) in regard to Issue
+  [#537](https://github.com/Alamofire/Alamofire/issues/537).
+- The Travis CI builds to run a full `pod lib lint` pass on the source.
+  - Updated by [Kyle Fuller](https://github.com/kylef) in Pull Request
+  [#542](https://github.com/Alamofire/Alamofire/pull/542).
+- All cases of force unwrapping with optional binding and where clause when applicable.
+  - Updated by [Syo Ikeda](https://github.com/ikesyo) in Pull Request
+  [#557](https://github.com/Alamofire/Alamofire/pull/557).
+- The `ParameterEncoding` encode return tuple to return a mutable URL request.
+  - Updated by [Petr Korolev](https://github.com/skywinder) in Pull Request
+  [#478](https://github.com/Alamofire/Alamofire/pull/478).
+- The `URLRequest` convenience method to return a mutable `NSURLRequest`.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+- The `request` / `download` / `upload` methods to support custom headers.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#586](https://github.com/Alamofire/Alamofire/pull/586).
+- The global `request` / `download` / `upload` method external parameters convention.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#586](https://github.com/Alamofire/Alamofire/pull/586).
+- Response serialization to use generics and a `ResponseSerializer` protocol.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#593](https://github.com/Alamofire/Alamofire/pull/593).
+- Download task delegate to store resume data for a failed download if available.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#595](https://github.com/Alamofire/Alamofire/pull/595).
+- The `TaskDelegate.queue` to public to allow custom request extension operations.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#590](https://github.com/Alamofire/Alamofire/pull/590).
+- The README code samples for Advanced Response Serialization.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+
+#### Removed
+- An unnecessary `NSURLSessionConfiguration` type declaration that can be inferred.
+  - Removed by [Avismara](https://github.com/avismarahl) in Pull Request
+  [#576](https://github.com/Alamofire/Alamofire/pull/576).
+- Unnecessary `respondsToSelector` overrides for `SessionDelegate` methods.
+  - Removed by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#590](https://github.com/Alamofire/Alamofire/pull/590).
+- Unnecessary calls to `self` throughout source, test and example logic.
+  - Removed by [Christian Noon](https://github.com/cnoon).
+
+#### Fixed
+- Random test suite basic auth failures by clearing credentials in `setUp` method.
+  - Fixed by [Christian Noon](https://github.com/cnoon).
+- Error where wildcard was failing due to missing response MIME type.
+  - Fixed by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#598](https://github.com/Alamofire/Alamofire/pull/598).
+- Typo in the basic auth headers example code in the README.
+  - Fixed by [蒲公英の生活](https://github.com/fewspider) in Pull Request
+  [#605](https://github.com/Alamofire/Alamofire/pull/605).
+- Issue where the example app was printing elapsed time in optional form.
+  - Fixed by [Christian Noon](https://github.com/cnoon).
+
+#### Upgrade Notes
+There are a couple changes in the 1.3.0 release that are not fully backwards
+compatible and need to be called out.
+
+* The global `request` / `download` / `upload` external parameter naming conventions
+were not consistent nor did they match the `Manager` equivalents. By making them
+consistent across the board, this introduced the possibility that you "may" need to
+make slight modifications to your global function calls.
+* In order to support generic response serializers, the lowest level
+`Request.response` method had to be converted to a generic method leveraging the new
+`ResponseSerializer` protocol. This has many advantages, the most obvious being that
+the `response` convenience method now returns an `NSData?` optional instead of an
+`AnyObject?` optional. Nice!
+
+  > Please note that every effort is taken to maintain proper semantic versioning. In
+these two rare cases, it was deemed to be in the best interest of the community to
+slightly break semantic versioning to unify naming conventions as well as expose a
+much more powerful form of response serialization.
+
+  > If you have any issues, please don't hesitate to reach out through
+[GitHub](https://github.com/Alamofire/Alamofire/issues) or
+[Twitter](https://twitter.com/AlamofireSF).
+
+---
+
+## [1.2.3](https://github.com/Alamofire/Alamofire/releases/tag/1.2.3)
+Released on 2015-06-12. All issues associated with this milestone can be found using this 
+[filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A1.2.3).
+
+#### Added
+- Tests for data task progress closure and NSProgress updates.
+  - Added by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#494](https://github.com/Alamofire/Alamofire/pull/494).
+- More robust tests around download and upload progress.
+  - Added by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#494](https://github.com/Alamofire/Alamofire/pull/494).
+- More robust redirect tests around default behavior and task override closures.
+  - Added by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#507](https://github.com/Alamofire/Alamofire/pull/507).
+- The "[" and "]" to the legal escape characters and added more documentation.
+  - Added by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#504](https://github.com/Alamofire/Alamofire/pull/504).
+- Percent escaping tests around reserved / unreserved / illegal characters.
+  - Added by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#504](https://github.com/Alamofire/Alamofire/pull/504).
+- Tests for various Cache-Control headers with different request cache policies.
+  - Added by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#505](https://github.com/Alamofire/Alamofire/pull/505).
+- Link to Carthage in the README.
+  - Added by [Josh Brown](https://github.com/joshuatbrown) in Pull Request
+  [#520](https://github.com/Alamofire/Alamofire/pull/520).
+
+#### Updated
+- iOS 7 instructions to cover multiple Swift files in the README.
+  - Updated by [Sébastien Michoy](https://github.com/SebastienMichoy) in regards
+  to Issue [#479](https://github.com/Alamofire/Alamofire/pull/479).
+- All tests to follow the Given / When / Then structure.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#489](https://github.com/Alamofire/Alamofire/pull/489).
+- All tests to be crash safe.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#489](https://github.com/Alamofire/Alamofire/pull/489).
+- The OS X tests so that they are all passing again.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#489](https://github.com/Alamofire/Alamofire/pull/489).
+- Re-enabled Travis-CI tests for both iOS and Mac OS X.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#506](https://github.com/Alamofire/Alamofire/pull/506).
+- Travis-CI test suite to run all tests in both debug and release.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#506](https://github.com/Alamofire/Alamofire/pull/506).
+- Travis-CI test suite to run all tests on iOS 8.1, 8.2 and 8.3 as well as Mac OS X 10.10.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#506](https://github.com/Alamofire/Alamofire/pull/506).
+- Travis-CI test suite to run `pod lib lint` against the latest version of CocoaPods.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#506](https://github.com/Alamofire/Alamofire/pull/506).
+
+#### Fixed
+- Random deinitialization test failure by handling task state race condition.
+  - Fixed by [Christian Noon](https://github.com/cnoon).
+- Typo in the API Parameter Abstraction in the README.
+  - Fixed by [Josh Brown](https://github.com/joshuatbrown) in Pull Request
+  [#500](https://github.com/Alamofire/Alamofire/pull/500).
+- Cookies are now only applied in the DebugPrintable API when appropriate.
+  - Fixed by [Alex Plescan](https://github.com/alexpls) in Pull Request
+  [#516](https://github.com/Alamofire/Alamofire/pull/516).
+
+## [1.2.2](https://github.com/Alamofire/Alamofire/releases/tag/1.2.2)
+Released on 2015-05-13. All issues associated with this milestone can be found using this 
+[filter](https://github.com/Alamofire/Alamofire/issues?utf8=✓&q=milestone%3A1.2.2).
+
+#### Added
+- Contributing Guidelines document to the project.
+  - Added by [Mattt Thompson](https://github.com/mattt).
+- Documentation to the `URLStringConvertible` protocol around RFC specs.
+  - Added by [Mattt Thompson](https://github.com/mattt) in regards to Issue
+  [#464](https://github.com/Alamofire/Alamofire/pull/464).
+- The `Carthage/Build` ignore flag to the `.gitignore` file.
+  - Added by [Tomáš Slíž](https://github.com/tomassliz) in Pull Request
+  [#451](https://github.com/Alamofire/Alamofire/pull/451).
+- The `.DS_Store` ignore flag to the `.gitignore` file.
+  - Added by [Christian Noon](https://github.com/cnoon).
+- Response status code asserts for redirect tests.
+  - Added by [Christian Noon](https://github.com/cnoon).
+- A CHANGELOG to the project documenting each official release.
+  - Added by [Christian Noon](https://github.com/cnoon).
+
+#### Updated
+- `SessionDelegate` override closure properties to match the method signatures.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#456](https://github.com/Alamofire/Alamofire/pull/456).
+- Documentation for the `Printable` protocol on `Request` to reference output stream
+rather than the specific `OutputStreamType`.
+  - Updated by [Mattt Thompson](https://github.com/mattt).
+- Deployment targets to iOS 8.0 and OS X 10.9 for the respective frameworks.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+- `SessionDelegate` willPerformHTTPRedirection method to accept optional return type
+from override closure.
+  - Updated by [Chungsub Kim](https://github.com/subicura) in Pull Request
+  [#469](https://github.com/Alamofire/Alamofire/pull/469).
+- Embedded Framework and Source File documentation in the README.
+  - Updated by [Christian Noon](https://github.com/cnoon) in regards to Issue
+  [#427](https://github.com/Alamofire/Alamofire/pull/427).
+- Alamofire source to be split into multiple core files and feature files.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#471](https://github.com/Alamofire/Alamofire/pull/471).
+- `TaskDelegate` override closure signatures and delegate method implementations.
+  - Updated by [Christian Noon](https://github.com/cnoon).
+
+#### Removed
+- Travis-CI build status from the README until Xcode 6.3 is supported.
+  - Removed by [Mattt Thompson](https://github.com/mattt).
+- Unnecessary parentheses from closure parameters and typealiases.
+  - Removed by [Christian Noon](https://github.com/cnoon).
+
+#### Fixed
+- `SessionDelegate` override closure documentation.
+  - Fixed by [Siemen Sikkema](https://github.com/siemensikkema) in Pull Request
+  [#448](https://github.com/Alamofire/Alamofire/pull/448).
+- Some inaccurate documentation on several of the public `SessionDelegate` closures.
+  - Fixed by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#456](https://github.com/Alamofire/Alamofire/pull/456).
+- A deinit race condition where the task delegate queue could fail to `dispatch_release`.
+  - Fixed by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#379](https://github.com/Alamofire/Alamofire/pull/379).
+- `TaskDelegate` to only set `qualityOfService` for `NSOperationQueue` on iOS 8+.
+  - Fixed by [Christian Noon](https://github.com/cnoon) in regards to Issue
+  [#472](https://github.com/Alamofire/Alamofire/pull/472).
+- Expectation order issue in the redirect tests.
+  - Fixed by [Christian Noon](https://github.com/cnoon).
+- `DataTaskDelegate` behavior ensuring `NSProgress` values and `progress` override
+closures are always updated and executed.
+  - Fixed by [Christian Noon](https://github.com/cnoon) in regards to Issue
+  [#407](https://github.com/Alamofire/Alamofire/pull/407).
+
+## [1.2.1](https://github.com/Alamofire/Alamofire/releases/tag/1.2.1)
+Released on 2015-04-21.
+
+#### Added
+- Redirect tests for the `SessionDelegate`.
+  - Added by [Jonathan Hersh](https://github.com/jhersh) in Pull Request
+  [#424](https://github.com/Alamofire/Alamofire/pull/424).
+- TLS evaluation test case.
+  - Added by [Mattt Thompson](https://github.com/mattt).
+- Additional guards to ensure unique task identifiers for upload and download tasks.
+  - Added by [Mattt Thompson](https://github.com/mattt) in regards to Issue
+  [#393](https://github.com/Alamofire/Alamofire/pull/393).
+
+#### Updated
+- Required Xcode version to Xcode to 6.3 in the README.
+  - Updated by [Mattt Thompson](https://github.com/mattt).
+- SSL validation to use default system validation by default.
+  - Updated by [Michael Thole](https://github.com/mthole) in Pull Request
+  [#394](https://github.com/Alamofire/Alamofire/pull/394).
+
+## [1.2.0](https://github.com/Alamofire/Alamofire/releases/tag/1.2.0)
+Released on 2015-04-09.
+
+#### Added
+- New `testURLParameterEncodeStringWithSlashKeyStringWithQuestionMarkValueParameter`
+test.
+  - Added by [Mattt Thompson](https://github.com/mattt) in regards to Issue
+  [#370](https://github.com/Alamofire/Alamofire/pull/370).
+- New `backgroundCompletionHandler` property to the `Manager` called when the 
+session background tasks finish.
+  - Added by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#317](https://github.com/Alamofire/Alamofire/pull/317).
+
+#### Updated
+- `Request` computed property `progress` to no longer be an optional type.
+  - Updated by [Pitiphong Phongpattranont](https://github.com/pitiphong-p) in
+  Pull Request
+  [#404](https://github.com/Alamofire/Alamofire/pull/404).
+- All logic to Swift 1.2.
+  - Updated by [Aron Cedercrantz](https://github.com/rastersize) and
+  [Mattt Thompson](https://github.com/mattt).
+- The `responseString` serializer to respect server provided character encoding with
+overrideable configuration, default string response serialization to ISO-8859-1, as
+per the HTTP/1.1 specification.
+  - Updated by [Kyle Fuller](https://github.com/kylef) and
+  [Mattt Thompson](https://github.com/mattt) in Pull Request
+  [#359](https://github.com/Alamofire/Alamofire/pull/359) which also resolved Issue
+  [#358](https://github.com/Alamofire/Alamofire/pull/358).
+- `SessionDelegate` methods to first call the override closures if set.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#317](https://github.com/Alamofire/Alamofire/pull/317).
+- `SessionDelegate` and all override closures to a public ACL allowing for customization.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#317](https://github.com/Alamofire/Alamofire/pull/317).
+- `SessionDelegate` class to `final`.
+  - Updated by [Mattt Thompson](https://github.com/mattt).  
+- `SessionDelegate` header documentation for method override properties.
+  - Updated by [Mattt Thompson](https://github.com/mattt).  
+- Xcode project to set `APPLICATION_EXTENSION_API_ONLY` to `YES` for OS X target.
+  - Updated by [Mattt Thompson](https://github.com/mattt).
+
+#### Removed
+- Ambiguous response serializer methods that collided with default parameters.
+  - Removed by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#408](https://github.com/Alamofire/Alamofire/pull/408).
+- `SessionDelegate` initializer and replaced with default property value.
+  - Removed by [Mattt Thompson](https://github.com/mattt).
+
+#### Fixed
+- Async tests where asserts were potentially not being run by by moving
+`expectation.fullfill()` to end of closures.
+  - Fixed by [Nate Cook](https://github.com/natecook1000) in Pull Request
+  [#420](https://github.com/Alamofire/Alamofire/pull/420).
+- Small grammatical error in the ParameterEncoding section of the README.
+  - Fixed by [Aaron Brager](https://github.com/getaaron) in Pull Request
+  [#416](https://github.com/Alamofire/Alamofire/pull/416).
+- Typo in a download test comment.
+  - Fixed by [Aaron Brager](https://github.com/getaaron) in Pull Request
+  [#413](https://github.com/Alamofire/Alamofire/pull/413).
+- Signature mismatch in the `dataTaskDidBecomeDownloadTask` override closure.
+  - Fixed by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#317](https://github.com/Alamofire/Alamofire/pull/317).
+- Issue in the `SessionDelegate` where the `DataTaskDelegate` was not being called.
+  - Fixed by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#317](https://github.com/Alamofire/Alamofire/pull/317).
+
+---
+
+## [1.1.5](https://github.com/Alamofire/Alamofire/releases/tag/1.1.5)
+Released on 2015-03-26.
+
+#### Added
+- Convenience upload functions to the `Manager`.
+  - Added by [Olivier Bohrer](https://github.com/obohrer) in Pull Request
+  [#334](https://github.com/Alamofire/Alamofire/pull/334).
+- Info to the README about Swift 1.2 support.
+  - Added by [Mattt Thompson](https://github.com/mattt).
+
+#### Updated
+- All request / upload / download methods on `Manager` to match the top-level functions.
+  - Updated by [Mattt Thompson](https://github.com/mattt).
+- The `testDownloadRequest` to no longer remove the downloaded file.
+  - Updated by [Mattt Thompson](https://github.com/mattt).
+- Ono XML response serializer example in the README.
+  - Updated by [Mattt Thompson](https://github.com/mattt).
+- Travis-CI settings to only build the master branch.
+  - Updated by [Mattt Thompson](https://github.com/mattt).  
+- Code signing identities for the frameworks and targets to better support Carthage.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#400](https://github.com/Alamofire/Alamofire/pull/400).
+- iOS deployment target to iOS 8.0 for iOS target and tests.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#401](https://github.com/Alamofire/Alamofire/pull/401).
+- Legal characters to be escaped according to RFC 3986 Section 3.4.
+  - Updated by [Stephane Lizeray](https://github.com/slizeray) in Pull Request
+  [#370](https://github.com/Alamofire/Alamofire/pull/370).
+
+#### Fixed
+- Travis-CI scheme issue, added podspec linting and added ENV variables.
+  - Fixed by [Jonathan Hersh](https://github.com/jhersh) in Pull Request
+  [#351](https://github.com/Alamofire/Alamofire/pull/351).
+- Code sample in the README in the Manual Parameter Encoding section.
+  - Fixed by [Petr Korolev](https://github.com/skywinder) in Pull Request
+  [#381](https://github.com/Alamofire/Alamofire/pull/381).
+
+## [1.1.4](https://github.com/Alamofire/Alamofire/releases/tag/1.1.4)
+Released on 2015-01-30.
+
+#### Added
+- Podspec argument `requires_arc` to the podspec file.
+  - Added by [Mattt Thompson](https://github.com/mattt).
+- Support for Travis-CI for automated testing purposes.
+  - Added by [Kyle Fuller](https://github.com/kylef) in Pull Request
+  [#279](https://github.com/Alamofire/Alamofire/pull/279).
+
+#### Updated
+- Installation instructions in the README to include CocoaPods, Carthage and
+Embedded Frameworks.
+  - Updated by [Mattt Thompson](https://github.com/mattt).
+- Travis-CI to use Xcode 6.1.1.
+  - Updated by [Mattt Thompson](https://github.com/mattt).
+- The `download` method on `Manager` to use `Request.DownloadFileDestination` typealias.
+  - Updated by [Alexander Strakovich](https://github.com/astrabot) in Pull Request
+  [#318](https://github.com/Alamofire/Alamofire/pull/318).
+- `RequestTests` to no longer delete all cookies in default session configuration.
+  - Updated by [Mattt Thompson](https://github.com/mattt).
+- Travis-CI yaml file to only build the active architecture.
+  - Updated by [Mattt Thompson](https://github.com/mattt).
+- Deployment targets to iOS 7.0 and Mac OS X 10.9.
+  - Updated by [Mattt Thompson](https://github.com/mattt).
+
+#### Removed
+- The `tearDown` method in the `AlamofireDownloadResponseTestCase`.
+  - Removed by [Mattt Thompson](https://github.com/mattt).
+
+#### Fixed
+- Small formatting issue in the CocoaPods Podfile example in the README.
+  - Fixed by [rborkow](https://github.com/rborkow) in Pull Request
+  [#313](https://github.com/Alamofire/Alamofire/pull/313).
+- Several issues with the iOS and OSX targets in the Xcode project.
+  - Fixed by [Mattt Thompson](https://github.com/mattt).
+- The `testDownloadRequest` in `DownloadTests` by adding `.json` file extension.
+  - Fixed by [Martin Kavalar](https://github.com/mk) in Pull Request
+  [#302](https://github.com/Alamofire/Alamofire/pull/302).
+- The `AlamofireRequestDebugDescriptionTestCase` on OSX.
+  - Fixed by [Mattt Thompson](https://github.com/mattt).
+- Spec validation error with CocoaPods 0.36.0.beta-1 by disabling -b flags in `cURL`
+debug on OSX.
+  - Fixed by [Mattt Thompson](https://github.com/mattt).
+- Travis-CI build issue by adding suppport for an `iOS Example` scheme. 
+  - Fixed by [Yasuharu Ozaki](https://github.com/yasuoza) in Pull Request
+  [#322](https://github.com/Alamofire/Alamofire/pull/322).
+
+## [1.1.3](https://github.com/Alamofire/Alamofire/releases/tag/1.1.3)
+Released on 2015-01-09.
+
+#### Added
+- Podspec file to support CocoaPods deployment.
+  - Added by [Marius Rackwitz](https://github.com/mrackwitz) in Pull Request
+  [#218](https://github.com/Alamofire/Alamofire/pull/218).
+- Shared scheme to support Carthage deployments.
+  - Added by [Yosuke Ishikawa](https://github.com/ishkawa) in Pull Request
+  [#228](https://github.com/Alamofire/Alamofire/pull/228).
+- New target for Alamofire OSX framework.
+  - Added by [Martin Kavalar](https://github.com/mk) in Pull Request
+  [#293](https://github.com/Alamofire/Alamofire/pull/293).
+
+#### Updated
+- Upload and Download progress state to be updated before calling progress closure.
+  - Updated by [Alexander Strakovich](https://github.com/astrabot) in Pull Request
+  [#278](https://github.com/Alamofire/Alamofire/pull/278).
+
+#### Fixed
+- Some casting code logic in the Generic Response Object Serialization example in
+the README.
+  - Fixed by [Philip Heinser](https://github.com/philipheinser) in Pull Request
+  [#258](https://github.com/Alamofire/Alamofire/pull/258).
+- Indentation formatting of the `responseString` parameter documentation.
+  - Fixed by [Ah.Miao](https://github.com/mrahmiao) in Pull Request
+  [#291](https://github.com/Alamofire/Alamofire/pull/291).
+
+## [1.1.2](https://github.com/Alamofire/Alamofire/releases/tag/1.1.2)
+Released on 2014-12-21.
+
+#### Added
+- POST request JSON response test.
+  - Added by [Mattt Thompson](https://github.com/mattt).
+
+#### Updated
+- The response object example to use a failable initializer in the README.
+  - Updated by [Mattt Thompson](https://github.com/mattt) in regards to Issue
+  [#230](https://github.com/Alamofire/Alamofire/pull/230).
+- Router example in the README by removing extraneous force unwrap.
+  - Updated by [Arnaud Mesureur](https://github.com/nsarno) in Pull Request
+  [#247](https://github.com/Alamofire/Alamofire/pull/247).
+- Xcode project `APPLICATION_EXTENSION_API_ONLY` flag to `YES`.
+  - Updated by [Michael Latta](https://github.com/technomage) in Pull Request
+  [#273](https://github.com/Alamofire/Alamofire/pull/273).
+- Default HTTP header creation by moving it into a public class method.
+  - Updated by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#261](https://github.com/Alamofire/Alamofire/pull/261).
+
+#### Fixed
+- Upload stream method to set `HTTPBodyStream` for streamed request.
+  - Fixed by [Florent Vilmart](https://github.com/flovilmart) and
+  [Mattt Thompson](https://github.com/mattt) in Pull Request
+  [#241](https://github.com/Alamofire/Alamofire/pull/241).
+- ParameterEncoding to compose percent-encoded query strings from
+percent-encoded components.
+  - Fixed by [Oleh Sannikov](https://github.com/sunnycows) in Pull Request
+  [#249](https://github.com/Alamofire/Alamofire/pull/249).
+- Serialization handling of NSData with 0 bytes.
+  - Fixed by [Mike Owens](https://github.com/mowens) in Pull Request
+  [#254](https://github.com/Alamofire/Alamofire/pull/254).
+- Issue where `suggestedDownloadDestination` parameters were being ignored.
+  - Fixed by [Christian Noon](https://github.com/cnoon) in Pull Request
+  [#257](https://github.com/Alamofire/Alamofire/pull/257).
+- Crash caused by `Manager` deinitialization and added documentation.
+  - Fixed by [Mattt Thompson](https://github.com/mattt) in regards to Issue
+  [#269](https://github.com/Alamofire/Alamofire/pull/269).
+
+## [1.1.1](https://github.com/Alamofire/Alamofire/releases/tag/1.1.1)
+Released on 2014-11-20.
+
+#### Updated
+- Dispatch-based synchronized access to subdelegates.
+  - Updated by [Mattt Thompson](https://github.com/mattt) in regards to Pull Request
+  [#175](https://github.com/Alamofire/Alamofire/pull/175).
+- iOS 7 instructions in the README.
+  - Updated by [Mattt Thompson](https://github.com/mattt).
+- CRUD example in the README to work on Xcode 6.1.
+  - Updated by [John Beynon](https://github.com/johnbeynon) in Pull Request
+  [#187](https://github.com/Alamofire/Alamofire/pull/187).
+- The `cURL` example annotation in the README to pick up `bash` syntax highlighting.
+  - Updated by [Samuel E. Giddins](https://github.com/segiddins) in Pull Request
+  [#208](https://github.com/Alamofire/Alamofire/pull/208).
+
+#### Fixed
+- Out-of-memory exception by replacing `stringByAddingPercentEncodingWithAllowedCharacters`
+with `CFURLCreateStringByAddingPercentEscapes`.
+  - Fixed by [Mattt Thompson](https://github.com/mattt) in regards to Issue
+  [#206](https://github.com/Alamofire/Alamofire/pull/206).
+- Several issues in the README examples where an NSURL initializer needs to be unwrapped.
+  - Fixed by [Mattt Thompson](https://github.com/mattt) in regards to Pull Request
+  [#213](https://github.com/Alamofire/Alamofire/pull/213).
+- Possible exception when force unwrapping optional header properties.
+  - Fixed by [Mattt Thompson](https://github.com/mattt).
+- Optional cookie entry in `cURL` output.
+  - Fixed by [Mattt Thompson](https://github.com/mattt) in regards to Issue
+  [#226](https://github.com/Alamofire/Alamofire/pull/226).
+- Optional `textLabel` property on cells in the example app.
+  - Fixed by [Mattt Thompson](https://github.com/mattt).
+
+## [1.1.0](https://github.com/Alamofire/Alamofire/releases/tag/1.1.0)
+Released on 2014-10-20.
+
+#### Updated
+- Project to support Swift 1.1 and Xcode 6.1.
+  - Updated by [Aral Balkan](https://github.com/aral),
+    [Ross Kimes](https://github.com/rosskimes),
+    [Orta Therox](https://github.com/orta),
+    [Nico du Plessis](https://github.com/nduplessis)
+    and [Mattt Thompson](https://github.com/mattt).
+
+---
+
+## [1.0.1](https://github.com/Alamofire/Alamofire/releases/tag/1.0.1)
+Released on 2014-10-20.
+
+#### Added
+- Tests for upload and download with progress.
+  - Added by [Mattt Thompson](https://github.com/mattt).
+- Test for question marks in url encoded query.
+  - Added by [Mattt Thompson](https://github.com/mattt).
+- The `NSURLSessionConfiguration` headers to `cURL` representation.
+  - Added by [Matthias Ryne Cheow](https://github.com/rynecheow) in Pull Request
+  [#140](https://github.com/Alamofire/Alamofire/pull/140).
+- Parameter encoding tests for key/value pairs containing spaces.
+  - Added by [Mattt Thompson](https://github.com/mattt).
+- Percent character encoding for the `+` character.
+  - Added by [Niels van Hoorn](https://github.com/nvh) in Pull Request
+  [#167](https://github.com/Alamofire/Alamofire/pull/167).
+- Escaping for quotes to support JSON in `cURL` commands.
+  - Added by [John Gibb](https://github.com/johngibb) in Pull Request
+  [#178](https://github.com/Alamofire/Alamofire/pull/178).
+- The `request` method to the `Manager` bringing it more inline with the top-level methods.
+  - Added by Brian Smith.
+
+#### Fixed
+- Parameter encoding of ampersands and escaping of characters.
+  - Fixed by [Mattt Thompson](https://github.com/mattt) in regards to Issues
+  [#146](https://github.com/Alamofire/Alamofire/pull/146) and
+  [#162](https://github.com/Alamofire/Alamofire/pull/162).
+- Parameter encoding of `HTTPBody` from occurring twice.
+  - Fixed by Yuri in Pull Request
+  [#153](https://github.com/Alamofire/Alamofire/pull/153).
+- Extraneous dispatch to background by using weak reference for delegate in response.
+  - Fixed by [Mattt Thompson](https://github.com/mattt).
+- Response handler threading issue by adding a `subdelegateQueue` to the `SessionDelegate`.
+  - Fixed by [Essan Parto](https://github.com/parto) in Pull Request
+  [#171](https://github.com/Alamofire/Alamofire/pull/171).
+- Challenge issue where basic auth credentials were not being unwrapped. 
+  - Fixed by [Mattt Thompson](https://github.com/mattt).
+
+## [1.0.0](https://github.com/Alamofire/Alamofire/releases/tag/1.0.0)
+Released on 2014-09-25.
+
+#### Added
+- Initial release of Alamofire.
+  - Added by [Mattt Thompson](https://github.com/mattt).
diff --git a/swift/Alamofire-3.3.0/CONTRIBUTING.md b/swift/Alamofire-3.3.0/CONTRIBUTING.md
new file mode 100755
index 0000000..5de3be7
--- /dev/null
+++ b/swift/Alamofire-3.3.0/CONTRIBUTING.md
@@ -0,0 +1,91 @@
+# Contributing Guidelines
+
+This document contains information and guidelines about contributing to this project.
+Please read it before you start participating.
+
+**Topics**
+
+* [Asking Questions](#asking-questions)
+* [Reporting Security Issues](#reporting-security-issues)
+* [Reporting Issues](#reporting-other-issues)
+* [Developers Certificate of Origin](#developers-certificate-of-origin)
+* [Code of Conduct](#code-of-conduct)
+
+## Asking Questions
+
+We don't use GitHub as a support forum.
+For any usage questions that are not specific to the project itself,
+please ask on [Stack Overflow](https://stackoverflow.com) instead.
+By doing so, you'll be more likely to quickly solve your problem,
+and you'll allow anyone else with the same question to find the answer.
+This also allows maintainers to focus on improving the project for others.
+
+## Reporting Security Issues
+
+The Alamofire Software Foundation takes security seriously.
+If you discover a security issue, please bring it to our attention right away!
+
+Please **DO NOT** file a public issue,
+instead send your report privately to <security@alamofire.org>.
+This will help ensure that any vulnerabilities that _are_ found
+can be [disclosed responsibly](http://en.wikipedia.org/wiki/Responsible_disclosure)
+to any affected parties.
+
+## Reporting Other Issues
+
+A great way to contribute to the project
+is to send a detailed issue when you encounter an problem.
+We always appreciate a well-written, thorough bug report.
+
+Check that the project issues database
+doesn't already include that problem or suggestion before submitting an issue.
+If you find a match, add a quick "+1" or "I have this problem too."
+Doing this helps prioritize the most common problems and requests.
+
+When reporting issues, please include the following:
+
+* The version of Xcode you're using
+* The version of iOS or OS X you're targeting
+* The full output of any stack trace or compiler error
+* A code snippet that reproduces the described behavior, if applicable
+* Any other details that would be useful in understanding the problem
+
+This information will help us review and fix your issue faster.
+
+## Developer's Certificate of Origin 1.1
+
+By making a contribution to this project, I certify that:
+
+- (a) The contribution was created in whole or in part by me and I
+      have the right to submit it under the open source license
+      indicated in the file; or
+
+- (b) The contribution is based upon previous work that, to the best
+      of my knowledge, is covered under an appropriate open source
+      license and I have the right under that license to submit that
+      work with modifications, whether created in whole or in part
+      by me, under the same open source license (unless I am
+      permitted to submit under a different license), as indicated
+      in the file; or
+
+- (c) The contribution was provided directly to me by some other
+      person who certified (a), (b) or (c) and I have not modified
+      it.
+
+- (d) I understand and agree that this project and the contribution
+      are public and that a record of the contribution (including all
+      personal information I submit with it, including my sign-off) is
+      maintained indefinitely and may be redistributed consistent with
+      this project or the open source license(s) involved.
+
+## Code of Conduct
+
+The Code of Conduct governs how we behave in public or in private
+whenever the project will be judged by our actions.
+We expect it to be honored by everyone who contributes to this project.
+
+See [CONDUCT.md](https://github.com/Alamofire/Foundation/blob/master/CONDUCT.md) for details.
+
+---
+
+*Some of the ideas and wording for the statements above were based on work by the [Docker](https://github.com/docker/docker/blob/master/CONTRIBUTING.md) and [Linux](http://elinux.org/Developer_Certificate_Of_Origin) communities. We commend them for their efforts to facilitate collaboration in their projects.*
diff --git a/swift/Alamofire-3.3.0/Documentation/Alamofire 2.0 Migration Guide.md b/swift/Alamofire-3.3.0/Documentation/Alamofire 2.0 Migration Guide.md
new file mode 100755
index 0000000..5716906
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Documentation/Alamofire 2.0 Migration Guide.md
@@ -0,0 +1,202 @@
+# Alamofire 2.0 Migration Guide
+
+Alamofire 2.0 is the latest major release of Alamofire, an HTTP networking library for iOS, Mac OS X and watchOS written in Swift. As a major release, following Semantic Versioning conventions, 2.0 introduces several API-breaking changes that one should be aware of.
+
+This guide is provided in order to ease the transition of existing applications using Alamofire 1.x to the latest APIs, as well as explain the design and structure of new and changed functionality.
+
+## New Requirements
+
+Alamofire 2.0 officially supports iOS 8+, Mac OS X 10.9+, Xcode 7 and Swift 2.0. If you'd like to use Alamofire in a project targeting iOS 7 and Swift 1.x, use the latest tagged 1.x release.
+
+---
+
+## Breaking API Changes
+
+### Swift 2.0
+
+The biggest change between Alamofire 1.x and Alamofire 2.0 is Swift 2.0. Swift 2 brought many new features to take advantage of such as error handling, protocol extensions and availability checking. Other new features such as `guard` and `defer` do not affect the public APIs, but allowed us to create much cleaner implementations of the same logic. All of the source files, test logic and example code has been updated to reflect the latest Swift 2.0 paradigms.
+
+> It is not possible to use Alamofire 2.0 without Swift 2.0.
+
+### Response Serializers
+
+The most significant logic change made to Alamofire 2.0 is its new response serialization system leveraging `Result` types. Previously in Alamofire 1.x, each response serializer used the same completion handler signature:
+
+```swift
+public func response(completionHandler: (NSURLRequest, NSHTTPURLResponse?, AnyObject?, NSError?) -> Void) -> Self {
+    return response(serializer: Request.responseDataSerializer(), completionHandler: completionHandler)
+}
+```
+
+Alamofire 2.0 has redesigned the entire response serialization process to make it much easier to access the original server data without serialization, or serialize the response into a non-optional `Result` type defining whether the `Request` was successful.
+
+#### No Response Serialization
+
+The first `response` serializer is non-generic and does not process the server data in any way. It merely forwards on the accumulated information from the `NSURLSessionDelegate` callbacks.
+
+```swift
+public func response(
+	queue queue: dispatch_queue_t? = nil,
+	completionHandler: (NSURLRequest?, NSHTTPURLResponse?, NSData?, ErrorType?) -> Void)
+	-> Self
+{
+	delegate.queue.addOperationWithBlock {
+		dispatch_async(queue ?? dispatch_get_main_queue()) {
+			completionHandler(self.request, self.response, self.delegate.data, self.delegate.error)
+		}
+	}
+
+	return self
+}
+```
+
+Another important note of this change is the return type of `data` is now an `NSData` type. You no longer need to cast the `data` parameter from an `AnyObject?` to an `NSData?`.
+
+#### Generic Response Serializers
+
+The second, more powerful response serializer leverages generics along with a `Result` type to eliminate the case of the dreaded double optional.
+
+```swift
+public func response<T: ResponseSerializer, V where T.SerializedObject == V>(
+    queue queue: dispatch_queue_t? = nil,
+    responseSerializer: T,
+    completionHandler: (NSURLRequest?, NSHTTPURLResponse?, Result<V>) -> Void)
+    -> Self
+{
+    delegate.queue.addOperationWithBlock {
+        let result: Result<T.SerializedObject> = {
+            if let error = self.delegate.error {
+                return .Failure(self.delegate.data, error)
+            } else {
+                return responseSerializer.serializeResponse(self.request, self.response, self.delegate.data)
+            }
+        }()
+
+        dispatch_async(queue ?? dispatch_get_main_queue()) {
+            completionHandler(self.request, self.response, result)
+        }
+    }
+
+    return self
+}
+```
+
+##### Response Data
+
+```swift
+Alamofire.request(.GET, "http://httpbin.org/get")
+         .responseData { _, _, result in
+             print("Success: \(result.isSuccess)")
+             print("Response: \(result)")
+         }
+```
+
+##### Response String
+
+```swift
+Alamofire.request(.GET, "http://httpbin.org/get")
+         .responseString { _, _, result in
+             print("Success: \(result.isSuccess)")
+             print("Response String: \(result.value)")
+         }
+```
+
+##### Response JSON
+
+```swift
+Alamofire.request(.GET, "http://httpbin.org/get")
+         .responseJSON { _, _, result in
+             print(result)
+             debugPrint(result)
+         }
+```
+
+#### Result Types
+
+The `Result` enumeration was added to handle the case of the double optional return type. Previously, the return value and error were both optionals. Checking if one was `nil` did not ensure the other was also not `nil`. This case has been blogged about many times and can be solved by a `Result` type. Alamofire 2.0 brings a `Result` type to the response serializers to make it much easier to handle success and failure cases.
+
+```swift
+public enum Result<Value> {
+    case Success(Value)
+    case Failure(NSData?, ErrorType)
+}
+```
+
+There are also many other convenience computed properties to make accessing the data inside easy. The `Result` type also conforms to the `CustomStringConvertible` and `CustomDebugStringConvertible` protocols to make it easier to debug.
+
+#### Error Types
+
+While Alamofire still only generates `NSError` objects, all `Result` types have been converted to store `ErrorType` objects to allow custom response serializer implementations to use any `ErrorType` they wish. This also includes the `ValidationResult` and `MultipartFormDataEncodingResult` types as well.
+
+### URLRequestConvertible
+
+In order to make it easier to deal with non-common scenarios, the `URLRequestConvertible` protocol now returns an `NSMutableURLRequest`. Alamofire 2.0 makes it much easier to customize the URL request after is has been encoded. This should only affect a small amount of users.
+
+```swift
+public protocol URLRequestConvertible {
+    var URLRequest: NSMutableURLRequest { get }
+}
+```
+
+### Multipart Form Data
+
+Encoding `MultipartFormData` previous returned an `EncodingResult` to encapsulate any possible errors that occurred during encoding. Alamofire 2.0 uses the new Swift 2.0 error handling instead making it easier to use. This change is mostly encapsulated internally and should only affect a very small subset of users.
+
+---
+
+## Updated ACLs and New Features
+
+### Parameter Encoding
+
+#### ACL Updates
+
+The `ParameterEncoding` enumeration implementation was previously hidden behind `internal` and `private` ACLs. Alamofire 2.0 opens up the `queryComponents` and `escape` methods to make it much easier to implement `.Custom` cases.
+
+#### Encoding in the URL
+
+In the previous versions of Alamofire, `.URL` encoding would automatically append the query string to either the URL or HTTP body depending on which HTTP method was set in the `NSURLRequest`. While this satisfies the majority of common use cases, it made it quite difficult to append query string parameter to a URL for HTTP methods such as `PUT` and `POST`. In Alamofire 2.0, we've added a second URL encoding case, `.URLEncodedInURL`, that always appends the query string to the URL regardless of HTTP method.
+
+### Server Trust Policies
+
+In Alamofire 1.x, the `ServerTrustPolicyManager` methods were internal making it impossible to implement any custom domain matching behavior. Alamofire 2.0 opens up the internals with a `public` ACL allowing more flexible server trust policy matching behavior (i.e. wildcarded domains) through subclassing.
+
+```swift
+class CustomServerTrustPolicyManager: ServerTrustPolicyManager {
+    override func serverTrustPolicyForHost(host: String) -> ServerTrustPolicy? {
+        var policy: ServerTrustPolicy?
+
+        // Implement your custom domain matching behavior...
+
+        return policy
+    }
+}
+```
+
+### Download Requests
+
+The global and `Manager` download APIs now support `parameters` and `encoding` parameters to better support dynamic payloads used in background sessions. Constructing a `download` request is now the same as constructing a `data` request with the addition of a `destination` parameter.
+
+```swift
+public func download(
+    method: Method,
+    _ URLString: URLStringConvertible,
+    parameters: [String: AnyObject]? = nil,
+    encoding: ParameterEncoding = .URL,
+    headers: [String: String]? = nil,
+    destination: Request.DownloadFileDestination)
+    -> Request
+{
+    return Manager.sharedInstance.download(
+        method,
+        URLString,
+        parameters: parameters,
+        encoding: encoding,
+        headers: headers,
+        destination: destination
+    )
+}
+```
+
+### Stream Tasks
+
+Alamofire 2.0 adds support for creating `NSURLSessionStreamTask` tasks for iOS 9 and OS X 10.11. It also extends the `SessionDelegate` to support all the new `NSURLSessionStreamDelegate` APIs.
diff --git a/swift/Alamofire-3.3.0/Documentation/Alamofire 3.0 Migration Guide.md b/swift/Alamofire-3.3.0/Documentation/Alamofire 3.0 Migration Guide.md
new file mode 100755
index 0000000..38736fc
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Documentation/Alamofire 3.0 Migration Guide.md
@@ -0,0 +1,186 @@
+# Alamofire 3.0 Migration Guide
+
+Alamofire 3.0 is the latest major release of Alamofire, an HTTP networking library for iOS, Mac OS X and watchOS written in Swift. As a major release, following Semantic Versioning conventions, 3.0 introduces several API-breaking changes that one should be aware of.
+
+This guide is provided in order to ease the transition of existing applications using Alamofire 2.x to the latest APIs, as well as explain the design and structure of new and changed functionality.
+
+## Requirements
+
+Alamofire 3.0 officially supports iOS 8+, Mac OS X 10.9+, watchOS 2.0, Xcode 7 and Swift 2.0. If you'd like to use Alamofire in a project targeting iOS 7 and Swift 1.x, use the latest tagged 1.x release.
+
+## Reasons for Bumping to 3.0
+
+The [Alamofire Software Foundation](https://github.com/Alamofire/Foundation) (ASF) tries to do everything possible to avoid MAJOR version bumps. We realize the challenges involved with migrating large projects from one MAJOR version to another. With that said, we also want to make sure we're always producing the highest quality APIs and features possible. 
+
+After releasing Alamofire 2.0, it became clear that the response serialization system still had some room for improvement. After much debate, we decided to strictly follow semver and move forward with all the core logic changes becoming Alamofire 3.0. We've also made some fairly significant changes that should give us more flexibility moving forward to help avoid the need for MAJOR version bumps to maintain backwards compatibility.
+
+## Benefits of Upgrading
+
+The benefits of upgrading can be summarized as follows:
+
+* No more casting a response serializer `error` from an `ErrorType` to an `NSError`.
+* Original server data is now ALWAYS returned in all response serializers regardless of whether the result was a `.Success` or `.Failure`.
+* Custom response serializers are now ALWAYS called regardless of whether an `error` occurred.
+* Custom response serializers are now passed in the `error` allowing you to switch between different parsing schemes if necessary.
+* Custom response serializers can now wrap up any Alamofire `NSError` into a `CustomError` type of your choosing.
+* `Manager` initialization can now accept custom `NSURLSession` or `SessionDelegate` objects using dependency injection.
+
+---
+
+## Breaking API Changes
+
+Alamofire 3.0 contains some breaking API changes to the foundational classes supporting the response serialization system. It is important to understand how these changes affect the common usage patterns.
+
+### Result Type
+
+The `Result` type was introduced in Alamofire 2.0 as a single generic parameter with the following signature:
+
+```swift
+public enum Result<Value> {
+    case Success(Value)
+    case Failure(NSData?, ErrorType)
+}
+```
+
+While this was a significant improvement on the behavior of Alamofire 1.0, there was still room for improvement. By defining the `.Failure` case to take an `ErrorType`, all consumers needed to cast the `ErrorType` to some concrete object such as an `NSError` before being able to interact with it. This was certainly not ideal. Additionally, by only allowing the `NSData?` from the server to be appended in a `.Failure` case, it was not possible to access the original server data in a `.Success` case.
+
+In Alamofire 3.0, the `Result` type has been redesigned to be a double generic type that does not store the `NSData?` in the `.Failure` case.
+
+```swift
+public enum Result<Value, Error: ErrorType> {
+    case Success(Value)
+    case Failure(Error)
+}
+```
+
+These changes allow Alamofire to return the original server data in both cases. It also removes the requirement of having to cast the `ErrorType` when working with the `.Failure` case error object.
+
+### Response
+
+In order to avoid constantly having to change the response serializer completion closure signatures, Alamofire 3.0 introduces a `Response` struct. All response serializers (with the exception of `response`) return a generic `Response` struct.
+
+```swift
+public struct Response<Value, Error: ErrorType> {
+    /// The URL request sent to the server.
+    public let request: NSURLRequest?
+
+    /// The server's response to the URL request.
+    public let response: NSHTTPURLResponse?
+
+    /// The data returned by the server.
+    public let data: NSData?
+
+    /// The result of response serialization.
+    public let result: Result<Value, Error>
+}
+```
+
+This unifies the signature of all response serializer completion closures by only needing to specify a single parameter rather than three or four. If another major release of Alamofire needs to modify the signature, thankfully the number of parameters in all response serializers will NOT need to change. Given the fact that the Swift compiler can present some fairly misleading compiler errors when the arguments are not correct, this should help alleviate some painful updates between MAJOR version bumps of Alamofire.
+
+### Response Serializers
+
+The biggest change in Alamofire 3.0 are the response serializers. They are now powered by the new `Response` struct and updated `Result` type. These two generic classes make it VERY easy to interact with the response serializers in a consistent, type-safe manner.
+
+```swift
+Alamofire.request(.GET, "http://httpbin.org/get", parameters: ["foo": "bar"])
+         .responseJSON { response in
+         	 debugPrint(response)     // prints detailed description of all response properties
+
+             print(response.request)  // original URL request
+             print(response.response) // URL response
+             print(response.data)     // server data
+             print(response.result)   // result of response serialization
+
+             if let JSON = response.result.value {
+                 print("JSON: \(JSON)")
+             }
+         }
+```
+
+Besides the single response parameter in the completion closure, the other major callouts are that the original server data is always available whether the `Result` was a `.Success` or `.Failure`. Additionally, both the `value` and `error` of the `Result` type are strongly typed objects thanks to the power of generics. All default response serializer errors will be an `NSError` type. Custom response serializers can specify any custom `ErrorType`.
+
+#### Response Serializer Type
+
+For those wishing to create custom response serializer types, you'll need to familiarize yourself with the new `ResponseSerializerType` protocol and generic `ResponseSerializer` struct. 
+
+```swift
+public protocol ResponseSerializerType {
+    /// The type of serialized object to be created by this `ResponseSerializerType`.
+    typealias SerializedObject
+
+    /// The type of error to be created by this `ResponseSerializer` if serialization fails.
+    typealias ErrorObject: ErrorType
+
+    /**
+        A closure used by response handlers that takes a request, response, data and error and returns a result.
+    */
+    var serializeResponse: (NSURLRequest?, NSHTTPURLResponse?, NSData?, NSError?) -> Result<SerializedObject, ErrorObject> { get }
+}
+```
+
+All the possible information about the `Request` is now passed into the `serializeResponse` closure. In Alamofire 3.0, the `serializeResponse` closure is ALWAYS called whether an error occurred or not. This is for several reasons.
+
+1. Passing the error into the response serializer allows the implementation to switch parsing schemes based on what error occurred. For example, some APIs will return different payload schemas when certain errors occur. The new design allows you to switch on the error type and use different parsing logic.
+2. Any error produced by Alamofire will always be an `NSError`. If your custom response serializer returns `CustomError` types, then the `NSError` returned by Alamofire must be converted into a `CustomError` type. This makes it MUCH easier to wrap Alamofire errors in your own `CustomError` type objects.
+    > This is also required for all the generics logic to work properly.
+
+### Validation Result
+
+The `ValidationResult` enumeration in Alamofire 3.0 has been updated to take an `NSError` in the `.Failure` case. The reasoning for this change is that all Alamofire errors generated need to be `NSError` types. If not, it introduces the need to cast all error objects coming from Alamofire at the response serializer level.
+
+```swift
+public enum ValidationResult {
+    case Success
+    case Failure(NSError)
+}
+```
+
+> If you are extending the `Request` type in any way that can produce an error, that error always needs to be of type `NSError`. If you'd like to wrap the error into a `CustomError` type, it should be wrapped in a custom response serializer implementation.
+
+---
+
+## New Features
+
+### Dependency Injection
+
+Alamofire 3.0 leverages [dependency injection](https://en.wikipedia.org/wiki/Dependency_injection) to allow some powerful new customizations to take place for the URL session and delegate.
+
+#### Session Delegate
+
+In previous versions of Alamofire, the `SessionDelegate` was automatically created by the `Manager` instance. While this is convenient, it can be problematic for background sessions. One may need to hook up the task override closures before instantiating the URL session. Otherwise the URL session delegate could be called before the task override closures are able to be set.
+
+In Alamofire 3.0, the `Manager` initializer adds the ability to provide a custom `SessionDelegate` object with the task override closures already set using dependency injection. This greatly increases the flexibility of Alamofire in regards to background sessions.
+
+```swift
+public init(
+    configuration: NSURLSessionConfiguration = NSURLSessionConfiguration.defaultSessionConfiguration(),
+    delegate: SessionDelegate = SessionDelegate(),
+    serverTrustPolicyManager: ServerTrustPolicyManager? = nil)
+{
+    self.delegate = delegate
+    self.session = NSURLSession(configuration: configuration, delegate: delegate, delegateQueue: nil)
+
+    commonInit(serverTrustPolicyManager: serverTrustPolicyManager)
+}
+```
+
+#### URL Session 
+
+Alamofire 3.0 also adds the ability to use dependency injection to provide a custom `NSURLSession` to the `Manager` instance. This provides complete control over the URL session initialization if you need it allowing `NSURLSession` subclasses for various kinds of testing and DVR implementations.
+
+```swift
+public init?(
+    session: NSURLSession,
+    delegate: SessionDelegate,
+    serverTrustPolicyManager: ServerTrustPolicyManager? = nil)
+{
+    self.delegate = delegate
+    self.session = session
+
+    guard delegate === session.delegate else { return nil }
+
+    commonInit(serverTrustPolicyManager: serverTrustPolicyManager)
+}
+```
+
+> We're very excited to see what the community comes up with given these new possibilities with Alamofire 3.0.
diff --git a/swift/Alamofire-3.3.0/Example/Resources/Base.lproj/Main.storyboard b/swift/Alamofire-3.3.0/Example/Resources/Base.lproj/Main.storyboard
new file mode 100755
index 0000000..6f3cd58
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Example/Resources/Base.lproj/Main.storyboard
@@ -0,0 +1,342 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="9532" systemVersion="15D21" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="H1p-Uh-vWS">
+    <dependencies>
+        <deployment identifier="iOS"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9530"/>
+    </dependencies>
+    <scenes>
+        <!--Master-->
+        <scene sceneID="pY4-Hu-kfo">
+            <objects>
+                <navigationController title="Master" id="RMx-3f-FxP" sceneMemberID="viewController">
+                    <navigationBar key="navigationBar" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" id="Pmd-2v-anx">
+                        <autoresizingMask key="autoresizingMask"/>
+                    </navigationBar>
+                    <connections>
+                        <segue destination="7bK-jq-Zjz" kind="relationship" relationship="rootViewController" id="tsl-Nk-0bq"/>
+                    </connections>
+                </navigationController>
+                <placeholder placeholderIdentifier="IBFirstResponder" id="8fS-aE-onr" sceneMemberID="firstResponder"/>
+            </objects>
+            <point key="canvasLocation" x="-38" y="-630"/>
+        </scene>
+        <!--Split View Controller-->
+        <scene sceneID="Nki-YV-4Qg">
+            <objects>
+                <splitViewController id="H1p-Uh-vWS" sceneMemberID="viewController">
+                    <toolbarItems/>
+                    <connections>
+                        <segue destination="RMx-3f-FxP" kind="relationship" relationship="masterViewController" id="BlO-5A-QYV"/>
+                        <segue destination="vC3-pB-5Vb" kind="relationship" relationship="detailViewController" id="Tll-UG-LXB"/>
+                    </connections>
+                </splitViewController>
+                <placeholder placeholderIdentifier="IBFirstResponder" id="cZU-Oi-B1e" sceneMemberID="firstResponder"/>
+            </objects>
+            <point key="canvasLocation" x="-687" y="-322"/>
+        </scene>
+        <!--Master-->
+        <scene sceneID="smW-Zh-WAh">
+            <objects>
+                <tableViewController title="Master" clearsSelectionOnViewWillAppear="NO" id="7bK-jq-Zjz" customClass="MasterViewController" customModule="iOS_Example" customModuleProvider="target" sceneMemberID="viewController">
+                    <tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="static" style="grouped" separatorStyle="default" rowHeight="44" sectionHeaderHeight="10" sectionFooterHeight="10" id="r7i-6Z-zg0">
+                        <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
+                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+                        <color key="backgroundColor" red="0.93725490196078431" green="0.93725490196078431" blue="0.95686274509803926" alpha="1" colorSpace="calibratedRGB"/>
+                        <sections>
+                            <tableViewSection headerTitle="Data" id="8cQ-ii-Dz7">
+                                <cells>
+                                    <tableViewCell contentMode="scaleToFill" selectionStyle="blue" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="Cell" textLabel="Arm-wq-HPj" style="IBUITableViewCellStyleDefault" id="WCw-Qf-5nD">
+                                        <rect key="frame" x="0.0" y="114" width="600" height="44"/>
+                                        <autoresizingMask key="autoresizingMask"/>
+                                        <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="WCw-Qf-5nD" id="37f-cq-3Eg">
+                                            <rect key="frame" x="0.0" y="0.0" width="567" height="43"/>
+                                            <autoresizingMask key="autoresizingMask"/>
+                                            <subviews>
+                                                <label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" text="GET Request" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="Arm-wq-HPj">
+                                                    <rect key="frame" x="15" y="0.0" width="550" height="43"/>
+                                                    <autoresizingMask key="autoresizingMask"/>
+                                                    <fontDescription key="fontDescription" type="boldSystem" pointSize="20"/>
+                                                    <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
+                                                    <color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
+                                                </label>
+                                            </subviews>
+                                        </tableViewCellContentView>
+                                        <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
+                                        <connections>
+                                            <segue destination="vC3-pB-5Vb" kind="showDetail" identifier="GET" id="1CM-sC-jmU"/>
+                                        </connections>
+                                    </tableViewCell>
+                                    <tableViewCell contentMode="scaleToFill" selectionStyle="blue" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="Cell" textLabel="kv2-3k-J9w" style="IBUITableViewCellStyleDefault" id="Bba-qf-fdr">
+                                        <rect key="frame" x="0.0" y="158" width="600" height="44"/>
+                                        <autoresizingMask key="autoresizingMask"/>
+                                        <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="Bba-qf-fdr" id="U5U-eQ-rXg">
+                                            <rect key="frame" x="0.0" y="0.0" width="567" height="43"/>
+                                            <autoresizingMask key="autoresizingMask"/>
+                                            <subviews>
+                                                <label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" text="POST Request" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="kv2-3k-J9w">
+                                                    <rect key="frame" x="15" y="0.0" width="550" height="43"/>
+                                                    <autoresizingMask key="autoresizingMask"/>
+                                                    <fontDescription key="fontDescription" type="boldSystem" pointSize="20"/>
+                                                    <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
+                                                    <color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
+                                                </label>
+                                            </subviews>
+                                        </tableViewCellContentView>
+                                        <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
+                                        <connections>
+                                            <segue destination="vC3-pB-5Vb" kind="showDetail" identifier="POST" id="qtJ-N8-1Yf"/>
+                                        </connections>
+                                    </tableViewCell>
+                                    <tableViewCell contentMode="scaleToFill" selectionStyle="blue" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="Cell" textLabel="gGF-bI-vhg" style="IBUITableViewCellStyleDefault" id="QdK-ID-hbj">
+                                        <rect key="frame" x="0.0" y="202" width="600" height="44"/>
+                                        <autoresizingMask key="autoresizingMask"/>
+                                        <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="QdK-ID-hbj" id="JxT-sx-VDC">
+                                            <rect key="frame" x="0.0" y="0.0" width="567" height="43"/>
+                                            <autoresizingMask key="autoresizingMask"/>
+                                            <subviews>
+                                                <label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" text="PUT Request" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="gGF-bI-vhg">
+                                                    <rect key="frame" x="15" y="0.0" width="550" height="43"/>
+                                                    <autoresizingMask key="autoresizingMask"/>
+                                                    <fontDescription key="fontDescription" type="boldSystem" pointSize="20"/>
+                                                    <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
+                                                    <color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
+                                                </label>
+                                            </subviews>
+                                        </tableViewCellContentView>
+                                        <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
+                                        <connections>
+                                            <segue destination="vC3-pB-5Vb" kind="showDetail" identifier="PUT" id="ATO-2Y-gmc"/>
+                                        </connections>
+                                    </tableViewCell>
+                                    <tableViewCell contentMode="scaleToFill" selectionStyle="blue" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="Cell" textLabel="jsW-Zp-fZf" style="IBUITableViewCellStyleDefault" id="Mmy-5X-lLC">
+                                        <rect key="frame" x="0.0" y="246" width="600" height="44"/>
+                                        <autoresizingMask key="autoresizingMask"/>
+                                        <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="Mmy-5X-lLC" id="0eC-Qc-fq1">
+                                            <rect key="frame" x="0.0" y="0.0" width="567" height="43"/>
+                                            <autoresizingMask key="autoresizingMask"/>
+                                            <subviews>
+                                                <label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" text="DELETE Request" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="jsW-Zp-fZf">
+                                                    <rect key="frame" x="15" y="0.0" width="550" height="43"/>
+                                                    <autoresizingMask key="autoresizingMask"/>
+                                                    <fontDescription key="fontDescription" type="boldSystem" pointSize="20"/>
+                                                    <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
+                                                    <color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
+                                                </label>
+                                            </subviews>
+                                        </tableViewCellContentView>
+                                        <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
+                                        <connections>
+                                            <segue destination="vC3-pB-5Vb" kind="showDetail" identifier="DELETE" id="FoU-a6-nga"/>
+                                        </connections>
+                                    </tableViewCell>
+                                </cells>
+                            </tableViewSection>
+                            <tableViewSection headerTitle="Upload" id="HR4-nh-1dM">
+                                <cells>
+                                    <tableViewCell contentMode="scaleToFill" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationWidth="0.0" reuseIdentifier="Cell" textLabel="tFv-wn-QTG" style="IBUITableViewCellStyleDefault" id="cNY-Vx-8u5">
+                                        <rect key="frame" x="0.0" y="333" width="600" height="44"/>
+                                        <autoresizingMask key="autoresizingMask"/>
+                                        <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="cNY-Vx-8u5" id="yYR-YT-Fse">
+                                            <rect key="frame" x="0.0" y="0.0" width="600" height="43"/>
+                                            <autoresizingMask key="autoresizingMask"/>
+                                            <subviews>
+                                                <label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" text="Upload Data" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="tFv-wn-QTG">
+                                                    <rect key="frame" x="15" y="0.0" width="570" height="43"/>
+                                                    <autoresizingMask key="autoresizingMask"/>
+                                                    <fontDescription key="fontDescription" type="boldSystem" pointSize="20"/>
+                                                    <color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
+                                                    <color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
+                                                </label>
+                                            </subviews>
+                                        </tableViewCellContentView>
+                                        <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
+                                    </tableViewCell>
+                                    <tableViewCell contentMode="scaleToFill" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="Cell" textLabel="Ii5-Vh-zHX" style="IBUITableViewCellStyleDefault" id="xgg-BT-6Gr">
+                                        <rect key="frame" x="0.0" y="377" width="600" height="44"/>
+                                        <autoresizingMask key="autoresizingMask"/>
+                                        <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="xgg-BT-6Gr" id="2eT-D2-puB">
+                                            <rect key="frame" x="0.0" y="0.0" width="600" height="43"/>
+                                            <autoresizingMask key="autoresizingMask"/>
+                                            <subviews>
+                                                <label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" text="Upload File" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="Ii5-Vh-zHX">
+                                                    <rect key="frame" x="15" y="0.0" width="570" height="43"/>
+                                                    <autoresizingMask key="autoresizingMask"/>
+                                                    <fontDescription key="fontDescription" type="boldSystem" pointSize="20"/>
+                                                    <color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
+                                                    <color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
+                                                </label>
+                                            </subviews>
+                                        </tableViewCellContentView>
+                                        <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
+                                    </tableViewCell>
+                                    <tableViewCell contentMode="scaleToFill" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="Cell" textLabel="gzG-92-x5R" style="IBUITableViewCellStyleDefault" id="jNV-fh-84v">
+                                        <rect key="frame" x="0.0" y="421" width="600" height="44"/>
+                                        <autoresizingMask key="autoresizingMask"/>
+                                        <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="jNV-fh-84v" id="52u-Fk-l5Q">
+                                            <rect key="frame" x="0.0" y="0.0" width="600" height="43"/>
+                                            <autoresizingMask key="autoresizingMask"/>
+                                            <subviews>
+                                                <label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" text="Upload Stream" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="gzG-92-x5R">
+                                                    <rect key="frame" x="15" y="0.0" width="570" height="43"/>
+                                                    <autoresizingMask key="autoresizingMask"/>
+                                                    <fontDescription key="fontDescription" type="boldSystem" pointSize="20"/>
+                                                    <color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
+                                                    <color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
+                                                </label>
+                                            </subviews>
+                                        </tableViewCellContentView>
+                                        <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
+                                    </tableViewCell>
+                                </cells>
+                            </tableViewSection>
+                            <tableViewSection headerTitle="Download" id="7nc-cQ-nUY">
+                                <cells>
+                                    <tableViewCell contentMode="scaleToFill" selectionStyle="blue" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="Cell" textLabel="Gr3-i1-tdE" style="IBUITableViewCellStyleDefault" id="khw-Sk-LOc">
+                                        <rect key="frame" x="0.0" y="508" width="600" height="44"/>
+                                        <autoresizingMask key="autoresizingMask"/>
+                                        <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="khw-Sk-LOc" id="HO7-NM-pbP">
+                                            <rect key="frame" x="0.0" y="0.0" width="567" height="43"/>
+                                            <autoresizingMask key="autoresizingMask"/>
+                                            <subviews>
+                                                <label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" text="Download Request" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="Gr3-i1-tdE">
+                                                    <rect key="frame" x="15" y="0.0" width="550" height="43"/>
+                                                    <autoresizingMask key="autoresizingMask"/>
+                                                    <fontDescription key="fontDescription" type="boldSystem" pointSize="20"/>
+                                                    <color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
+                                                </label>
+                                            </subviews>
+                                        </tableViewCellContentView>
+                                        <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
+                                        <connections>
+                                            <segue destination="vC3-pB-5Vb" kind="showDetail" identifier="DOWNLOAD" id="R3Y-Dw-Jtc"/>
+                                        </connections>
+                                    </tableViewCell>
+                                    <tableViewCell contentMode="scaleToFill" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="Cell" textLabel="fmT-qD-bf2" style="IBUITableViewCellStyleDefault" id="8hK-B8-VMy">
+                                        <rect key="frame" x="0.0" y="552" width="600" height="44"/>
+                                        <autoresizingMask key="autoresizingMask"/>
+                                        <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="8hK-B8-VMy" id="bfY-jx-lTE">
+                                            <rect key="frame" x="0.0" y="0.0" width="600" height="43"/>
+                                            <autoresizingMask key="autoresizingMask"/>
+                                            <subviews>
+                                                <label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" text="Download Resume Data" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="fmT-qD-bf2">
+                                                    <rect key="frame" x="15" y="0.0" width="570" height="43"/>
+                                                    <autoresizingMask key="autoresizingMask"/>
+                                                    <fontDescription key="fontDescription" type="boldSystem" pointSize="20"/>
+                                                    <color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="calibratedWhite"/>
+                                                    <color key="highlightedColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
+                                                </label>
+                                            </subviews>
+                                        </tableViewCellContentView>
+                                        <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
+                                    </tableViewCell>
+                                </cells>
+                            </tableViewSection>
+                        </sections>
+                        <connections>
+                            <outlet property="dataSource" destination="7bK-jq-Zjz" id="Gho-Na-rnu"/>
+                            <outlet property="delegate" destination="7bK-jq-Zjz" id="RA6-mI-bju"/>
+                        </connections>
+                    </tableView>
+                    <navigationItem key="navigationItem" id="Zdf-7t-Un8"/>
+                    <connections>
+                        <outlet property="titleImageView" destination="9c8-WZ-jVF" id="jvG-Sa-nSG"/>
+                    </connections>
+                </tableViewController>
+                <placeholder placeholderIdentifier="IBFirstResponder" id="Rux-fX-hf1" sceneMemberID="firstResponder"/>
+                <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Logo" id="9c8-WZ-jVF">
+                    <rect key="frame" x="0.0" y="0.0" width="250" height="40"/>
+                    <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+                </imageView>
+            </objects>
+            <point key="canvasLocation" x="604" y="-630"/>
+        </scene>
+        <!--Navigation Controller-->
+        <scene sceneID="r7l-gg-dq7">
+            <objects>
+                <navigationController id="vC3-pB-5Vb" sceneMemberID="viewController">
+                    <navigationBar key="navigationBar" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" id="DjV-YW-jjY">
+                        <autoresizingMask key="autoresizingMask"/>
+                    </navigationBar>
+                    <connections>
+                        <segue destination="hay-0o-6iw" kind="relationship" relationship="rootViewController" id="bmM-Kc-6qk"/>
+                    </connections>
+                </navigationController>
+                <placeholder placeholderIdentifier="IBFirstResponder" id="SLD-UC-DBI" userLabel="First Responder" sceneMemberID="firstResponder"/>
+            </objects>
+            <point key="canvasLocation" x="-38" y="30"/>
+        </scene>
+        <!--Detail View Controller-->
+        <scene sceneID="Vi6-fp-rZb">
+            <objects>
+                <tableViewController id="hay-0o-6iw" customClass="DetailViewController" customModule="iOS_Example" customModuleProvider="target" sceneMemberID="viewController">
+                    <tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="grouped" separatorStyle="default" allowsSelection="NO" rowHeight="44" sectionHeaderHeight="10" sectionFooterHeight="10" id="uo9-Sd-Gpr">
+                        <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
+                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+                        <color key="backgroundColor" red="0.93725490196078431" green="0.93725490196078431" blue="0.95686274509803926" alpha="1" colorSpace="calibratedRGB"/>
+                        <prototypes>
+                            <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="Header" textLabel="CVi-D2-cds" detailTextLabel="Umi-gS-7r0" style="IBUITableViewCellStyleValue1" id="tsM-dO-McZ">
+                                <rect key="frame" x="0.0" y="114" width="600" height="44"/>
+                                <autoresizingMask key="autoresizingMask"/>
+                                <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="tsM-dO-McZ" id="LQw-cm-GmU">
+                                    <rect key="frame" x="0.0" y="0.0" width="600" height="43"/>
+                                    <autoresizingMask key="autoresizingMask"/>
+                                    <subviews>
+                                        <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" text="Accept" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="CVi-D2-cds">
+                                            <rect key="frame" x="15" y="12" width="52" height="20"/>
+                                            <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+                                            <fontDescription key="fontDescription" type="system" pointSize="16"/>
+                                            <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
+                                            <nil key="highlightedColor"/>
+                                        </label>
+                                        <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" text="&quot;text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8&quot;" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="Umi-gS-7r0">
+                                            <rect key="frame" x="112" y="12" width="473" height="20"/>
+                                            <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+                                            <fontDescription key="fontDescription" type="system" pointSize="16"/>
+                                            <color key="textColor" red="0.55686274509803924" green="0.55686274509803924" blue="0.57647058823529407" alpha="1" colorSpace="calibratedRGB"/>
+                                            <nil key="highlightedColor"/>
+                                        </label>
+                                    </subviews>
+                                </tableViewCellContentView>
+                            </tableViewCell>
+                            <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="Body" textLabel="m1f-qP-FlJ" rowHeight="119" style="IBUITableViewCellStyleDefault" id="N0t-UM-UX3">
+                                <rect key="frame" x="0.0" y="158" width="600" height="119"/>
+                                <autoresizingMask key="autoresizingMask"/>
+                                <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="N0t-UM-UX3" id="AxK-Aj-qDS">
+                                    <rect key="frame" x="0.0" y="0.0" width="600" height="118"/>
+                                    <autoresizingMask key="autoresizingMask"/>
+                                    <subviews>
+                                        <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="m1f-qP-FlJ">
+                                            <rect key="frame" x="15" y="0.0" width="570" height="118"/>
+                                            <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+                                            <string key="text">Lorem ipsum dolor sit er elit lamet, consectetaur cillium adipisicing pecu, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Nam liber te conscient to factor tum poen legum odioque civiuda.</string>
+                                            <fontDescription key="fontDescription" name="Courier" family="Courier" pointSize="12"/>
+                                            <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
+                                            <nil key="highlightedColor"/>
+                                        </label>
+                                    </subviews>
+                                </tableViewCellContentView>
+                            </tableViewCell>
+                        </prototypes>
+                        <connections>
+                            <outlet property="dataSource" destination="hay-0o-6iw" id="U5L-JB-xfD"/>
+                            <outlet property="delegate" destination="hay-0o-6iw" id="N4n-xl-uSD"/>
+                        </connections>
+                    </tableView>
+                    <navigationItem key="navigationItem" id="ovN-S0-oAU"/>
+                    <refreshControl key="refreshControl" opaque="NO" multipleTouchEnabled="YES" contentMode="center" enabled="NO" contentHorizontalAlignment="center" contentVerticalAlignment="center" id="e6J-W5-mRs">
+                        <autoresizingMask key="autoresizingMask"/>
+                    </refreshControl>
+                </tableViewController>
+                <placeholder placeholderIdentifier="IBFirstResponder" id="vwc-ms-sMM" userLabel="First Responder" sceneMemberID="firstResponder"/>
+            </objects>
+            <point key="canvasLocation" x="604" y="30"/>
+        </scene>
+    </scenes>
+    <resources>
+        <image name="Logo" width="250" height="40"/>
+    </resources>
+    <inferredMetricsTieBreakers>
+        <segue reference="R3Y-Dw-Jtc"/>
+    </inferredMetricsTieBreakers>
+    <color key="tintColor" red="0.84313732385635376" green="0.25882354378700256" blue="0.11372549831867218" alpha="1" colorSpace="deviceRGB"/>
+</document>
diff --git a/swift/Alamofire-3.3.0/Example/Resources/Images.xcassets/AppIcon.appiconset/Contents.json b/swift/Alamofire-3.3.0/Example/Resources/Images.xcassets/AppIcon.appiconset/Contents.json
new file mode 100755
index 0000000..eeea76c
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Example/Resources/Images.xcassets/AppIcon.appiconset/Contents.json
@@ -0,0 +1,73 @@
+{
+  "images" : [
+    {
+      "idiom" : "iphone",
+      "size" : "29x29",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "iphone",
+      "size" : "29x29",
+      "scale" : "3x"
+    },
+    {
+      "idiom" : "iphone",
+      "size" : "40x40",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "iphone",
+      "size" : "40x40",
+      "scale" : "3x"
+    },
+    {
+      "idiom" : "iphone",
+      "size" : "60x60",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "iphone",
+      "size" : "60x60",
+      "scale" : "3x"
+    },
+    {
+      "idiom" : "ipad",
+      "size" : "29x29",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "ipad",
+      "size" : "29x29",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "ipad",
+      "size" : "40x40",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "ipad",
+      "size" : "40x40",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "ipad",
+      "size" : "76x76",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "ipad",
+      "size" : "76x76",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "ipad",
+      "size" : "83.5x83.5",
+      "scale" : "2x"
+    }
+  ],
+  "info" : {
+    "version" : 1,
+    "author" : "xcode"
+  }
+}
\ No newline at end of file
diff --git a/swift/Alamofire-3.3.0/Example/Resources/Images.xcassets/LaunchImage.launchimage/Contents.json b/swift/Alamofire-3.3.0/Example/Resources/Images.xcassets/LaunchImage.launchimage/Contents.json
new file mode 100755
index 0000000..6f870a4
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Example/Resources/Images.xcassets/LaunchImage.launchimage/Contents.json
@@ -0,0 +1,51 @@
+{
+  "images" : [
+    {
+      "orientation" : "portrait",
+      "idiom" : "iphone",
+      "extent" : "full-screen",
+      "minimum-system-version" : "7.0",
+      "scale" : "2x"
+    },
+    {
+      "orientation" : "portrait",
+      "idiom" : "iphone",
+      "subtype" : "retina4",
+      "extent" : "full-screen",
+      "minimum-system-version" : "7.0",
+      "scale" : "2x"
+    },
+    {
+      "orientation" : "portrait",
+      "idiom" : "ipad",
+      "extent" : "full-screen",
+      "minimum-system-version" : "7.0",
+      "scale" : "1x"
+    },
+    {
+      "orientation" : "landscape",
+      "idiom" : "ipad",
+      "extent" : "full-screen",
+      "minimum-system-version" : "7.0",
+      "scale" : "1x"
+    },
+    {
+      "orientation" : "portrait",
+      "idiom" : "ipad",
+      "extent" : "full-screen",
+      "minimum-system-version" : "7.0",
+      "scale" : "2x"
+    },
+    {
+      "orientation" : "landscape",
+      "idiom" : "ipad",
+      "extent" : "full-screen",
+      "minimum-system-version" : "7.0",
+      "scale" : "2x"
+    }
+  ],
+  "info" : {
+    "version" : 1,
+    "author" : "xcode"
+  }
+}
\ No newline at end of file
diff --git a/swift/Alamofire-3.3.0/Example/Resources/Images.xcassets/Logo.imageset/Contents.json b/swift/Alamofire-3.3.0/Example/Resources/Images.xcassets/Logo.imageset/Contents.json
new file mode 100755
index 0000000..bd086a5
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Example/Resources/Images.xcassets/Logo.imageset/Contents.json
@@ -0,0 +1,22 @@
+{
+  "images" : [
+    {
+      "idiom" : "universal",
+      "filename" : "Logo.png",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "universal",
+      "filename" : "Logo@2x.png",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "universal",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "version" : 1,
+    "author" : "xcode"
+  }
+}
\ No newline at end of file
diff --git a/swift/Alamofire-3.3.0/Example/Resources/Images.xcassets/Logo.imageset/Logo.png b/swift/Alamofire-3.3.0/Example/Resources/Images.xcassets/Logo.imageset/Logo.png
new file mode 100755
index 0000000..4060979
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Example/Resources/Images.xcassets/Logo.imageset/Logo.png
Binary files differ
diff --git a/swift/Alamofire-3.3.0/Example/Resources/Images.xcassets/Logo.imageset/Logo@2x.png b/swift/Alamofire-3.3.0/Example/Resources/Images.xcassets/Logo.imageset/Logo@2x.png
new file mode 100755
index 0000000..adbb083
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Example/Resources/Images.xcassets/Logo.imageset/Logo@2x.png
Binary files differ
diff --git a/swift/Alamofire-3.3.0/Example/Resources/Info.plist b/swift/Alamofire-3.3.0/Example/Resources/Info.plist
new file mode 100755
index 0000000..9f0225e
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Example/Resources/Info.plist
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>CFBundleDevelopmentRegion</key>
+	<string>en</string>
+	<key>CFBundleExecutable</key>
+	<string>$(EXECUTABLE_NAME)</string>
+	<key>CFBundleIdentifier</key>
+	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
+	<key>CFBundleInfoDictionaryVersion</key>
+	<string>6.0</string>
+	<key>CFBundleName</key>
+	<string>Alamofire</string>
+	<key>CFBundlePackageType</key>
+	<string>APPL</string>
+	<key>CFBundleShortVersionString</key>
+	<string>1.0</string>
+	<key>CFBundleSignature</key>
+	<string>????</string>
+	<key>CFBundleVersion</key>
+	<string>1</string>
+	<key>LSRequiresIPhoneOS</key>
+	<true/>
+	<key>UIMainStoryboardFile</key>
+	<string>Main</string>
+    <key>UILaunchStoryboardName</key>
+    <string>LaunchScreen</string>
+	<key>UIRequiredDeviceCapabilities</key>
+	<array>
+		<string>armv7</string>
+	</array>
+	<key>UIStatusBarTintParameters</key>
+	<dict>
+		<key>UINavigationBar</key>
+		<dict>
+			<key>Style</key>
+			<string>UIBarStyleDefault</string>
+			<key>Translucent</key>
+			<false/>
+		</dict>
+	</dict>
+	<key>UISupportedInterfaceOrientations</key>
+	<array>
+		<string>UIInterfaceOrientationPortrait</string>
+		<string>UIInterfaceOrientationLandscapeLeft</string>
+		<string>UIInterfaceOrientationLandscapeRight</string>
+	</array>
+	<key>UISupportedInterfaceOrientations~ipad</key>
+	<array>
+		<string>UIInterfaceOrientationPortrait</string>
+		<string>UIInterfaceOrientationPortraitUpsideDown</string>
+		<string>UIInterfaceOrientationLandscapeLeft</string>
+		<string>UIInterfaceOrientationLandscapeRight</string>
+	</array>
+</dict>
+</plist>
diff --git a/swift/Alamofire-3.3.0/Example/Source/AppDelegate.swift b/swift/Alamofire-3.3.0/Example/Source/AppDelegate.swift
new file mode 100755
index 0000000..4690d4b
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Example/Source/AppDelegate.swift
@@ -0,0 +1,61 @@
+// AppDelegate.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import UIKit
+
+@UIApplicationMain
+class AppDelegate: UIResponder, UIApplicationDelegate, UISplitViewControllerDelegate {
+
+    var window: UIWindow?
+
+    // MARK: - UIApplicationDelegate
+
+    func application(
+        application: UIApplication,
+        didFinishLaunchingWithOptions launchOptions: [NSObject : AnyObject]?)
+        -> Bool
+    {
+        let splitViewController = window!.rootViewController as! UISplitViewController
+        let navigationController = splitViewController.viewControllers.last as! UINavigationController
+        navigationController.topViewController!.navigationItem.leftBarButtonItem = splitViewController.displayModeButtonItem()
+        splitViewController.delegate = self
+
+        return true
+    }
+
+    // MARK: - UISplitViewControllerDelegate
+
+    func splitViewController(
+        splitViewController: UISplitViewController,
+        collapseSecondaryViewController secondaryViewController: UIViewController,
+        ontoPrimaryViewController primaryViewController: UIViewController)
+        -> Bool
+    {
+        if let secondaryAsNavController = secondaryViewController as? UINavigationController {
+            if let topAsDetailController = secondaryAsNavController.topViewController as? DetailViewController {
+                return topAsDetailController.request == nil
+            }
+        }
+
+        return false
+    }
+}
diff --git a/swift/Alamofire-3.3.0/Example/Source/DetailViewController.swift b/swift/Alamofire-3.3.0/Example/Source/DetailViewController.swift
new file mode 100755
index 0000000..5e53e1f
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Example/Source/DetailViewController.swift
@@ -0,0 +1,202 @@
+// DetailViewController.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import Alamofire
+import UIKit
+
+class DetailViewController: UITableViewController {
+    enum Sections: Int {
+        case Headers, Body
+    }
+
+    var request: Alamofire.Request? {
+        didSet {
+            oldValue?.cancel()
+
+            title = request?.description
+            refreshControl?.endRefreshing()
+            headers.removeAll()
+            body = nil
+            elapsedTime = nil
+        }
+    }
+
+    var headers: [String: String] = [:]
+    var body: String?
+    var elapsedTime: NSTimeInterval?
+    var segueIdentifier: String?
+
+    static let numberFormatter: NSNumberFormatter = {
+        let formatter = NSNumberFormatter()
+        formatter.numberStyle = .DecimalStyle
+        return formatter
+    }()
+
+    // MARK: View Lifecycle
+
+    override func awakeFromNib() {
+        super.awakeFromNib()
+        refreshControl?.addTarget(self, action: #selector(DetailViewController.refresh), forControlEvents: .ValueChanged)
+    }
+
+    override func viewDidAppear(animated: Bool) {
+        super.viewDidAppear(animated)
+        refresh()
+    }
+
+    // MARK: IBActions
+
+    @IBAction func refresh() {
+        guard let request = request else {
+            return
+        }
+
+        refreshControl?.beginRefreshing()
+
+        let start = CACurrentMediaTime()
+        request.responseString { response in
+            let end = CACurrentMediaTime()
+            self.elapsedTime = end - start
+
+            if let response = response.response {
+                for (field, value) in response.allHeaderFields {
+                    self.headers["\(field)"] = "\(value)"
+                }
+            }
+
+            if let segueIdentifier = self.segueIdentifier {
+                switch segueIdentifier {
+                case "GET", "POST", "PUT", "DELETE":
+                    self.body = response.result.value
+                case "DOWNLOAD":
+                    self.body = self.downloadedBodyString()
+                default:
+                    break
+                }
+            }
+
+            self.tableView.reloadData()
+            self.refreshControl?.endRefreshing()
+        }
+    }
+
+    private func downloadedBodyString() -> String {
+        let fileManager = NSFileManager.defaultManager()
+        let cachesDirectory = fileManager.URLsForDirectory(.CachesDirectory, inDomains: .UserDomainMask)[0]
+
+        do {
+            let contents = try fileManager.contentsOfDirectoryAtURL(
+                cachesDirectory,
+                includingPropertiesForKeys: nil,
+                options: .SkipsHiddenFiles
+            )
+
+            if let
+                fileURL = contents.first,
+                data = NSData(contentsOfURL: fileURL)
+            {
+                let json = try NSJSONSerialization.JSONObjectWithData(data, options: NSJSONReadingOptions())
+                let prettyData = try NSJSONSerialization.dataWithJSONObject(json, options: .PrettyPrinted)
+
+                if let prettyString = NSString(data: prettyData, encoding: NSUTF8StringEncoding) as? String {
+                    try fileManager.removeItemAtURL(fileURL)
+                    return prettyString
+                }
+            }
+        } catch {
+            // No-op
+        }
+
+        return ""
+    }
+}
+
+// MARK: - UITableViewDataSource
+
+extension DetailViewController {
+    override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
+        switch Sections(rawValue: section)! {
+        case .Headers:
+            return headers.count
+        case .Body:
+            return body == nil ? 0 : 1
+        }
+    }
+
+    override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
+        switch Sections(rawValue: indexPath.section)! {
+        case .Headers:
+            let cell = tableView.dequeueReusableCellWithIdentifier("Header")!
+            let field = headers.keys.sort(<)[indexPath.row]
+            let value = headers[field]
+
+            cell.textLabel?.text = field
+            cell.detailTextLabel?.text = value
+
+            return cell
+        case .Body:
+            let cell = tableView.dequeueReusableCellWithIdentifier("Body")!
+            cell.textLabel?.text = body
+
+            return cell
+        }
+    }
+}
+
+// MARK: - UITableViewDelegate
+
+extension DetailViewController {
+    override func numberOfSectionsInTableView(tableView: UITableView) -> Int {
+        return 2
+    }
+
+    override func tableView(tableView: UITableView, titleForHeaderInSection section: Int) -> String? {
+        if self.tableView(tableView, numberOfRowsInSection: section) == 0 {
+            return ""
+        }
+
+        switch Sections(rawValue: section)! {
+        case .Headers:
+            return "Headers"
+        case .Body:
+            return "Body"
+        }
+    }
+
+    override func tableView(tableView: UITableView, heightForRowAtIndexPath indexPath: NSIndexPath) -> CGFloat {
+        switch Sections(rawValue: indexPath.section)! {
+        case .Body:
+            return 300
+        default:
+            return tableView.rowHeight
+        }
+    }
+
+    override func tableView(tableView: UITableView, titleForFooterInSection section: Int) -> String? {
+        if Sections(rawValue: section) == .Body, let elapsedTime = elapsedTime {
+            let elapsedTimeText = DetailViewController.numberFormatter.stringFromNumber(elapsedTime) ?? "???"
+            return "Elapsed Time: \(elapsedTimeText) sec"
+        }
+
+        return ""
+    }
+}
diff --git a/swift/Alamofire-3.3.0/Example/Source/MasterViewController.swift b/swift/Alamofire-3.3.0/Example/Source/MasterViewController.swift
new file mode 100755
index 0000000..5a69799
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Example/Source/MasterViewController.swift
@@ -0,0 +1,95 @@
+// MasterViewController.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import Alamofire
+import UIKit
+
+class MasterViewController: UITableViewController {
+
+    @IBOutlet weak var titleImageView: UIImageView!
+
+    var detailViewController: DetailViewController? = nil
+    var objects = NSMutableArray()
+
+    // MARK: - View Lifecycle
+
+    override func awakeFromNib() {
+        super.awakeFromNib()
+
+        navigationItem.titleView = titleImageView
+    }
+
+    override func viewDidLoad() {
+        super.viewDidLoad()
+
+        if let split = splitViewController {
+            let controllers = split.viewControllers
+
+            if let
+                navigationController = controllers.last as? UINavigationController,
+                topViewController = navigationController.topViewController as? DetailViewController
+            {
+                detailViewController = topViewController
+            }
+        }
+    }
+
+    // MARK: - UIStoryboardSegue
+
+    override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
+        if let
+            navigationController = segue.destinationViewController as? UINavigationController,
+            detailViewController = navigationController.topViewController as? DetailViewController
+        {
+            func requestForSegue(segue: UIStoryboardSegue) -> Request? {
+                switch segue.identifier! {
+                case "GET":
+                    detailViewController.segueIdentifier = "GET"
+                    return Alamofire.request(.GET, "https://httpbin.org/get")
+                case "POST":
+                    detailViewController.segueIdentifier = "POST"
+                    return Alamofire.request(.POST, "https://httpbin.org/post")
+                case "PUT":
+                    detailViewController.segueIdentifier = "PUT"
+                    return Alamofire.request(.PUT, "https://httpbin.org/put")
+                case "DELETE":
+                    detailViewController.segueIdentifier = "DELETE"
+                    return Alamofire.request(.DELETE, "https://httpbin.org/delete")
+                case "DOWNLOAD":
+                    detailViewController.segueIdentifier = "DOWNLOAD"
+                    let destination = Alamofire.Request.suggestedDownloadDestination(
+                        directory: .CachesDirectory,
+                        domain: .UserDomainMask
+                    )
+                    return Alamofire.download(.GET, "https://httpbin.org/stream/1", destination: destination)
+                default:
+                    return nil
+                }
+            }
+
+            if let request = requestForSegue(segue) {
+                detailViewController.request = request
+            }
+        }
+    }
+}
+
diff --git a/swift/Alamofire-3.3.0/Example/iOS Example.xcodeproj/project.pbxproj b/swift/Alamofire-3.3.0/Example/iOS Example.xcodeproj/project.pbxproj
new file mode 100755
index 0000000..083ae51
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Example/iOS Example.xcodeproj/project.pbxproj
@@ -0,0 +1,468 @@
+// !$*UTF8*$!
+{
+	archiveVersion = 1;
+	classes = {
+	};
+	objectVersion = 46;
+	objects = {
+
+/* Begin PBXBuildFile section */
+		31E476821C55DE6D00968569 /* Alamofire.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 31E4766A1C55DD5900968569 /* Alamofire.framework */; };
+		31E476831C55DE6D00968569 /* Alamofire.framework in Copy Frameworks */ = {isa = PBXBuildFile; fileRef = 31E4766A1C55DD5900968569 /* Alamofire.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
+		4C6D2C801C67EFE100846168 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C6D2C7D1C67EFE100846168 /* AppDelegate.swift */; };
+		4C6D2C811C67EFE100846168 /* DetailViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C6D2C7E1C67EFE100846168 /* DetailViewController.swift */; };
+		4C6D2C821C67EFE100846168 /* MasterViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4C6D2C7F1C67EFE100846168 /* MasterViewController.swift */; };
+		4C6D2C8F1C67EFEC00846168 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 4C6D2C8C1C67EFEC00846168 /* Images.xcassets */; };
+		4C6D2C981C67F03B00846168 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 4C6D2C961C67F03B00846168 /* Main.storyboard */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXContainerItemProxy section */
+		31E476691C55DD5900968569 /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = 31E4765F1C55DD5900968569 /* Alamofire.xcodeproj */;
+			proxyType = 2;
+			remoteGlobalIDString = F8111E3319A95C8B0040E7D1;
+			remoteInfo = "Alamofire iOS";
+		};
+		31E4766B1C55DD5900968569 /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = 31E4765F1C55DD5900968569 /* Alamofire.xcodeproj */;
+			proxyType = 2;
+			remoteGlobalIDString = F8111E3E19A95C8B0040E7D1;
+			remoteInfo = "Alamofire iOS Tests";
+		};
+		31E4766D1C55DD5900968569 /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = 31E4765F1C55DD5900968569 /* Alamofire.xcodeproj */;
+			proxyType = 2;
+			remoteGlobalIDString = 4DD67C0B1A5C55C900ED2280;
+			remoteInfo = "Alamofire OSX";
+		};
+		31E4766F1C55DD5900968569 /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = 31E4765F1C55DD5900968569 /* Alamofire.xcodeproj */;
+			proxyType = 2;
+			remoteGlobalIDString = F829C6B21A7A94F100A2CD59;
+			remoteInfo = "Alamofire OSX Tests";
+		};
+		31E476711C55DD5900968569 /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = 31E4765F1C55DD5900968569 /* Alamofire.xcodeproj */;
+			proxyType = 2;
+			remoteGlobalIDString = 4CF626EF1BA7CB3E0011A099;
+			remoteInfo = "Alamofire tvOS";
+		};
+		31E476731C55DD5900968569 /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = 31E4765F1C55DD5900968569 /* Alamofire.xcodeproj */;
+			proxyType = 2;
+			remoteGlobalIDString = 4CF626F81BA7CB3E0011A099;
+			remoteInfo = "Alamofire tvOS Tests";
+		};
+		31E476751C55DD5900968569 /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = 31E4765F1C55DD5900968569 /* Alamofire.xcodeproj */;
+			proxyType = 2;
+			remoteGlobalIDString = E4202FE01B667AA100C997FB;
+			remoteInfo = "Alamofire watchOS";
+		};
+		31E476841C55DE6D00968569 /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = 31E4765F1C55DD5900968569 /* Alamofire.xcodeproj */;
+			proxyType = 1;
+			remoteGlobalIDString = F8111E3219A95C8B0040E7D1;
+			remoteInfo = "Alamofire iOS";
+		};
+/* End PBXContainerItemProxy section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+		F818D0E519CA8D15006034B1 /* Copy Frameworks */ = {
+			isa = PBXCopyFilesBuildPhase;
+			buildActionMask = 2147483647;
+			dstPath = "";
+			dstSubfolderSpec = 10;
+			files = (
+				31E476831C55DE6D00968569 /* Alamofire.framework in Copy Frameworks */,
+			);
+			name = "Copy Frameworks";
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+		31E4765F1C55DD5900968569 /* Alamofire.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = Alamofire.xcodeproj; path = ../Alamofire.xcodeproj; sourceTree = "<group>"; };
+		4C6D2C7D1C67EFE100846168 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = Source/AppDelegate.swift; sourceTree = SOURCE_ROOT; };
+		4C6D2C7E1C67EFE100846168 /* DetailViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = DetailViewController.swift; path = Source/DetailViewController.swift; sourceTree = SOURCE_ROOT; };
+		4C6D2C7F1C67EFE100846168 /* MasterViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = MasterViewController.swift; path = Source/MasterViewController.swift; sourceTree = SOURCE_ROOT; };
+		4C6D2C8C1C67EFEC00846168 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = Resources/Images.xcassets; sourceTree = SOURCE_ROOT; };
+		4C6D2C8D1C67EFEC00846168 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = Resources/Info.plist; sourceTree = SOURCE_ROOT; };
+		4C6D2C971C67F03B00846168 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Main.storyboard; sourceTree = "<group>"; };
+		F8111E0519A951050040E7D1 /* iOS Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "iOS Example.app"; sourceTree = BUILT_PRODUCTS_DIR; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+		F8111E0219A951050040E7D1 /* Frameworks */ = {
+			isa = PBXFrameworksBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				31E476821C55DE6D00968569 /* Alamofire.framework in Frameworks */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+		31E476601C55DD5900968569 /* Products */ = {
+			isa = PBXGroup;
+			children = (
+				31E4766A1C55DD5900968569 /* Alamofire.framework */,
+				31E4766C1C55DD5900968569 /* Alamofire iOS Tests.xctest */,
+				31E4766E1C55DD5900968569 /* Alamofire.framework */,
+				31E476701C55DD5900968569 /* Alamofire OSX Tests.xctest */,
+				31E476721C55DD5900968569 /* Alamofire.framework */,
+				31E476741C55DD5900968569 /* Alamofire tvOS Tests.xctest */,
+				31E476761C55DD5900968569 /* Alamofire.framework */,
+			);
+			name = Products;
+			sourceTree = "<group>";
+		};
+		4C6D2C951C67F03B00846168 /* Base.lproj */ = {
+			isa = PBXGroup;
+			children = (
+				4C6D2C961C67F03B00846168 /* Main.storyboard */,
+			);
+			name = Base.lproj;
+			path = Resources/Base.lproj;
+			sourceTree = SOURCE_ROOT;
+		};
+		F8111DFC19A951050040E7D1 = {
+			isa = PBXGroup;
+			children = (
+				F8111E0719A951050040E7D1 /* Source */,
+				F8111E0619A951050040E7D1 /* Products */,
+				31E4765F1C55DD5900968569 /* Alamofire.xcodeproj */,
+			);
+			sourceTree = "<group>";
+		};
+		F8111E0619A951050040E7D1 /* Products */ = {
+			isa = PBXGroup;
+			children = (
+				F8111E0519A951050040E7D1 /* iOS Example.app */,
+			);
+			name = Products;
+			sourceTree = "<group>";
+		};
+		F8111E0719A951050040E7D1 /* Source */ = {
+			isa = PBXGroup;
+			children = (
+				4C6D2C7D1C67EFE100846168 /* AppDelegate.swift */,
+				4C6D2C7E1C67EFE100846168 /* DetailViewController.swift */,
+				4C6D2C7F1C67EFE100846168 /* MasterViewController.swift */,
+				F8111E0819A951050040E7D1 /* Supporting Files */,
+			);
+			name = Source;
+			path = Example;
+			sourceTree = "<group>";
+		};
+		F8111E0819A951050040E7D1 /* Supporting Files */ = {
+			isa = PBXGroup;
+			children = (
+				4C6D2C8D1C67EFEC00846168 /* Info.plist */,
+				4C6D2C8C1C67EFEC00846168 /* Images.xcassets */,
+				4C6D2C951C67F03B00846168 /* Base.lproj */,
+			);
+			name = "Supporting Files";
+			sourceTree = "<group>";
+		};
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+		F8111E0419A951050040E7D1 /* iOS Example */ = {
+			isa = PBXNativeTarget;
+			buildConfigurationList = F8111E2319A951050040E7D1 /* Build configuration list for PBXNativeTarget "iOS Example" */;
+			buildPhases = (
+				F8111E0119A951050040E7D1 /* Sources */,
+				F8111E0219A951050040E7D1 /* Frameworks */,
+				F8111E0319A951050040E7D1 /* Resources */,
+				F818D0E519CA8D15006034B1 /* Copy Frameworks */,
+			);
+			buildRules = (
+			);
+			dependencies = (
+				31E476851C55DE6D00968569 /* PBXTargetDependency */,
+			);
+			name = "iOS Example";
+			productName = Alamofire;
+			productReference = F8111E0519A951050040E7D1 /* iOS Example.app */;
+			productType = "com.apple.product-type.application";
+		};
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+		F8111DFD19A951050040E7D1 /* Project object */ = {
+			isa = PBXProject;
+			attributes = {
+				LastSwiftUpdateCheck = 0720;
+				LastUpgradeCheck = 0700;
+				ORGANIZATIONNAME = Alamofire;
+				TargetAttributes = {
+					F8111E0419A951050040E7D1 = {
+						CreatedOnToolsVersion = 6.0;
+					};
+				};
+			};
+			buildConfigurationList = F8111E0019A951050040E7D1 /* Build configuration list for PBXProject "iOS Example" */;
+			compatibilityVersion = "Xcode 3.2";
+			developmentRegion = English;
+			hasScannedForEncodings = 0;
+			knownRegions = (
+				en,
+				Base,
+			);
+			mainGroup = F8111DFC19A951050040E7D1;
+			productRefGroup = F8111E0619A951050040E7D1 /* Products */;
+			projectDirPath = "";
+			projectReferences = (
+				{
+					ProductGroup = 31E476601C55DD5900968569 /* Products */;
+					ProjectRef = 31E4765F1C55DD5900968569 /* Alamofire.xcodeproj */;
+				},
+			);
+			projectRoot = "";
+			targets = (
+				F8111E0419A951050040E7D1 /* iOS Example */,
+			);
+		};
+/* End PBXProject section */
+
+/* Begin PBXReferenceProxy section */
+		31E4766A1C55DD5900968569 /* Alamofire.framework */ = {
+			isa = PBXReferenceProxy;
+			fileType = wrapper.framework;
+			path = Alamofire.framework;
+			remoteRef = 31E476691C55DD5900968569 /* PBXContainerItemProxy */;
+			sourceTree = BUILT_PRODUCTS_DIR;
+		};
+		31E4766C1C55DD5900968569 /* Alamofire iOS Tests.xctest */ = {
+			isa = PBXReferenceProxy;
+			fileType = wrapper.cfbundle;
+			path = "Alamofire iOS Tests.xctest";
+			remoteRef = 31E4766B1C55DD5900968569 /* PBXContainerItemProxy */;
+			sourceTree = BUILT_PRODUCTS_DIR;
+		};
+		31E4766E1C55DD5900968569 /* Alamofire.framework */ = {
+			isa = PBXReferenceProxy;
+			fileType = wrapper.framework;
+			path = Alamofire.framework;
+			remoteRef = 31E4766D1C55DD5900968569 /* PBXContainerItemProxy */;
+			sourceTree = BUILT_PRODUCTS_DIR;
+		};
+		31E476701C55DD5900968569 /* Alamofire OSX Tests.xctest */ = {
+			isa = PBXReferenceProxy;
+			fileType = wrapper.cfbundle;
+			path = "Alamofire OSX Tests.xctest";
+			remoteRef = 31E4766F1C55DD5900968569 /* PBXContainerItemProxy */;
+			sourceTree = BUILT_PRODUCTS_DIR;
+		};
+		31E476721C55DD5900968569 /* Alamofire.framework */ = {
+			isa = PBXReferenceProxy;
+			fileType = wrapper.framework;
+			path = Alamofire.framework;
+			remoteRef = 31E476711C55DD5900968569 /* PBXContainerItemProxy */;
+			sourceTree = BUILT_PRODUCTS_DIR;
+		};
+		31E476741C55DD5900968569 /* Alamofire tvOS Tests.xctest */ = {
+			isa = PBXReferenceProxy;
+			fileType = wrapper.cfbundle;
+			path = "Alamofire tvOS Tests.xctest";
+			remoteRef = 31E476731C55DD5900968569 /* PBXContainerItemProxy */;
+			sourceTree = BUILT_PRODUCTS_DIR;
+		};
+		31E476761C55DD5900968569 /* Alamofire.framework */ = {
+			isa = PBXReferenceProxy;
+			fileType = wrapper.framework;
+			path = Alamofire.framework;
+			remoteRef = 31E476751C55DD5900968569 /* PBXContainerItemProxy */;
+			sourceTree = BUILT_PRODUCTS_DIR;
+		};
+/* End PBXReferenceProxy section */
+
+/* Begin PBXResourcesBuildPhase section */
+		F8111E0319A951050040E7D1 /* Resources */ = {
+			isa = PBXResourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				4C6D2C8F1C67EFEC00846168 /* Images.xcassets in Resources */,
+				4C6D2C981C67F03B00846168 /* Main.storyboard in Resources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+		F8111E0119A951050040E7D1 /* Sources */ = {
+			isa = PBXSourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				4C6D2C801C67EFE100846168 /* AppDelegate.swift in Sources */,
+				4C6D2C821C67EFE100846168 /* MasterViewController.swift in Sources */,
+				4C6D2C811C67EFE100846168 /* DetailViewController.swift in Sources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXTargetDependency section */
+		31E476851C55DE6D00968569 /* PBXTargetDependency */ = {
+			isa = PBXTargetDependency;
+			name = "Alamofire iOS";
+			targetProxy = 31E476841C55DE6D00968569 /* PBXContainerItemProxy */;
+		};
+/* End PBXTargetDependency section */
+
+/* Begin PBXVariantGroup section */
+		4C6D2C961C67F03B00846168 /* Main.storyboard */ = {
+			isa = PBXVariantGroup;
+			children = (
+				4C6D2C971C67F03B00846168 /* Base */,
+			);
+			name = Main.storyboard;
+			sourceTree = "<group>";
+		};
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+		F8111E2119A951050040E7D1 /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ALWAYS_SEARCH_USER_PATHS = NO;
+				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+				CLANG_CXX_LIBRARY = "libc++";
+				CLANG_ENABLE_MODULES = YES;
+				CLANG_ENABLE_OBJC_ARC = YES;
+				CLANG_WARN_BOOL_CONVERSION = YES;
+				CLANG_WARN_CONSTANT_CONVERSION = YES;
+				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+				CLANG_WARN_EMPTY_BODY = YES;
+				CLANG_WARN_ENUM_CONVERSION = YES;
+				CLANG_WARN_INT_CONVERSION = YES;
+				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+				CLANG_WARN_UNREACHABLE_CODE = YES;
+				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+				COPY_PHASE_STRIP = NO;
+				ENABLE_STRICT_OBJC_MSGSEND = YES;
+				ENABLE_TESTABILITY = YES;
+				GCC_C_LANGUAGE_STANDARD = gnu99;
+				GCC_DYNAMIC_NO_PIC = NO;
+				GCC_OPTIMIZATION_LEVEL = 0;
+				GCC_PREPROCESSOR_DEFINITIONS = (
+					"DEBUG=1",
+					"$(inherited)",
+				);
+				GCC_SYMBOLS_PRIVATE_EXTERN = NO;
+				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+				GCC_WARN_UNDECLARED_SELECTOR = YES;
+				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+				GCC_WARN_UNUSED_FUNCTION = YES;
+				GCC_WARN_UNUSED_VARIABLE = YES;
+				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
+				MTL_ENABLE_DEBUG_INFO = YES;
+				ONLY_ACTIVE_ARCH = YES;
+				SDKROOT = iphoneos;
+				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+				TARGETED_DEVICE_FAMILY = "1,2";
+			};
+			name = Debug;
+		};
+		F8111E2219A951050040E7D1 /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ALWAYS_SEARCH_USER_PATHS = NO;
+				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+				CLANG_CXX_LIBRARY = "libc++";
+				CLANG_ENABLE_MODULES = YES;
+				CLANG_ENABLE_OBJC_ARC = YES;
+				CLANG_WARN_BOOL_CONVERSION = YES;
+				CLANG_WARN_CONSTANT_CONVERSION = YES;
+				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+				CLANG_WARN_EMPTY_BODY = YES;
+				CLANG_WARN_ENUM_CONVERSION = YES;
+				CLANG_WARN_INT_CONVERSION = YES;
+				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+				CLANG_WARN_UNREACHABLE_CODE = YES;
+				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+				COPY_PHASE_STRIP = YES;
+				ENABLE_NS_ASSERTIONS = NO;
+				ENABLE_STRICT_OBJC_MSGSEND = YES;
+				GCC_C_LANGUAGE_STANDARD = gnu99;
+				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+				GCC_WARN_UNDECLARED_SELECTOR = YES;
+				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+				GCC_WARN_UNUSED_FUNCTION = YES;
+				GCC_WARN_UNUSED_VARIABLE = YES;
+				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
+				MTL_ENABLE_DEBUG_INFO = NO;
+				SDKROOT = iphoneos;
+				TARGETED_DEVICE_FAMILY = "1,2";
+				VALIDATE_PRODUCT = YES;
+			};
+			name = Release;
+		};
+		F8111E2419A951050040E7D1 /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+				ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
+				CLANG_ENABLE_MODULES = YES;
+				EMBEDDED_CONTENT_CONTAINS_SWIFT = YES;
+				INFOPLIST_FILE = Resources/Info.plist;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+				PRODUCT_BUNDLE_IDENTIFIER = "com.alamofire.$(PRODUCT_NAME:rfc1034identifier)";
+				PRODUCT_NAME = "iOS Example";
+				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+			};
+			name = Debug;
+		};
+		F8111E2519A951050040E7D1 /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+				ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
+				CLANG_ENABLE_MODULES = YES;
+				EMBEDDED_CONTENT_CONTAINS_SWIFT = YES;
+				INFOPLIST_FILE = Resources/Info.plist;
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+				PRODUCT_BUNDLE_IDENTIFIER = "com.alamofire.$(PRODUCT_NAME:rfc1034identifier)";
+				PRODUCT_NAME = "iOS Example";
+			};
+			name = Release;
+		};
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+		F8111E0019A951050040E7D1 /* Build configuration list for PBXProject "iOS Example" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				F8111E2119A951050040E7D1 /* Debug */,
+				F8111E2219A951050040E7D1 /* Release */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+		F8111E2319A951050040E7D1 /* Build configuration list for PBXNativeTarget "iOS Example" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				F8111E2419A951050040E7D1 /* Debug */,
+				F8111E2519A951050040E7D1 /* Release */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+/* End XCConfigurationList section */
+	};
+	rootObject = F8111DFD19A951050040E7D1 /* Project object */;
+}
diff --git a/swift/Alamofire-3.3.0/Example/iOS Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/swift/Alamofire-3.3.0/Example/iOS Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata
new file mode 100755
index 0000000..bfe77a2
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Example/iOS Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+   version = "1.0">
+   <FileRef
+      location = "self:iOS Example.xcodeproj">
+   </FileRef>
+</Workspace>
diff --git a/swift/Alamofire-3.3.0/Example/iOS Example.xcodeproj/xcshareddata/xcschemes/iOS Example.xcscheme b/swift/Alamofire-3.3.0/Example/iOS Example.xcodeproj/xcshareddata/xcschemes/iOS Example.xcscheme
new file mode 100755
index 0000000..ea36dc5
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Example/iOS Example.xcodeproj/xcshareddata/xcschemes/iOS Example.xcscheme
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+   LastUpgradeVersion = "0700"
+   version = "1.3">
+   <BuildAction
+      parallelizeBuildables = "YES"
+      buildImplicitDependencies = "YES">
+      <BuildActionEntries>
+         <BuildActionEntry
+            buildForTesting = "YES"
+            buildForRunning = "YES"
+            buildForProfiling = "YES"
+            buildForArchiving = "YES"
+            buildForAnalyzing = "YES">
+            <BuildableReference
+               BuildableIdentifier = "primary"
+               BlueprintIdentifier = "F8111E0419A951050040E7D1"
+               BuildableName = "iOS Example.app"
+               BlueprintName = "iOS Example"
+               ReferencedContainer = "container:iOS Example.xcodeproj">
+            </BuildableReference>
+         </BuildActionEntry>
+      </BuildActionEntries>
+   </BuildAction>
+   <TestAction
+      buildConfiguration = "Debug"
+      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+      shouldUseLaunchSchemeArgsEnv = "YES">
+      <Testables>
+      </Testables>
+      <MacroExpansion>
+         <BuildableReference
+            BuildableIdentifier = "primary"
+            BlueprintIdentifier = "F8111E0419A951050040E7D1"
+            BuildableName = "iOS Example.app"
+            BlueprintName = "iOS Example"
+            ReferencedContainer = "container:iOS Example.xcodeproj">
+         </BuildableReference>
+      </MacroExpansion>
+      <AdditionalOptions>
+      </AdditionalOptions>
+   </TestAction>
+   <LaunchAction
+      buildConfiguration = "Debug"
+      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+      launchStyle = "0"
+      useCustomWorkingDirectory = "NO"
+      ignoresPersistentStateOnLaunch = "NO"
+      debugDocumentVersioning = "YES"
+      debugServiceExtension = "internal"
+      allowLocationSimulation = "YES">
+      <BuildableProductRunnable
+         runnableDebuggingMode = "0">
+         <BuildableReference
+            BuildableIdentifier = "primary"
+            BlueprintIdentifier = "F8111E0419A951050040E7D1"
+            BuildableName = "iOS Example.app"
+            BlueprintName = "iOS Example"
+            ReferencedContainer = "container:iOS Example.xcodeproj">
+         </BuildableReference>
+      </BuildableProductRunnable>
+      <AdditionalOptions>
+      </AdditionalOptions>
+   </LaunchAction>
+   <ProfileAction
+      buildConfiguration = "Release"
+      shouldUseLaunchSchemeArgsEnv = "YES"
+      savedToolIdentifier = ""
+      useCustomWorkingDirectory = "NO"
+      debugDocumentVersioning = "YES">
+      <BuildableProductRunnable
+         runnableDebuggingMode = "0">
+         <BuildableReference
+            BuildableIdentifier = "primary"
+            BlueprintIdentifier = "F8111E0419A951050040E7D1"
+            BuildableName = "iOS Example.app"
+            BlueprintName = "iOS Example"
+            ReferencedContainer = "container:iOS Example.xcodeproj">
+         </BuildableReference>
+      </BuildableProductRunnable>
+   </ProfileAction>
+   <AnalyzeAction
+      buildConfiguration = "Debug">
+   </AnalyzeAction>
+   <ArchiveAction
+      buildConfiguration = "Release"
+      revealArchiveInOrganizer = "YES">
+   </ArchiveAction>
+</Scheme>
diff --git a/swift/Alamofire-3.3.0/LICENSE b/swift/Alamofire-3.3.0/LICENSE
new file mode 100755
index 0000000..bf300e4
--- /dev/null
+++ b/swift/Alamofire-3.3.0/LICENSE
@@ -0,0 +1,19 @@
+Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/swift/Alamofire-3.3.0/Package.swift b/swift/Alamofire-3.3.0/Package.swift
new file mode 100755
index 0000000..c6088ba
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Package.swift
@@ -0,0 +1,27 @@
+// Package.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import PackageDescription
+
+let package = Package(
+  name: "Alamofire"
+)
diff --git a/swift/Alamofire-3.3.0/README.google b/swift/Alamofire-3.3.0/README.google
new file mode 100644
index 0000000..7466b9a
--- /dev/null
+++ b/swift/Alamofire-3.3.0/README.google
@@ -0,0 +1,10 @@
+URL: https://github.com/Alamofire/Alamofire/archive/3.3.0.zip
+Version: 3.3.0 (commit fad7390adcaa38480cd44cd62dfbd8506af92151)
+License: MIT
+License File: LICENSE
+
+Description:
+An HTTP networking library for iOS and OS X.
+
+Local Modifications:
+None
\ No newline at end of file
diff --git a/swift/Alamofire-3.3.0/README.md b/swift/Alamofire-3.3.0/README.md
new file mode 100755
index 0000000..ebc35db
--- /dev/null
+++ b/swift/Alamofire-3.3.0/README.md
@@ -0,0 +1,1196 @@
+![Alamofire: Elegant Networking in Swift](https://raw.githubusercontent.com/Alamofire/Alamofire/assets/alamofire.png)
+
+[![Build Status](https://travis-ci.org/Alamofire/Alamofire.svg)](https://travis-ci.org/Alamofire/Alamofire)
+[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/Alamofire.svg)](https://img.shields.io/cocoapods/v/Alamofire.svg)
+[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
+[![Platform](https://img.shields.io/cocoapods/p/Alamofire.svg?style=flat)](http://cocoadocs.org/docsets/Alamofire)
+[![Twitter](https://img.shields.io/badge/twitter-@AlamofireSF-blue.svg?style=flat)](http://twitter.com/AlamofireSF)
+
+Alamofire is an HTTP networking library written in Swift.
+
+## Features
+
+- [x] Chainable Request / Response methods
+- [x] URL / JSON / plist Parameter Encoding
+- [x] Upload File / Data / Stream / MultipartFormData
+- [x] Download using Request or Resume data
+- [x] Authentication with NSURLCredential
+- [x] HTTP Response Validation
+- [x] TLS Certificate and Public Key Pinning
+- [x] Progress Closure & NSProgress
+- [x] cURL Debug Output
+- [x] Comprehensive Unit Test Coverage
+- [x] [Complete Documentation](http://cocoadocs.org/docsets/Alamofire)
+
+## Component Libraries
+
+In order to keep Alamofire focused specifically on core networking implementations, additional component libraries have been created by the [Alamofire Software Foundation](https://github.com/Alamofire/Foundation) to bring additional functionality to the Alamofire ecosystem.
+
+* [AlamofireImage](https://github.com/Alamofire/AlamofireImage) - An image library including image response serializers, `UIImage` and `UIImageView` extensions, custom image filters, an auto-purging in-memory cache and a priority-based image downloading system.
+* [AlamofireNetworkActivityIndicator](https://github.com/Alamofire/AlamofireNetworkActivityIndicator) - Controls the visibility of the network activity indicator on iOS using Alamofire. It contains configurable delay timers to help mitigate flicker and can support `NSURLSession` instances not managed by Alamofire.
+
+## Requirements
+
+- iOS 8.0+ / Mac OS X 10.9+ / tvOS 9.0+ / watchOS 2.0+
+- Xcode 7.2+
+
+## Migration Guides
+
+- [Alamofire 3.0 Migration Guide](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Alamofire%203.0%20Migration%20Guide.md)
+- [Alamofire 2.0 Migration Guide](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Alamofire%202.0%20Migration%20Guide.md)
+
+## Communication
+
+- If you **need help**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/alamofire). (Tag 'alamofire')
+- If you'd like to **ask a general question**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/alamofire).
+- If you **found a bug**, open an issue.
+- If you **have a feature request**, open an issue.
+- If you **want to contribute**, submit a pull request.
+
+## Installation
+
+> **Embedded frameworks require a minimum deployment target of iOS 8 or OS X Mavericks (10.9).**
+>
+> Alamofire is no longer supported on iOS 7 due to the lack of support for frameworks. Without frameworks, running Travis-CI against iOS 7 would require a second duplicated test target. The separate test suite would need to import all the Swift files and the tests would need to be duplicated and re-written. This split would be too difficult to maintain to ensure the highest possible quality of the Alamofire ecosystem.
+
+### CocoaPods
+
+[CocoaPods](http://cocoapods.org) is a dependency manager for Cocoa projects. You can install it with the following command:
+
+```bash
+$ gem install cocoapods
+```
+
+> CocoaPods 0.39.0+ is required to build Alamofire 3.0.0+.
+
+To integrate Alamofire into your Xcode project using CocoaPods, specify it in your `Podfile`:
+
+```ruby
+source 'https://github.com/CocoaPods/Specs.git'
+platform :ios, '8.0'
+use_frameworks!
+
+pod 'Alamofire', '~> 3.0'
+```
+
+Then, run the following command:
+
+```bash
+$ pod install
+```
+
+### Carthage
+
+[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
+
+You can install Carthage with [Homebrew](http://brew.sh/) using the following command:
+
+```bash
+$ brew update
+$ brew install carthage
+```
+
+To integrate Alamofire into your Xcode project using Carthage, specify it in your `Cartfile`:
+
+```ogdl
+github "Alamofire/Alamofire" ~> 3.0
+```
+
+Run `carthage update` to build the framework and drag the built `Alamofire.framework` into your Xcode project.
+
+### Manually
+
+If you prefer not to use either of the aforementioned dependency managers, you can integrate Alamofire into your project manually.
+
+#### Embedded Framework
+
+- Open up Terminal, `cd` into your top-level project directory, and run the following command "if" your project is not initialized as a git repository:
+
+```bash
+$ git init
+```
+
+- Add Alamofire as a git [submodule](http://git-scm.com/docs/git-submodule) by running the following command:
+
+```bash
+$ git submodule add https://github.com/Alamofire/Alamofire.git
+```
+
+- Open the new `Alamofire` folder, and drag the `Alamofire.xcodeproj` into the Project Navigator of your application's Xcode project.
+
+    > It should appear nested underneath your application's blue project icon. Whether it is above or below all the other Xcode groups does not matter.
+
+- Select the `Alamofire.xcodeproj` in the Project Navigator and verify the deployment target matches that of your application target.
+- Next, select your application project in the Project Navigator (blue project icon) to navigate to the target configuration window and select the application target under the "Targets" heading in the sidebar.
+- In the tab bar at the top of that window, open the "General" panel.
+- Click on the `+` button under the "Embedded Binaries" section.
+- You will see two different `Alamofire.xcodeproj` folders each with two different versions of the `Alamofire.framework` nested inside a `Products` folder.
+
+    > It does not matter which `Products` folder you choose from, but it does matter whether you choose the top or bottom `Alamofire.framework`. 
+    
+- Select the top `Alamofire.framework` for iOS and the bottom one for OS X.
+
+    > You can verify which one you selected by inspecting the build log for your project. The build target for `Alamofire` will be listed as either `Alamofire iOS` or `Alamofire OSX`.
+
+- And that's it!
+
+> The `Alamofire.framework` is automagically added as a target dependency, linked framework and embedded framework in a copy files build phase which is all you need to build on the simulator and a device.
+
+---
+
+## Usage
+
+### Making a Request
+
+```swift
+import Alamofire
+
+Alamofire.request(.GET, "https://httpbin.org/get")
+```
+
+### Response Handling
+
+```swift
+Alamofire.request(.GET, "https://httpbin.org/get", parameters: ["foo": "bar"])
+         .responseJSON { response in
+             print(response.request)  // original URL request
+             print(response.response) // URL response
+             print(response.data)     // server data
+             print(response.result)   // result of response serialization
+
+             if let JSON = response.result.value {
+                 print("JSON: \(JSON)")
+             }
+         }
+```
+
+> Networking in Alamofire is done _asynchronously_. Asynchronous programming may be a source of frustration to programmers unfamiliar with the concept, but there are [very good reasons](https://developer.apple.com/library/ios/qa/qa1693/_index.html) for doing it this way.
+
+> Rather than blocking execution to wait for a response from the server, a [callback](http://en.wikipedia.org/wiki/Callback_%28computer_programming%29) is specified to handle the response once it's received. The result of a request is only available inside the scope of a response handler. Any execution contingent on the response or data received from the server must be done within a handler.
+
+### Response Serialization
+
+**Built-in Response Methods**
+
+- `response()`
+- `responseData()`
+- `responseString(encoding: NSStringEncoding)`
+- `responseJSON(options: NSJSONReadingOptions)`
+- `responsePropertyList(options: NSPropertyListReadOptions)`
+
+#### Response Handler
+
+```swift
+Alamofire.request(.GET, "https://httpbin.org/get", parameters: ["foo": "bar"])
+         .response { request, response, data, error in
+             print(request)
+             print(response)
+             print(data)
+             print(error)
+          }
+```
+
+> The `response` serializer does NOT evaluate any of the response data. It merely forwards on all the information directly from the URL session delegate. We strongly encourage you to leverage the other response serializers taking advantage of `Response` and `Result` types.
+
+#### Response Data Handler
+
+```swift
+Alamofire.request(.GET, "https://httpbin.org/get", parameters: ["foo": "bar"])
+         .responseData { response in
+             print(response.request)
+             print(response.response)
+             print(response.result)
+          }
+```
+
+#### Response String Handler
+
+```swift
+Alamofire.request(.GET, "https://httpbin.org/get")
+         .responseString { response in
+             print("Success: \(response.result.isSuccess)")
+             print("Response String: \(response.result.value)")
+         }
+```
+
+#### Response JSON Handler
+
+```swift
+Alamofire.request(.GET, "https://httpbin.org/get")
+         .responseJSON { response in
+             debugPrint(response)
+         }
+```
+
+#### Chained Response Handlers
+
+Response handlers can even be chained:
+
+```swift
+Alamofire.request(.GET, "https://httpbin.org/get")
+         .responseString { response in
+             print("Response String: \(response.result.value)")
+         }
+         .responseJSON { response in
+             print("Response JSON: \(response.result.value)")
+         }
+```
+
+### HTTP Methods
+
+`Alamofire.Method` lists the HTTP methods defined in [RFC 7231 §4.3](http://tools.ietf.org/html/rfc7231#section-4.3):
+
+```swift
+public enum Method: String {
+    case OPTIONS, GET, HEAD, POST, PUT, PATCH, DELETE, TRACE, CONNECT
+}
+```
+
+These values can be passed as the first argument of the `Alamofire.request` method:
+
+```swift
+Alamofire.request(.POST, "https://httpbin.org/post")
+
+Alamofire.request(.PUT, "https://httpbin.org/put")
+
+Alamofire.request(.DELETE, "https://httpbin.org/delete")
+```
+
+### Parameters
+
+#### GET Request With URL-Encoded Parameters
+
+```swift
+Alamofire.request(.GET, "https://httpbin.org/get", parameters: ["foo": "bar"])
+// https://httpbin.org/get?foo=bar
+```
+
+#### POST Request With URL-Encoded Parameters
+
+```swift
+let parameters = [
+    "foo": "bar",
+    "baz": ["a", 1],
+    "qux": [
+        "x": 1,
+        "y": 2,
+        "z": 3
+    ]
+]
+
+Alamofire.request(.POST, "https://httpbin.org/post", parameters: parameters)
+// HTTP body: foo=bar&baz[]=a&baz[]=1&qux[x]=1&qux[y]=2&qux[z]=3
+```
+
+### Parameter Encoding
+
+Parameters can also be encoded as JSON, Property List, or any custom format, using the `ParameterEncoding` enum:
+
+```swift
+enum ParameterEncoding {
+    case URL
+    case URLEncodedInURL
+    case JSON
+    case PropertyList(format: NSPropertyListFormat, options: NSPropertyListWriteOptions)
+    case Custom((URLRequestConvertible, [String: AnyObject]?) -> (NSMutableURLRequest, NSError?))
+
+    func encode(request: NSURLRequest, parameters: [String: AnyObject]?) -> (NSURLRequest, NSError?)
+    { ... }
+}
+```
+
+- `URL`: A query string to be set as or appended to any existing URL query for `GET`, `HEAD`, and `DELETE` requests, or set as the body for requests with any other HTTP method. The `Content-Type` HTTP header field of an encoded request with HTTP body is set to `application/x-www-form-urlencoded`. _Since there is no published specification for how to encode collection types, Alamofire follows the convention of appending `[]` to the key for array values (`foo[]=1&foo[]=2`), and appending the key surrounded by square brackets for nested dictionary values (`foo[bar]=baz`)._
+- `URLEncodedInURL`: Creates query string to be set as or appended to any existing URL query. Uses the same implementation as the `.URL` case, but always applies the encoded result to the URL.
+- `JSON`: Uses `NSJSONSerialization` to create a JSON representation of the parameters object, which is set as the body of the request. The `Content-Type` HTTP header field of an encoded request is set to `application/json`.
+- `PropertyList`: Uses `NSPropertyListSerialization` to create a plist representation of the parameters object, according to the associated format and write options values, which is set as the body of the request. The `Content-Type` HTTP header field of an encoded request is set to `application/x-plist`.
+- `Custom`: Uses the associated closure value to construct a new request given an existing request and parameters.
+
+#### Manual Parameter Encoding of an NSURLRequest
+
+```swift
+let URL = NSURL(string: "https://httpbin.org/get")!
+var request = NSMutableURLRequest(URL: URL)
+
+let parameters = ["foo": "bar"]
+let encoding = Alamofire.ParameterEncoding.URL
+(request, _) = encoding.encode(request, parameters: parameters)
+```
+
+#### POST Request with JSON-encoded Parameters
+
+```swift
+let parameters = [
+    "foo": [1,2,3],
+    "bar": [
+        "baz": "qux"
+    ]
+]
+
+Alamofire.request(.POST, "https://httpbin.org/post", parameters: parameters, encoding: .JSON)
+// HTTP body: {"foo": [1, 2, 3], "bar": {"baz": "qux"}}
+```
+
+### HTTP Headers
+
+Adding a custom HTTP header to a `Request` is supported directly in the global `request` method. This makes it easy to attach HTTP headers to a `Request` that can be constantly changing.
+
+> For HTTP headers that do not change, it is recommended to set them on the `NSURLSessionConfiguration` so they are automatically applied to any `NSURLSessionTask` created by the underlying `NSURLSession`.
+
+```swift
+let headers = [
+    "Authorization": "Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==",
+    "Content-Type": "application/x-www-form-urlencoded"
+]
+
+Alamofire.request(.GET, "https://httpbin.org/get", headers: headers)
+         .responseJSON { response in
+             debugPrint(response)
+         }
+```
+
+### Caching
+
+Caching is handled on the system framework level by [`NSURLCache`](https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSURLCache_Class/Reference/Reference.html#//apple_ref/occ/cl/NSURLCache).
+
+### Uploading
+
+**Supported Upload Types**
+
+- File
+- Data
+- Stream
+- MultipartFormData
+
+#### Uploading a File
+
+```swift
+let fileURL = NSBundle.mainBundle().URLForResource("Default", withExtension: "png")
+Alamofire.upload(.POST, "https://httpbin.org/post", file: fileURL)
+```
+
+#### Uploading with Progress
+
+```swift
+Alamofire.upload(.POST, "https://httpbin.org/post", file: fileURL)
+         .progress { bytesWritten, totalBytesWritten, totalBytesExpectedToWrite in
+             print(totalBytesWritten)
+
+             // This closure is NOT called on the main queue for performance
+             // reasons. To update your ui, dispatch to the main queue.
+             dispatch_async(dispatch_get_main_queue()) {
+                 print("Total bytes written on main queue: \(totalBytesWritten)")
+             }
+         }
+         .responseJSON { response in
+             debugPrint(response)
+         }
+```
+
+#### Uploading MultipartFormData
+
+```swift
+Alamofire.upload(
+    .POST,
+    "https://httpbin.org/post",
+    multipartFormData: { multipartFormData in
+        multipartFormData.appendBodyPart(fileURL: unicornImageURL, name: "unicorn")
+        multipartFormData.appendBodyPart(fileURL: rainbowImageURL, name: "rainbow")
+    },
+    encodingCompletion: { encodingResult in
+    	switch encodingResult {
+    	case .Success(let upload, _, _):
+            upload.responseJSON { response in
+                debugPrint(response)
+            }
+    	case .Failure(let encodingError):
+    	    print(encodingError)
+    	}
+    }
+)
+```
+
+### Downloading
+
+**Supported Download Types**
+
+- Request
+- Resume Data
+
+#### Downloading a File
+
+```swift
+Alamofire.download(.GET, "https://httpbin.org/stream/100") { temporaryURL, response in
+    let fileManager = NSFileManager.defaultManager()
+    let directoryURL = fileManager.URLsForDirectory(.DocumentDirectory, inDomains: .UserDomainMask)[0]
+    let pathComponent = response.suggestedFilename
+
+    return directoryURL.URLByAppendingPathComponent(pathComponent!)
+}
+```
+
+#### Using the Default Download Destination
+
+```swift
+let destination = Alamofire.Request.suggestedDownloadDestination(directory: .DocumentDirectory, domain: .UserDomainMask)
+Alamofire.download(.GET, "https://httpbin.org/stream/100", destination: destination)
+```
+
+#### Downloading a File w/Progress
+
+```swift
+Alamofire.download(.GET, "https://httpbin.org/stream/100", destination: destination)
+         .progress { bytesRead, totalBytesRead, totalBytesExpectedToRead in
+             print(totalBytesRead)
+
+             // This closure is NOT called on the main queue for performance
+             // reasons. To update your ui, dispatch to the main queue.
+             dispatch_async(dispatch_get_main_queue()) {
+                 print("Total bytes read on main queue: \(totalBytesRead)")
+             }
+         }
+         .response { _, _, _, error in
+             if let error = error {
+                 print("Failed with error: \(error)")
+             } else {
+                 print("Downloaded file successfully")
+             }
+         }
+```
+
+#### Accessing Resume Data for Failed Downloads
+
+```swift
+Alamofire.download(.GET, "https://httpbin.org/stream/100", destination: destination)
+         .response { _, _, data, _ in
+             if let
+                 data = data,
+                 resumeDataString = NSString(data: data, encoding: NSUTF8StringEncoding)
+             {
+                 print("Resume Data: \(resumeDataString)")
+             } else {
+                 print("Resume Data was empty")
+             }
+         }
+```
+
+> The `data` parameter is automatically populated with the `resumeData` if available.
+
+```swift
+let download = Alamofire.download(.GET, "https://httpbin.org/stream/100", destination: destination)
+download.response { _, _, _, _ in
+    if let
+        resumeData = download.resumeData,
+        resumeDataString = NSString(data: resumeData, encoding: NSUTF8StringEncoding)
+    {
+        print("Resume Data: \(resumeDataString)")
+    } else {
+        print("Resume Data was empty")
+    }
+}
+```
+
+### Authentication
+
+Authentication is handled on the system framework level by [`NSURLCredential` and `NSURLAuthenticationChallenge`](https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSURLAuthenticationChallenge_Class/Reference/Reference.html).
+
+**Supported Authentication Schemes**
+
+- [HTTP Basic](http://en.wikipedia.org/wiki/Basic_access_authentication)
+- [HTTP Digest](http://en.wikipedia.org/wiki/Digest_access_authentication)
+- [Kerberos](http://en.wikipedia.org/wiki/Kerberos_%28protocol%29)
+- [NTLM](http://en.wikipedia.org/wiki/NT_LAN_Manager)
+
+#### HTTP Basic Authentication
+
+The `authenticate` method on a `Request` will automatically provide an `NSURLCredential` to an `NSURLAuthenticationChallenge` when appropriate:
+
+```swift
+let user = "user"
+let password = "password"
+
+Alamofire.request(.GET, "https://httpbin.org/basic-auth/\(user)/\(password)")
+         .authenticate(user: user, password: password)
+         .responseJSON { response in
+             debugPrint(response)
+         }
+```
+
+Depending upon your server implementation, an `Authorization` header may also be appropriate:
+
+```swift
+let user = "user"
+let password = "password"
+
+let credentialData = "\(user):\(password)".dataUsingEncoding(NSUTF8StringEncoding)!
+let base64Credentials = credentialData.base64EncodedStringWithOptions([])
+
+let headers = ["Authorization": "Basic \(base64Credentials)"]
+
+Alamofire.request(.GET, "https://httpbin.org/basic-auth/user/password", headers: headers)
+         .responseJSON { response in
+             debugPrint(response)
+         }
+```
+
+#### Authentication with NSURLCredential
+
+```swift
+let user = "user"
+let password = "password"
+
+let credential = NSURLCredential(user: user, password: password, persistence: .ForSession)
+
+Alamofire.request(.GET, "https://httpbin.org/basic-auth/\(user)/\(password)")
+         .authenticate(usingCredential: credential)
+         .responseJSON { response in
+             debugPrint(response)
+         }
+```
+
+### Validation
+
+By default, Alamofire treats any completed request to be successful, regardless of the content of the response. Calling `validate` before a response handler causes an error to be generated if the response had an unacceptable status code or MIME type.
+
+#### Manual Validation
+
+```swift
+Alamofire.request(.GET, "https://httpbin.org/get", parameters: ["foo": "bar"])
+         .validate(statusCode: 200..<300)
+         .validate(contentType: ["application/json"])
+         .response { response in
+             print(response)
+         }
+```
+
+#### Automatic Validation
+
+Automatically validates status code within `200...299` range, and that the `Content-Type` header of the response matches the `Accept` header of the request, if one is provided.
+
+```swift
+Alamofire.request(.GET, "https://httpbin.org/get", parameters: ["foo": "bar"])
+         .validate()
+         .responseJSON { response in
+             switch response.result {
+             case .Success:
+                 print("Validation Successful")
+             case .Failure(let error):
+                 print(error)
+             }
+         }
+```
+
+### Timeline
+
+Alamofire collects timings throughout the lifecycle of a `Request` and creates a `Timeline` object exposed as a property on a `Response`.
+
+```swift
+Alamofire.request(.GET, "https://httpbin.org/get", parameters: ["foo": "bar"])
+         .validate()
+         .responseJSON { response in
+             print(response.timeline)
+         }
+```
+
+The above reports the following `Timeline` info:
+
+- `Latency`: 0.428 seconds
+- `Request Duration`: 0.428 seconds
+- `Serialization Duration`: 0.001 seconds
+- `Total Duration`: 0.429 seconds
+
+### Printable
+
+```swift
+let request = Alamofire.request(.GET, "https://httpbin.org/ip")
+
+print(request)
+// GET https://httpbin.org/ip (200)
+```
+
+### DebugPrintable
+
+```swift
+let request = Alamofire.request(.GET, "https://httpbin.org/get", parameters: ["foo": "bar"])
+
+debugPrint(request)
+```
+
+#### Output (cURL)
+
+```bash
+$ curl -i \
+	-H "User-Agent: Alamofire" \
+	-H "Accept-Encoding: Accept-Encoding: gzip;q=1.0,compress;q=0.5" \
+	-H "Accept-Language: en;q=1.0,fr;q=0.9,de;q=0.8,zh-Hans;q=0.7,zh-Hant;q=0.6,ja;q=0.5" \
+	"https://httpbin.org/get?foo=bar"
+```
+
+---
+
+## Advanced Usage
+
+> Alamofire is built on `NSURLSession` and the Foundation URL Loading System. To make the most of
+this framework, it is recommended that you be familiar with the concepts and capabilities of the underlying networking stack.
+
+**Recommended Reading**
+
+- [URL Loading System Programming Guide](https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/URLLoadingSystem/URLLoadingSystem.html)
+- [NSURLSession Class Reference](https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLSession_class/Introduction/Introduction.html#//apple_ref/occ/cl/NSURLSession)
+- [NSURLCache Class Reference](https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSURLCache_Class/Reference/Reference.html#//apple_ref/occ/cl/NSURLCache)
+- [NSURLAuthenticationChallenge Class Reference](https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSURLAuthenticationChallenge_Class/Reference/Reference.html)
+
+### Manager
+
+Top-level convenience methods like `Alamofire.request` use a shared instance of `Alamofire.Manager`, which is configured with the default `NSURLSessionConfiguration`.
+
+As such, the following two statements are equivalent:
+
+```swift
+Alamofire.request(.GET, "https://httpbin.org/get")
+```
+
+```swift
+let manager = Alamofire.Manager.sharedInstance
+manager.request(NSURLRequest(URL: NSURL(string: "https://httpbin.org/get")!))
+```
+
+Applications can create managers for background and ephemeral sessions, as well as new managers that customize the default session configuration, such as for default headers (`HTTPAdditionalHeaders`) or timeout interval (`timeoutIntervalForRequest`).
+
+#### Creating a Manager with Default Configuration
+
+```swift
+let configuration = NSURLSessionConfiguration.defaultSessionConfiguration()
+let manager = Alamofire.Manager(configuration: configuration)
+```
+
+#### Creating a Manager with Background Configuration
+
+```swift
+let configuration = NSURLSessionConfiguration.backgroundSessionConfigurationWithIdentifier("com.example.app.background")
+let manager = Alamofire.Manager(configuration: configuration)
+```
+
+#### Creating a Manager with Ephemeral Configuration
+
+```swift
+let configuration = NSURLSessionConfiguration.ephemeralSessionConfiguration()
+let manager = Alamofire.Manager(configuration: configuration)
+```
+
+#### Modifying Session Configuration
+
+```swift
+var defaultHeaders = Alamofire.Manager.sharedInstance.session.configuration.HTTPAdditionalHeaders ?? [:]
+defaultHeaders["DNT"] = "1 (Do Not Track Enabled)"
+
+let configuration = NSURLSessionConfiguration.defaultSessionConfiguration()
+configuration.HTTPAdditionalHeaders = defaultHeaders
+
+let manager = Alamofire.Manager(configuration: configuration)
+```
+
+> This is **not** recommended for `Authorization` or `Content-Type` headers. Instead, use `URLRequestConvertible` and `ParameterEncoding`, respectively.
+
+### Request
+
+The result of a `request`, `upload`, or `download` method is an instance of `Alamofire.Request`. A request is always created using a constructor method from an owning manager, and never initialized directly.
+
+Methods like `authenticate`, `validate` and `responseData` return the caller in order to facilitate chaining.
+
+Requests can be suspended, resumed, and cancelled:
+
+- `suspend()`: Suspends the underlying task and dispatch queue
+- `resume()`: Resumes the underlying task and dispatch queue. If the owning manager does not have `startRequestsImmediately` set to `true`, the request must call `resume()` in order to start.
+- `cancel()`: Cancels the underlying task, producing an error that is passed to any registered response handlers.
+
+### Response Serialization
+
+#### Creating a Custom Response Serializer
+
+Alamofire provides built-in response serialization for strings, JSON, and property lists, but others can be added in extensions on `Alamofire.Request`.
+
+For example, here's how a response handler using [Ono](https://github.com/mattt/Ono) might be implemented:
+
+```swift
+extension Request {
+    public static func XMLResponseSerializer() -> ResponseSerializer<ONOXMLDocument, NSError> {
+        return ResponseSerializer { request, response, data, error in
+            guard error == nil else { return .Failure(error!) }
+
+            guard let validData = data else {
+                let failureReason = "Data could not be serialized. Input data was nil."
+                let error = Error.errorWithCode(.DataSerializationFailed, failureReason: failureReason)
+                return .Failure(error)
+            }
+
+            do {
+                let XML = try ONOXMLDocument(data: validData)
+                return .Success(XML)
+            } catch {
+                return .Failure(error as NSError)
+            }
+        }
+    }
+
+    public func responseXMLDocument(completionHandler: Response<ONOXMLDocument, NSError> -> Void) -> Self {
+        return response(responseSerializer: Request.XMLResponseSerializer(), completionHandler: completionHandler)
+    }
+}
+```
+
+#### Generic Response Object Serialization
+
+Generics can be used to provide automatic, type-safe response object serialization.
+
+```swift
+public protocol ResponseObjectSerializable {
+    init?(response: NSHTTPURLResponse, representation: AnyObject)
+}
+
+extension Request {
+    public func responseObject<T: ResponseObjectSerializable>(completionHandler: Response<T, NSError> -> Void) -> Self {
+        let responseSerializer = ResponseSerializer<T, NSError> { request, response, data, error in
+            guard error == nil else { return .Failure(error!) }
+
+            let JSONResponseSerializer = Request.JSONResponseSerializer(options: .AllowFragments)
+            let result = JSONResponseSerializer.serializeResponse(request, response, data, error)
+
+            switch result {
+            case .Success(let value):
+                if let
+                    response = response,
+                    responseObject = T(response: response, representation: value)
+                {
+                    return .Success(responseObject)
+                } else {
+                    let failureReason = "JSON could not be serialized into response object: \(value)"
+                    let error = Error.errorWithCode(.JSONSerializationFailed, failureReason: failureReason)
+                    return .Failure(error)
+                }
+            case .Failure(let error):
+                return .Failure(error)
+            }
+        }
+
+        return response(responseSerializer: responseSerializer, completionHandler: completionHandler)
+    }
+}
+```
+
+```swift
+final class User: ResponseObjectSerializable {
+    let username: String
+    let name: String
+
+    init?(response: NSHTTPURLResponse, representation: AnyObject) {
+        self.username = response.URL!.lastPathComponent!
+        self.name = representation.valueForKeyPath("name") as! String
+    }
+}
+```
+
+```swift
+Alamofire.request(.GET, "https://example.com/users/mattt")
+         .responseObject { (response: Response<User, NSError>) in
+             debugPrint(response)
+         }
+```
+
+The same approach can also be used to handle endpoints that return a representation of a collection of objects:
+
+```swift
+public protocol ResponseCollectionSerializable {
+    static func collection(response response: NSHTTPURLResponse, representation: AnyObject) -> [Self]
+}
+
+extension Alamofire.Request {
+    public func responseCollection<T: ResponseCollectionSerializable>(completionHandler: Response<[T], NSError> -> Void) -> Self {
+        let responseSerializer = ResponseSerializer<[T], NSError> { request, response, data, error in
+            guard error == nil else { return .Failure(error!) }
+
+            let JSONSerializer = Request.JSONResponseSerializer(options: .AllowFragments)
+            let result = JSONSerializer.serializeResponse(request, response, data, error)
+
+            switch result {
+            case .Success(let value):
+                if let response = response {
+                    return .Success(T.collection(response: response, representation: value))
+                } else {
+                    let failureReason = "Response collection could not be serialized due to nil response"
+                    let error = Error.errorWithCode(.JSONSerializationFailed, failureReason: failureReason)
+                    return .Failure(error)
+                }
+            case .Failure(let error):
+                return .Failure(error)
+            }
+        }
+
+        return response(responseSerializer: responseSerializer, completionHandler: completionHandler)
+    }
+}
+```
+
+```swift
+final class User: ResponseObjectSerializable, ResponseCollectionSerializable {
+    let username: String
+    let name: String
+
+    init?(response: NSHTTPURLResponse, representation: AnyObject) {
+        self.username = response.URL!.lastPathComponent!
+        self.name = representation.valueForKeyPath("name") as! String
+    }
+
+    static func collection(response response: NSHTTPURLResponse, representation: AnyObject) -> [User] {
+        var users: [User] = []
+
+        if let representation = representation as? [[String: AnyObject]] {
+            for userRepresentation in representation {
+                if let user = User(response: response, representation: userRepresentation) {
+                    users.append(user)
+                }
+            }
+        }
+
+        return users
+    }
+}
+```
+
+```swift
+Alamofire.request(.GET, "http://example.com/users")
+         .responseCollection { (response: Response<[User], NSError>) in
+             debugPrint(response)
+         }
+```
+
+### URLStringConvertible
+
+Types adopting the `URLStringConvertible` protocol can be used to construct URL strings, which are then used to construct URL requests. `NSString`, `NSURL`, `NSURLComponents`, and `NSURLRequest` conform to `URLStringConvertible` by default, allowing any of them to be passed as `URLString` parameters to the `request`, `upload`, and `download` methods:
+
+```swift
+let string = NSString(string: "https://httpbin.org/post")
+Alamofire.request(.POST, string)
+
+let URL = NSURL(string: string)!
+Alamofire.request(.POST, URL)
+
+let URLRequest = NSURLRequest(URL: URL)
+Alamofire.request(.POST, URLRequest) // overrides `HTTPMethod` of `URLRequest`
+
+let URLComponents = NSURLComponents(URL: URL, resolvingAgainstBaseURL: true)
+Alamofire.request(.POST, URLComponents)
+```
+
+Applications interacting with web applications in a significant manner are encouraged to have custom types conform to `URLStringConvertible` as a convenient way to map domain-specific models to server resources.
+
+#### Type-Safe Routing
+
+```swift
+extension User: URLStringConvertible {
+    static let baseURLString = "http://example.com"
+
+    var URLString: String {
+        return User.baseURLString + "/users/\(username)/"
+    }
+}
+```
+
+```swift
+let user = User(username: "mattt")
+Alamofire.request(.GET, user) // http://example.com/users/mattt
+```
+
+### URLRequestConvertible
+
+Types adopting the `URLRequestConvertible` protocol can be used to construct URL requests. `NSURLRequest` conforms to `URLRequestConvertible` by default, allowing it to be passed into `request`, `upload`, and `download` methods directly (this is the recommended way to specify custom HTTP body for individual requests):
+
+```swift
+let URL = NSURL(string: "https://httpbin.org/post")!
+let mutableURLRequest = NSMutableURLRequest(URL: URL)
+mutableURLRequest.HTTPMethod = "POST"
+
+let parameters = ["foo": "bar"]
+
+do {
+    mutableURLRequest.HTTPBody = try NSJSONSerialization.dataWithJSONObject(parameters, options: NSJSONWritingOptions())
+} catch {
+    // No-op
+}
+
+mutableURLRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
+
+Alamofire.request(mutableURLRequest)
+```
+
+Applications interacting with web applications in a significant manner are encouraged to have custom types conform to `URLRequestConvertible` as a way to ensure consistency of requested endpoints. Such an approach can be used to abstract away server-side inconsistencies and provide type-safe routing, as well as manage authentication credentials and other state.
+
+#### API Parameter Abstraction
+
+```swift
+enum Router: URLRequestConvertible {
+    static let baseURLString = "http://example.com"
+    static let perPage = 50
+
+    case Search(query: String, page: Int)
+
+    // MARK: URLRequestConvertible
+
+    var URLRequest: NSMutableURLRequest {
+        let result: (path: String, parameters: [String: AnyObject]) = {
+            switch self {
+            case .Search(let query, let page) where page > 1:
+                return ("/search", ["q": query, "offset": Router.perPage * page])
+            case .Search(let query, _):
+                return ("/search", ["q": query])
+            }
+        }()
+
+        let URL = NSURL(string: Router.baseURLString)!
+        let URLRequest = NSURLRequest(URL: URL.URLByAppendingPathComponent(result.path))
+        let encoding = Alamofire.ParameterEncoding.URL
+
+        return encoding.encode(URLRequest, parameters: result.parameters).0
+    }
+}
+```
+
+```swift
+Alamofire.request(Router.Search(query: "foo bar", page: 1)) // ?q=foo%20bar&offset=50
+```
+
+#### CRUD & Authorization
+
+```swift
+enum Router: URLRequestConvertible {
+    static let baseURLString = "http://example.com"
+    static var OAuthToken: String?
+
+    case CreateUser([String: AnyObject])
+    case ReadUser(String)
+    case UpdateUser(String, [String: AnyObject])
+    case DestroyUser(String)
+
+    var method: Alamofire.Method {
+        switch self {
+        case .CreateUser:
+            return .POST
+        case .ReadUser:
+            return .GET
+        case .UpdateUser:
+            return .PUT
+        case .DestroyUser:
+            return .DELETE
+        }
+    }
+
+    var path: String {
+        switch self {
+        case .CreateUser:
+            return "/users"
+        case .ReadUser(let username):
+            return "/users/\(username)"
+        case .UpdateUser(let username, _):
+            return "/users/\(username)"
+        case .DestroyUser(let username):
+            return "/users/\(username)"
+        }
+    }
+
+    // MARK: URLRequestConvertible
+
+    var URLRequest: NSMutableURLRequest {
+        let URL = NSURL(string: Router.baseURLString)!
+        let mutableURLRequest = NSMutableURLRequest(URL: URL.URLByAppendingPathComponent(path))
+        mutableURLRequest.HTTPMethod = method.rawValue
+
+        if let token = Router.OAuthToken {
+            mutableURLRequest.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
+        }
+
+        switch self {
+        case .CreateUser(let parameters):
+            return Alamofire.ParameterEncoding.JSON.encode(mutableURLRequest, parameters: parameters).0
+        case .UpdateUser(_, let parameters):
+            return Alamofire.ParameterEncoding.URL.encode(mutableURLRequest, parameters: parameters).0
+        default:
+            return mutableURLRequest
+        }
+    }
+}
+```
+
+```swift
+Alamofire.request(Router.ReadUser("mattt")) // GET /users/mattt
+```
+
+### Security
+
+Using a secure HTTPS connection when communicating with servers and web services is an important step in securing sensitive data. By default, Alamofire will evaluate the certificate chain provided by the server using Apple's built in validation provided by the Security framework. While this guarantees the certificate chain is valid, it does not prevent man-in-the-middle (MITM) attacks or other potential vulnerabilities. In order to mitigate MITM attacks, applications dealing with sensitive customer data or financial information should use certificate or public key pinning provided by the `ServerTrustPolicy`.
+
+#### ServerTrustPolicy
+
+The `ServerTrustPolicy` enumeration evaluates the server trust generally provided by an `NSURLAuthenticationChallenge` when connecting to a server over a secure HTTPS connection.
+
+```swift
+let serverTrustPolicy = ServerTrustPolicy.PinCertificates(
+    certificates: ServerTrustPolicy.certificatesInBundle(),
+    validateCertificateChain: true,
+    validateHost: true
+)
+```
+
+There are many different cases of server trust evaluation giving you complete control over the validation process:
+
+* `PerformDefaultEvaluation`: Uses the default server trust evaluation while allowing you to control whether to validate the host provided by the challenge. 
+* `PinCertificates`: Uses the pinned certificates to validate the server trust. The server trust is considered valid if one of the pinned certificates match one of the server certificates.
+* `PinPublicKeys`: Uses the pinned public keys to validate the server trust. The server trust is considered valid if one of the pinned public keys match one of the server certificate public keys.
+* `DisableEvaluation`: Disables all evaluation which in turn will always consider any server trust as valid.
+* `CustomEvaluation`: Uses the associated closure to evaluate the validity of the server trust thus giving you complete control over the validation process. Use with caution.
+
+#### Server Trust Policy Manager
+
+The `ServerTrustPolicyManager` is responsible for storing an internal mapping of server trust policies to a particular host. This allows Alamofire to evaluate each host against a different server trust policy. 
+
+```swift
+let serverTrustPolicies: [String: ServerTrustPolicy] = [
+    "test.example.com": .PinCertificates(
+        certificates: ServerTrustPolicy.certificatesInBundle(),
+        validateCertificateChain: true,
+        validateHost: true
+    ),
+    "insecure.expired-apis.com": .DisableEvaluation
+]
+
+let manager = Manager(
+    serverTrustPolicyManager: ServerTrustPolicyManager(policies: serverTrustPolicies)
+)
+```
+
+> Make sure to keep a reference to the new `Manager` instance, otherwise your requests will all get cancelled when your `manager` is deallocated.
+
+These server trust policies will result in the following behavior:
+
+* `test.example.com` will always use certificate pinning with certificate chain and host validation enabled thus requiring the following criteria to be met to allow the TLS handshake to succeed:
+  * Certificate chain MUST be valid.
+  * Certificate chain MUST include one of the pinned certificates.
+  * Challenge host MUST match the host in the certificate chain's leaf certificate.
+* `insecure.expired-apis.com` will never evaluate the certificate chain and will always allow the TLS handshake to succeed.
+* All other hosts will use the default evaluation provided by Apple.
+
+##### Subclassing Server Trust Policy Manager
+
+If you find yourself needing more flexible server trust policy matching behavior (i.e. wildcarded domains), then subclass the `ServerTrustPolicyManager` and override the `serverTrustPolicyForHost` method with your own custom implementation.
+
+```swift
+class CustomServerTrustPolicyManager: ServerTrustPolicyManager {
+    override func serverTrustPolicyForHost(host: String) -> ServerTrustPolicy? {
+        var policy: ServerTrustPolicy?
+
+        // Implement your custom domain matching behavior...
+
+        return policy
+    }
+}
+```
+
+#### Validating the Host
+
+The `.PerformDefaultEvaluation`, `.PinCertificates` and `.PinPublicKeys` server trust policies all take a `validateHost` parameter. Setting the value to `true` will cause the server trust evaluation to verify that hostname in the certificate matches the hostname of the challenge. If they do not match, evaluation will fail. A `validateHost` value of `false` will still evaluate the full certificate chain, but will not validate the hostname of the leaf certificate.
+
+> It is recommended that `validateHost` always be set to `true` in production environments.
+
+#### Validating the Certificate Chain
+
+Pinning certificates and public keys both have the option of validating the certificate chain using the `validateCertificateChain` parameter. By setting this value to `true`, the full certificate chain will be evaluated in addition to performing a byte equality check against the pinned certficates or public keys. A value of `false` will skip the certificate chain validation, but will still perform the byte equality check.
+
+There are several cases where it may make sense to disable certificate chain validation. The most common use cases for disabling validation are self-signed and expired certificates. The evaluation would always fail in both of these cases, but the byte equality check will still ensure you are receiving the certificate you expect from the server.
+
+> It is recommended that `validateCertificateChain` always be set to `true` in production environments.
+
+#### App Transport Security
+
+With the addition of App Transport Security (ATS) in iOS 9, it is possible that using a custom `ServerTrustPolicyManager` with several `ServerTrustPolicy` objects will have no effect. If you continuously see `CFNetwork SSLHandshake failed (-9806)` errors, you have probably run into this problem. Apple's ATS system overrides the entire challenge system unless you configure the ATS settings in your app's plist to disable enough of it to allow your app to evaluate the server trust.
+
+If you run into this problem (high probability with self-signed certificates), you can work around this issue by adding the following to your `Info.plist`.
+
+```xml
+<dict>
+	<key>NSAppTransportSecurity</key>
+	<dict>
+		<key>NSExceptionDomains</key>
+		<dict>
+			<key>example.com</key>
+			<dict>
+				<key>NSExceptionAllowsInsecureHTTPLoads</key>
+				<true/>
+				<key>NSExceptionRequiresForwardSecrecy</key>
+				<false/>
+				<key>NSIncludesSubdomains</key>
+				<true/>
+				<!-- Optional: Specify minimum TLS version -->
+				<key>NSTemporaryExceptionMinimumTLSVersion</key>
+				<string>TLSv1.2</string>
+			</dict>
+		</dict>
+	</dict>
+</dict>
+```
+
+Whether you need to set the `NSExceptionRequiresForwardSecrecy` to `NO` depends on whether your TLS connection is using an allowed cipher suite. In certain cases, it will need to be set to `NO`. The `NSExceptionAllowsInsecureHTTPLoads` MUST be set to `YES` in order to allow the `SessionDelegate` to receive challenge callbacks. Once the challenge callbacks are being called, the `ServerTrustPolicyManager` will take over the server trust evaluation. You may also need to specify the `NSTemporaryExceptionMinimumTLSVersion` if you're trying to connect to a host that only supports TLS versions less than `1.2`.
+
+> It is recommended to always use valid certificates in production environments.
+
+### Network Reachability
+
+The `NetworkReachabilityManager` listens for reachability changes of hosts and addresses for both WWAN and WiFi network interfaces.
+
+```swift
+let manager = NetworkReachabilityManager(host: "www.apple.com")
+
+manager?.listener = { status in
+    print("Network Status Changed: \(status)")
+}
+
+manager?.startListening()
+```
+
+> Make sure to remember to retain the `manager` in the above example, or no status changes will be reported.
+
+There are some important things to remember when using network reachability to determine what to do next.
+
+* **Do NOT** use Reachability to determine if a network request should be sent.
+  * You should **ALWAYS** send it.
+* When Reachability is restored, use the event to retry failed network requests.
+  * Even though the network requests may still fail, this is a good moment to retry them.
+* The network reachability status can be useful for determining why a network request may have failed.
+  * If a network request fails, it is more useful to tell the user that the network request failed due to being offline rather than a more technical errror, such as "request timed out."
+
+> It is recommended to check out [WWDC 2012 Session 706, "Networking Best Practices"](https://developer.apple.com/videos/play/wwdc2012-706/) for more info.
+
+---
+
+## Open Rdars
+
+The following rdars have some affect on the current implementation of Alamofire.
+
+* [rdar://21349340](http://www.openradar.me/radar?id=5517037090635776) - Compiler throwing warning due to toll-free bridging issue in test case
+
+## FAQ
+
+### What's the origin of the name Alamofire?
+
+Alamofire is named after the [Alamo Fire flower](https://aggie-horticulture.tamu.edu/wildseed/alamofire.html), a hybrid variant of the Bluebonnet, the official state flower of Texas.
+
+---
+
+## Credits
+
+Alamofire is owned and maintained by the [Alamofire Software Foundation](http://alamofire.org). You can follow them on Twitter at [@AlamofireSF](https://twitter.com/AlamofireSF) for project updates and releases.
+
+### Security Disclosure
+
+If you believe you have identified a security vulnerability with Alamofire, you should report it as soon as possible via email to security@alamofire.org. Please do not post it to a public issue tracker.
+
+## License
+
+Alamofire is released under the MIT license. See LICENSE for details.
diff --git a/swift/Alamofire-3.3.0/Source/Alamofire.h b/swift/Alamofire-3.3.0/Source/Alamofire.h
new file mode 100755
index 0000000..c27948a
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Source/Alamofire.h
@@ -0,0 +1,26 @@
+// Alamofire.h
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+@import Foundation;
+
+FOUNDATION_EXPORT double AlamofireVersionNumber;
+FOUNDATION_EXPORT const unsigned char AlamofireVersionString[];
diff --git a/swift/Alamofire-3.3.0/Source/Alamofire.swift b/swift/Alamofire-3.3.0/Source/Alamofire.swift
new file mode 100755
index 0000000..b866f42
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Source/Alamofire.swift
@@ -0,0 +1,368 @@
+// Alamofire.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import Foundation
+
+// MARK: - URLStringConvertible
+
+/**
+    Types adopting the `URLStringConvertible` protocol can be used to construct URL strings, which are then used to 
+    construct URL requests.
+*/
+public protocol URLStringConvertible {
+    /**
+        A URL that conforms to RFC 2396.
+
+        Methods accepting a `URLStringConvertible` type parameter parse it according to RFCs 1738 and 1808.
+
+        See https://tools.ietf.org/html/rfc2396
+        See https://tools.ietf.org/html/rfc1738
+        See https://tools.ietf.org/html/rfc1808
+    */
+    var URLString: String { get }
+}
+
+extension String: URLStringConvertible {
+    public var URLString: String {
+        return self
+    }
+}
+
+extension NSURL: URLStringConvertible {
+    public var URLString: String {
+        return absoluteString
+    }
+}
+
+extension NSURLComponents: URLStringConvertible {
+    public var URLString: String {
+        return URL!.URLString
+    }
+}
+
+extension NSURLRequest: URLStringConvertible {
+    public var URLString: String {
+        return URL!.URLString
+    }
+}
+
+// MARK: - URLRequestConvertible
+
+/**
+    Types adopting the `URLRequestConvertible` protocol can be used to construct URL requests.
+*/
+public protocol URLRequestConvertible {
+    /// The URL request.
+    var URLRequest: NSMutableURLRequest { get }
+}
+
+extension NSURLRequest: URLRequestConvertible {
+    public var URLRequest: NSMutableURLRequest {
+        return self.mutableCopy() as! NSMutableURLRequest
+    }
+}
+
+// MARK: - Convenience
+
+func URLRequest(
+    method: Method,
+    _ URLString: URLStringConvertible,
+    headers: [String: String]? = nil)
+    -> NSMutableURLRequest
+{
+    let mutableURLRequest = NSMutableURLRequest(URL: NSURL(string: URLString.URLString)!)
+    mutableURLRequest.HTTPMethod = method.rawValue
+
+    if let headers = headers {
+        for (headerField, headerValue) in headers {
+            mutableURLRequest.setValue(headerValue, forHTTPHeaderField: headerField)
+        }
+    }
+
+    return mutableURLRequest
+}
+
+// MARK: - Request Methods
+
+/**
+    Creates a request using the shared manager instance for the specified method, URL string, parameters, and
+    parameter encoding.
+
+    - parameter method:     The HTTP method.
+    - parameter URLString:  The URL string.
+    - parameter parameters: The parameters. `nil` by default.
+    - parameter encoding:   The parameter encoding. `.URL` by default.
+    - parameter headers:    The HTTP headers. `nil` by default.
+
+    - returns: The created request.
+*/
+public func request(
+    method: Method,
+    _ URLString: URLStringConvertible,
+    parameters: [String: AnyObject]? = nil,
+    encoding: ParameterEncoding = .URL,
+    headers: [String: String]? = nil)
+    -> Request
+{
+    return Manager.sharedInstance.request(
+        method,
+        URLString,
+        parameters: parameters,
+        encoding: encoding,
+        headers: headers
+    )
+}
+
+/**
+    Creates a request using the shared manager instance for the specified URL request.
+
+    If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
+
+    - parameter URLRequest: The URL request
+
+    - returns: The created request.
+*/
+public func request(URLRequest: URLRequestConvertible) -> Request {
+    return Manager.sharedInstance.request(URLRequest.URLRequest)
+}
+
+// MARK: - Upload Methods
+
+// MARK: File
+
+/**
+    Creates an upload request using the shared manager instance for the specified method, URL string, and file.
+
+    - parameter method:    The HTTP method.
+    - parameter URLString: The URL string.
+    - parameter headers:   The HTTP headers. `nil` by default.
+    - parameter file:      The file to upload.
+
+    - returns: The created upload request.
+*/
+public func upload(
+    method: Method,
+    _ URLString: URLStringConvertible,
+    headers: [String: String]? = nil,
+    file: NSURL)
+    -> Request
+{
+    return Manager.sharedInstance.upload(method, URLString, headers: headers, file: file)
+}
+
+/**
+    Creates an upload request using the shared manager instance for the specified URL request and file.
+
+    - parameter URLRequest: The URL request.
+    - parameter file:       The file to upload.
+
+    - returns: The created upload request.
+*/
+public func upload(URLRequest: URLRequestConvertible, file: NSURL) -> Request {
+    return Manager.sharedInstance.upload(URLRequest, file: file)
+}
+
+// MARK: Data
+
+/**
+    Creates an upload request using the shared manager instance for the specified method, URL string, and data.
+
+    - parameter method:    The HTTP method.
+    - parameter URLString: The URL string.
+    - parameter headers:   The HTTP headers. `nil` by default.
+    - parameter data:      The data to upload.
+
+    - returns: The created upload request.
+*/
+public func upload(
+    method: Method,
+    _ URLString: URLStringConvertible,
+    headers: [String: String]? = nil,
+    data: NSData)
+    -> Request
+{
+    return Manager.sharedInstance.upload(method, URLString, headers: headers, data: data)
+}
+
+/**
+    Creates an upload request using the shared manager instance for the specified URL request and data.
+
+    - parameter URLRequest: The URL request.
+    - parameter data:       The data to upload.
+
+    - returns: The created upload request.
+*/
+public func upload(URLRequest: URLRequestConvertible, data: NSData) -> Request {
+    return Manager.sharedInstance.upload(URLRequest, data: data)
+}
+
+// MARK: Stream
+
+/**
+    Creates an upload request using the shared manager instance for the specified method, URL string, and stream.
+
+    - parameter method:    The HTTP method.
+    - parameter URLString: The URL string.
+    - parameter headers:   The HTTP headers. `nil` by default.
+    - parameter stream:    The stream to upload.
+
+    - returns: The created upload request.
+*/
+public func upload(
+    method: Method,
+    _ URLString: URLStringConvertible,
+    headers: [String: String]? = nil,
+    stream: NSInputStream)
+    -> Request
+{
+    return Manager.sharedInstance.upload(method, URLString, headers: headers, stream: stream)
+}
+
+/**
+    Creates an upload request using the shared manager instance for the specified URL request and stream.
+
+    - parameter URLRequest: The URL request.
+    - parameter stream:     The stream to upload.
+
+    - returns: The created upload request.
+*/
+public func upload(URLRequest: URLRequestConvertible, stream: NSInputStream) -> Request {
+    return Manager.sharedInstance.upload(URLRequest, stream: stream)
+}
+
+// MARK: MultipartFormData
+
+/**
+    Creates an upload request using the shared manager instance for the specified method and URL string.
+
+    - parameter method:                  The HTTP method.
+    - parameter URLString:               The URL string.
+    - parameter headers:                 The HTTP headers. `nil` by default.
+    - parameter multipartFormData:       The closure used to append body parts to the `MultipartFormData`.
+    - parameter encodingMemoryThreshold: The encoding memory threshold in bytes.
+                                         `MultipartFormDataEncodingMemoryThreshold` by default.
+    - parameter encodingCompletion:      The closure called when the `MultipartFormData` encoding is complete.
+*/
+public func upload(
+    method: Method,
+    _ URLString: URLStringConvertible,
+    headers: [String: String]? = nil,
+    multipartFormData: MultipartFormData -> Void,
+    encodingMemoryThreshold: UInt64 = Manager.MultipartFormDataEncodingMemoryThreshold,
+    encodingCompletion: (Manager.MultipartFormDataEncodingResult -> Void)?)
+{
+    return Manager.sharedInstance.upload(
+        method,
+        URLString,
+        headers: headers,
+        multipartFormData: multipartFormData,
+        encodingMemoryThreshold: encodingMemoryThreshold,
+        encodingCompletion: encodingCompletion
+    )
+}
+
+/**
+    Creates an upload request using the shared manager instance for the specified method and URL string.
+
+    - parameter URLRequest:              The URL request.
+    - parameter multipartFormData:       The closure used to append body parts to the `MultipartFormData`.
+    - parameter encodingMemoryThreshold: The encoding memory threshold in bytes.
+                                         `MultipartFormDataEncodingMemoryThreshold` by default.
+    - parameter encodingCompletion:      The closure called when the `MultipartFormData` encoding is complete.
+*/
+public func upload(
+    URLRequest: URLRequestConvertible,
+    multipartFormData: MultipartFormData -> Void,
+    encodingMemoryThreshold: UInt64 = Manager.MultipartFormDataEncodingMemoryThreshold,
+    encodingCompletion: (Manager.MultipartFormDataEncodingResult -> Void)?)
+{
+    return Manager.sharedInstance.upload(
+        URLRequest,
+        multipartFormData: multipartFormData,
+        encodingMemoryThreshold: encodingMemoryThreshold,
+        encodingCompletion: encodingCompletion
+    )
+}
+
+// MARK: - Download Methods
+
+// MARK: URL Request
+
+/**
+    Creates a download request using the shared manager instance for the specified method and URL string.
+
+    - parameter method:      The HTTP method.
+    - parameter URLString:   The URL string.
+    - parameter parameters:  The parameters. `nil` by default.
+    - parameter encoding:    The parameter encoding. `.URL` by default.
+    - parameter headers:     The HTTP headers. `nil` by default.
+    - parameter destination: The closure used to determine the destination of the downloaded file.
+
+    - returns: The created download request.
+*/
+public func download(
+    method: Method,
+    _ URLString: URLStringConvertible,
+    parameters: [String: AnyObject]? = nil,
+    encoding: ParameterEncoding = .URL,
+    headers: [String: String]? = nil,
+    destination: Request.DownloadFileDestination)
+    -> Request
+{
+    return Manager.sharedInstance.download(
+        method,
+        URLString,
+        parameters: parameters,
+        encoding: encoding,
+        headers: headers,
+        destination: destination
+    )
+}
+
+/**
+    Creates a download request using the shared manager instance for the specified URL request.
+
+    - parameter URLRequest:  The URL request.
+    - parameter destination: The closure used to determine the destination of the downloaded file.
+
+    - returns: The created download request.
+*/
+public func download(URLRequest: URLRequestConvertible, destination: Request.DownloadFileDestination) -> Request {
+    return Manager.sharedInstance.download(URLRequest, destination: destination)
+}
+
+// MARK: Resume Data
+
+/**
+    Creates a request using the shared manager instance for downloading from the resume data produced from a 
+    previous request cancellation.
+
+    - parameter resumeData:  The resume data. This is an opaque data blob produced by `NSURLSessionDownloadTask`
+                             when a task is cancelled. See `NSURLSession -downloadTaskWithResumeData:` for additional 
+                             information.
+    - parameter destination: The closure used to determine the destination of the downloaded file.
+
+    - returns: The created download request.
+*/
+public func download(resumeData data: NSData, destination: Request.DownloadFileDestination) -> Request {
+    return Manager.sharedInstance.download(data, destination: destination)
+}
diff --git a/swift/Alamofire-3.3.0/Source/Download.swift b/swift/Alamofire-3.3.0/Source/Download.swift
new file mode 100755
index 0000000..2ebe40f
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Source/Download.swift
@@ -0,0 +1,246 @@
+// Download.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import Foundation
+
+extension Manager {
+    private enum Downloadable {
+        case Request(NSURLRequest)
+        case ResumeData(NSData)
+    }
+
+    private func download(downloadable: Downloadable, destination: Request.DownloadFileDestination) -> Request {
+        var downloadTask: NSURLSessionDownloadTask!
+
+        switch downloadable {
+        case .Request(let request):
+            dispatch_sync(queue) {
+                downloadTask = self.session.downloadTaskWithRequest(request)
+            }
+        case .ResumeData(let resumeData):
+            dispatch_sync(queue) {
+                downloadTask = self.session.downloadTaskWithResumeData(resumeData)
+            }
+        }
+
+        let request = Request(session: session, task: downloadTask)
+
+        if let downloadDelegate = request.delegate as? Request.DownloadTaskDelegate {
+            downloadDelegate.downloadTaskDidFinishDownloadingToURL = { session, downloadTask, URL in
+                return destination(URL, downloadTask.response as! NSHTTPURLResponse)
+            }
+        }
+
+        delegate[request.delegate.task] = request.delegate
+
+        if startRequestsImmediately {
+            request.resume()
+        }
+
+        return request
+    }
+
+    // MARK: Request
+
+    /**
+        Creates a download request for the specified method, URL string, parameters, parameter encoding, headers
+        and destination.
+
+        If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
+
+        - parameter method:      The HTTP method.
+        - parameter URLString:   The URL string.
+        - parameter parameters:  The parameters. `nil` by default.
+        - parameter encoding:    The parameter encoding. `.URL` by default.
+        - parameter headers:     The HTTP headers. `nil` by default.
+        - parameter destination: The closure used to determine the destination of the downloaded file.
+
+        - returns: The created download request.
+    */
+    public func download(
+        method: Method,
+        _ URLString: URLStringConvertible,
+        parameters: [String: AnyObject]? = nil,
+        encoding: ParameterEncoding = .URL,
+        headers: [String: String]? = nil,
+        destination: Request.DownloadFileDestination)
+        -> Request
+    {
+        let mutableURLRequest = URLRequest(method, URLString, headers: headers)
+        let encodedURLRequest = encoding.encode(mutableURLRequest, parameters: parameters).0
+
+        return download(encodedURLRequest, destination: destination)
+    }
+
+    /**
+        Creates a request for downloading from the specified URL request.
+
+        If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
+
+        - parameter URLRequest:  The URL request
+        - parameter destination: The closure used to determine the destination of the downloaded file.
+
+        - returns: The created download request.
+    */
+    public func download(URLRequest: URLRequestConvertible, destination: Request.DownloadFileDestination) -> Request {
+        return download(.Request(URLRequest.URLRequest), destination: destination)
+    }
+
+    // MARK: Resume Data
+
+    /**
+        Creates a request for downloading from the resume data produced from a previous request cancellation.
+
+        If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
+
+        - parameter resumeData:  The resume data. This is an opaque data blob produced by `NSURLSessionDownloadTask` 
+                                 when a task is cancelled. See `NSURLSession -downloadTaskWithResumeData:` for 
+                                 additional information.
+        - parameter destination: The closure used to determine the destination of the downloaded file.
+
+        - returns: The created download request.
+    */
+    public func download(resumeData: NSData, destination: Request.DownloadFileDestination) -> Request {
+        return download(.ResumeData(resumeData), destination: destination)
+    }
+}
+
+// MARK: -
+
+extension Request {
+    /**
+        A closure executed once a request has successfully completed in order to determine where to move the temporary 
+        file written to during the download process. The closure takes two arguments: the temporary file URL and the URL 
+        response, and returns a single argument: the file URL where the temporary file should be moved.
+    */
+    public typealias DownloadFileDestination = (NSURL, NSHTTPURLResponse) -> NSURL
+
+    /**
+        Creates a download file destination closure which uses the default file manager to move the temporary file to a 
+        file URL in the first available directory with the specified search path directory and search path domain mask.
+
+        - parameter directory: The search path directory. `.DocumentDirectory` by default.
+        - parameter domain:    The search path domain mask. `.UserDomainMask` by default.
+
+        - returns: A download file destination closure.
+    */
+    public class func suggestedDownloadDestination(
+        directory directory: NSSearchPathDirectory = .DocumentDirectory,
+        domain: NSSearchPathDomainMask = .UserDomainMask)
+        -> DownloadFileDestination
+    {
+        return { temporaryURL, response -> NSURL in
+            let directoryURLs = NSFileManager.defaultManager().URLsForDirectory(directory, inDomains: domain)
+
+            if !directoryURLs.isEmpty {
+                return directoryURLs[0].URLByAppendingPathComponent(response.suggestedFilename!)
+            }
+
+            return temporaryURL
+        }
+    }
+
+    /// The resume data of the underlying download task if available after a failure.
+    public var resumeData: NSData? {
+        var data: NSData?
+
+        if let delegate = delegate as? DownloadTaskDelegate {
+            data = delegate.resumeData
+        }
+
+        return data
+    }
+
+    // MARK: - DownloadTaskDelegate
+
+    class DownloadTaskDelegate: TaskDelegate, NSURLSessionDownloadDelegate {
+        var downloadTask: NSURLSessionDownloadTask? { return task as? NSURLSessionDownloadTask }
+        var downloadProgress: ((Int64, Int64, Int64) -> Void)?
+
+        var resumeData: NSData?
+        override var data: NSData? { return resumeData }
+
+        // MARK: - NSURLSessionDownloadDelegate
+
+        // MARK: Override Closures
+
+        var downloadTaskDidFinishDownloadingToURL: ((NSURLSession, NSURLSessionDownloadTask, NSURL) -> NSURL)?
+        var downloadTaskDidWriteData: ((NSURLSession, NSURLSessionDownloadTask, Int64, Int64, Int64) -> Void)?
+        var downloadTaskDidResumeAtOffset: ((NSURLSession, NSURLSessionDownloadTask, Int64, Int64) -> Void)?
+
+        // MARK: Delegate Methods
+
+        func URLSession(
+            session: NSURLSession,
+            downloadTask: NSURLSessionDownloadTask,
+            didFinishDownloadingToURL location: NSURL)
+        {
+            if let downloadTaskDidFinishDownloadingToURL = downloadTaskDidFinishDownloadingToURL {
+                do {
+                    let destination = downloadTaskDidFinishDownloadingToURL(session, downloadTask, location)
+                    try NSFileManager.defaultManager().moveItemAtURL(location, toURL: destination)
+                } catch {
+                    self.error = error as NSError
+                }
+            }
+        }
+
+        func URLSession(
+            session: NSURLSession,
+            downloadTask: NSURLSessionDownloadTask,
+            didWriteData bytesWritten: Int64,
+            totalBytesWritten: Int64,
+            totalBytesExpectedToWrite: Int64)
+        {
+            if initialResponseTime == nil { initialResponseTime = CFAbsoluteTimeGetCurrent() }
+
+            if let downloadTaskDidWriteData = downloadTaskDidWriteData {
+                downloadTaskDidWriteData(
+                    session,
+                    downloadTask,
+                    bytesWritten,
+                    totalBytesWritten, 
+                    totalBytesExpectedToWrite
+                )
+            } else {
+                progress.totalUnitCount = totalBytesExpectedToWrite
+                progress.completedUnitCount = totalBytesWritten
+
+                downloadProgress?(bytesWritten, totalBytesWritten, totalBytesExpectedToWrite)
+            }
+        }
+
+        func URLSession(
+            session: NSURLSession,
+            downloadTask: NSURLSessionDownloadTask,
+            didResumeAtOffset fileOffset: Int64,
+            expectedTotalBytes: Int64)
+        {
+            if let downloadTaskDidResumeAtOffset = downloadTaskDidResumeAtOffset {
+                downloadTaskDidResumeAtOffset(session, downloadTask, fileOffset, expectedTotalBytes)
+            } else {
+                progress.totalUnitCount = expectedTotalBytes
+                progress.completedUnitCount = fileOffset
+            }
+        }
+    }
+}
diff --git a/swift/Alamofire-3.3.0/Source/Error.swift b/swift/Alamofire-3.3.0/Source/Error.swift
new file mode 100755
index 0000000..7a813f1
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Source/Error.swift
@@ -0,0 +1,66 @@
+// Error.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import Foundation
+
+/// The `Error` struct provides a convenience for creating custom Alamofire NSErrors.
+public struct Error {
+    /// The domain used for creating all Alamofire errors.
+    public static let Domain = "com.alamofire.error"
+
+    /// The custom error codes generated by Alamofire.
+    public enum Code: Int {
+        case InputStreamReadFailed           = -6000
+        case OutputStreamWriteFailed         = -6001
+        case ContentTypeValidationFailed     = -6002
+        case StatusCodeValidationFailed      = -6003
+        case DataSerializationFailed         = -6004
+        case StringSerializationFailed       = -6005
+        case JSONSerializationFailed         = -6006
+        case PropertyListSerializationFailed = -6007
+    }
+
+    /**
+        Creates an `NSError` with the given error code and failure reason.
+
+        - parameter code:          The error code.
+        - parameter failureReason: The failure reason.
+
+        - returns: An `NSError` with the given error code and failure reason.
+    */
+    public static func errorWithCode(code: Code, failureReason: String) -> NSError {
+        return errorWithCode(code.rawValue, failureReason: failureReason)
+    }
+
+    /**
+        Creates an `NSError` with the given error code and failure reason.
+
+        - parameter code:          The error code.
+        - parameter failureReason: The failure reason.
+
+        - returns: An `NSError` with the given error code and failure reason.
+    */
+    public static func errorWithCode(code: Int, failureReason: String) -> NSError {
+        let userInfo = [NSLocalizedFailureReasonErrorKey: failureReason]
+        return NSError(domain: Domain, code: code, userInfo: userInfo)
+    }
+}
diff --git a/swift/Alamofire-3.3.0/Source/Info-tvOS.plist b/swift/Alamofire-3.3.0/Source/Info-tvOS.plist
new file mode 100755
index 0000000..eb22fc9
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Source/Info-tvOS.plist
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>CFBundleDevelopmentRegion</key>
+	<string>en</string>
+	<key>CFBundleExecutable</key>
+	<string>$(EXECUTABLE_NAME)</string>
+	<key>CFBundleIdentifier</key>
+	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
+	<key>CFBundleInfoDictionaryVersion</key>
+	<string>6.0</string>
+	<key>CFBundleName</key>
+	<string>$(PRODUCT_NAME)</string>
+	<key>CFBundlePackageType</key>
+	<string>FMWK</string>
+	<key>CFBundleShortVersionString</key>
+	<string>3.3.0</string>
+	<key>CFBundleSignature</key>
+	<string>????</string>
+	<key>CFBundleVersion</key>
+	<string>$(CURRENT_PROJECT_VERSION)</string>
+	<key>NSPrincipalClass</key>
+	<string></string>
+	<key>UIRequiredDeviceCapabilities</key>
+	<array>
+		<string>arm64</string>
+	</array>
+</dict>
+</plist>
diff --git a/swift/Alamofire-3.3.0/Source/Info.plist b/swift/Alamofire-3.3.0/Source/Info.plist
new file mode 100755
index 0000000..f7c2d1b
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Source/Info.plist
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>CFBundleDevelopmentRegion</key>
+	<string>en</string>
+	<key>CFBundleExecutable</key>
+	<string>$(EXECUTABLE_NAME)</string>
+	<key>CFBundleIdentifier</key>
+	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
+	<key>CFBundleInfoDictionaryVersion</key>
+	<string>6.0</string>
+	<key>CFBundleName</key>
+	<string>$(PRODUCT_NAME)</string>
+	<key>CFBundlePackageType</key>
+	<string>FMWK</string>
+	<key>CFBundleShortVersionString</key>
+	<string>3.3.0</string>
+	<key>CFBundleSignature</key>
+	<string>????</string>
+	<key>CFBundleVersion</key>
+	<string>$(CURRENT_PROJECT_VERSION)</string>
+	<key>NSPrincipalClass</key>
+	<string></string>
+</dict>
+</plist>
diff --git a/swift/Alamofire-3.3.0/Source/Manager.swift b/swift/Alamofire-3.3.0/Source/Manager.swift
new file mode 100755
index 0000000..c454706
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Source/Manager.swift
@@ -0,0 +1,753 @@
+// Manager.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import Foundation
+
+/**
+    Responsible for creating and managing `Request` objects, as well as their underlying `NSURLSession`.
+*/
+public class Manager {
+
+    // MARK: - Properties
+
+    /**
+        A shared instance of `Manager`, used by top-level Alamofire request methods, and suitable for use directly 
+        for any ad hoc requests.
+    */
+    public static let sharedInstance: Manager = {
+        let configuration = NSURLSessionConfiguration.defaultSessionConfiguration()
+        configuration.HTTPAdditionalHeaders = Manager.defaultHTTPHeaders
+
+        return Manager(configuration: configuration)
+    }()
+
+    /**
+        Creates default values for the "Accept-Encoding", "Accept-Language" and "User-Agent" headers.
+    */
+    public static let defaultHTTPHeaders: [String: String] = {
+        // Accept-Encoding HTTP Header; see https://tools.ietf.org/html/rfc7230#section-4.2.3
+        let acceptEncoding: String = "gzip;q=1.0, compress;q=0.5"
+
+        // Accept-Language HTTP Header; see https://tools.ietf.org/html/rfc7231#section-5.3.5
+        let acceptLanguage = NSLocale.preferredLanguages().prefix(6).enumerate().map { index, languageCode in
+            let quality = 1.0 - (Double(index) * 0.1)
+            return "\(languageCode);q=\(quality)"
+        }.joinWithSeparator(", ")
+
+        // User-Agent Header; see https://tools.ietf.org/html/rfc7231#section-5.5.3
+        let userAgent: String = {
+            if let info = NSBundle.mainBundle().infoDictionary {
+                let executable = info[kCFBundleExecutableKey as String] as? String ?? "Unknown"
+                let bundle = info[kCFBundleIdentifierKey as String] as? String ?? "Unknown"
+                let version = info[kCFBundleVersionKey as String] as? String ?? "Unknown"
+                let os = NSProcessInfo.processInfo().operatingSystemVersionString
+
+                var mutableUserAgent = NSMutableString(string: "\(executable)/\(bundle) (\(version); OS \(os))") as CFMutableString
+                let transform = NSString(string: "Any-Latin; Latin-ASCII; [:^ASCII:] Remove") as CFString
+
+                if CFStringTransform(mutableUserAgent, UnsafeMutablePointer<CFRange>(nil), transform, false) {
+                    return mutableUserAgent as String
+                }
+            }
+
+            return "Alamofire"
+        }()
+
+        return [
+            "Accept-Encoding": acceptEncoding,
+            "Accept-Language": acceptLanguage,
+            "User-Agent": userAgent
+        ]
+    }()
+
+    let queue = dispatch_queue_create(nil, DISPATCH_QUEUE_SERIAL)
+
+    /// The underlying session.
+    public let session: NSURLSession
+
+    /// The session delegate handling all the task and session delegate callbacks.
+    public let delegate: SessionDelegate
+
+    /// Whether to start requests immediately after being constructed. `true` by default.
+    public var startRequestsImmediately: Bool = true
+
+    /**
+        The background completion handler closure provided by the UIApplicationDelegate 
+        `application:handleEventsForBackgroundURLSession:completionHandler:` method. By setting the background 
+        completion handler, the SessionDelegate `sessionDidFinishEventsForBackgroundURLSession` closure implementation 
+        will automatically call the handler.
+    
+        If you need to handle your own events before the handler is called, then you need to override the 
+        SessionDelegate `sessionDidFinishEventsForBackgroundURLSession` and manually call the handler when finished.
+    
+        `nil` by default.
+    */
+    public var backgroundCompletionHandler: (() -> Void)?
+
+    // MARK: - Lifecycle
+
+    /**
+        Initializes the `Manager` instance with the specified configuration, delegate and server trust policy.
+
+        - parameter configuration:            The configuration used to construct the managed session. 
+                                              `NSURLSessionConfiguration.defaultSessionConfiguration()` by default.
+        - parameter delegate:                 The delegate used when initializing the session. `SessionDelegate()` by
+                                              default.
+        - parameter serverTrustPolicyManager: The server trust policy manager to use for evaluating all server trust 
+                                              challenges. `nil` by default.
+
+        - returns: The new `Manager` instance.
+    */
+    public init(
+        configuration: NSURLSessionConfiguration = NSURLSessionConfiguration.defaultSessionConfiguration(),
+        delegate: SessionDelegate = SessionDelegate(),
+        serverTrustPolicyManager: ServerTrustPolicyManager? = nil)
+    {
+        self.delegate = delegate
+        self.session = NSURLSession(configuration: configuration, delegate: delegate, delegateQueue: nil)
+
+        commonInit(serverTrustPolicyManager: serverTrustPolicyManager)
+    }
+
+    /**
+        Initializes the `Manager` instance with the specified session, delegate and server trust policy.
+
+        - parameter session:                  The URL session.
+        - parameter delegate:                 The delegate of the URL session. Must equal the URL session's delegate.
+        - parameter serverTrustPolicyManager: The server trust policy manager to use for evaluating all server trust
+                                              challenges. `nil` by default.
+
+        - returns: The new `Manager` instance if the URL session's delegate matches the delegate parameter.
+    */
+    public init?(
+        session: NSURLSession,
+        delegate: SessionDelegate,
+        serverTrustPolicyManager: ServerTrustPolicyManager? = nil)
+    {
+        self.delegate = delegate
+        self.session = session
+
+        guard delegate === session.delegate else { return nil }
+
+        commonInit(serverTrustPolicyManager: serverTrustPolicyManager)
+    }
+
+    private func commonInit(serverTrustPolicyManager serverTrustPolicyManager: ServerTrustPolicyManager?) {
+        session.serverTrustPolicyManager = serverTrustPolicyManager
+
+        delegate.sessionDidFinishEventsForBackgroundURLSession = { [weak self] session in
+            guard let strongSelf = self else { return }
+            dispatch_async(dispatch_get_main_queue()) { strongSelf.backgroundCompletionHandler?() }
+        }
+    }
+
+    deinit {
+        session.invalidateAndCancel()
+    }
+
+    // MARK: - Request
+
+    /**
+        Creates a request for the specified method, URL string, parameters, parameter encoding and headers.
+
+        - parameter method:     The HTTP method.
+        - parameter URLString:  The URL string.
+        - parameter parameters: The parameters. `nil` by default.
+        - parameter encoding:   The parameter encoding. `.URL` by default.
+        - parameter headers:    The HTTP headers. `nil` by default.
+
+        - returns: The created request.
+    */
+    public func request(
+        method: Method,
+        _ URLString: URLStringConvertible,
+        parameters: [String: AnyObject]? = nil,
+        encoding: ParameterEncoding = .URL,
+        headers: [String: String]? = nil)
+        -> Request
+    {
+        let mutableURLRequest = URLRequest(method, URLString, headers: headers)
+        let encodedURLRequest = encoding.encode(mutableURLRequest, parameters: parameters).0
+        return request(encodedURLRequest)
+    }
+
+    /**
+        Creates a request for the specified URL request.
+
+        If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
+
+        - parameter URLRequest: The URL request
+
+        - returns: The created request.
+    */
+    public func request(URLRequest: URLRequestConvertible) -> Request {
+        var dataTask: NSURLSessionDataTask!
+        dispatch_sync(queue) { dataTask = self.session.dataTaskWithRequest(URLRequest.URLRequest) }
+
+        let request = Request(session: session, task: dataTask)
+        delegate[request.delegate.task] = request.delegate
+
+        if startRequestsImmediately {
+            request.resume()
+        }
+
+        return request
+    }
+
+    // MARK: - SessionDelegate
+
+    /**
+        Responsible for handling all delegate callbacks for the underlying session.
+    */
+    public final class SessionDelegate: NSObject, NSURLSessionDelegate, NSURLSessionTaskDelegate, NSURLSessionDataDelegate, NSURLSessionDownloadDelegate {
+        private var subdelegates: [Int: Request.TaskDelegate] = [:]
+        private let subdelegateQueue = dispatch_queue_create(nil, DISPATCH_QUEUE_CONCURRENT)
+
+        subscript(task: NSURLSessionTask) -> Request.TaskDelegate? {
+            get {
+                var subdelegate: Request.TaskDelegate?
+                dispatch_sync(subdelegateQueue) { subdelegate = self.subdelegates[task.taskIdentifier] }
+
+                return subdelegate
+            }
+
+            set {
+                dispatch_barrier_async(subdelegateQueue) { self.subdelegates[task.taskIdentifier] = newValue }
+            }
+        }
+
+        /**
+            Initializes the `SessionDelegate` instance.
+
+            - returns: The new `SessionDelegate` instance.
+        */
+        public override init() {
+            super.init()
+        }
+
+        // MARK: - NSURLSessionDelegate
+
+        // MARK: Override Closures
+
+        /// Overrides default behavior for NSURLSessionDelegate method `URLSession:didBecomeInvalidWithError:`.
+        public var sessionDidBecomeInvalidWithError: ((NSURLSession, NSError?) -> Void)?
+
+        /// Overrides default behavior for NSURLSessionDelegate method `URLSession:didReceiveChallenge:completionHandler:`.
+        public var sessionDidReceiveChallenge: ((NSURLSession, NSURLAuthenticationChallenge) -> (NSURLSessionAuthChallengeDisposition, NSURLCredential?))?
+
+        /// Overrides all behavior for NSURLSessionDelegate method `URLSession:didReceiveChallenge:completionHandler:` and requires the caller to call the `completionHandler`.
+        public var sessionDidReceiveChallengeWithCompletion: ((NSURLSession, NSURLAuthenticationChallenge, (NSURLSessionAuthChallengeDisposition, NSURLCredential?) -> Void) -> Void)?
+
+        /// Overrides default behavior for NSURLSessionDelegate method `URLSessionDidFinishEventsForBackgroundURLSession:`.
+        public var sessionDidFinishEventsForBackgroundURLSession: ((NSURLSession) -> Void)?
+
+        // MARK: Delegate Methods
+
+        /**
+            Tells the delegate that the session has been invalidated.
+
+            - parameter session: The session object that was invalidated.
+            - parameter error:   The error that caused invalidation, or nil if the invalidation was explicit.
+        */
+        public func URLSession(session: NSURLSession, didBecomeInvalidWithError error: NSError?) {
+            sessionDidBecomeInvalidWithError?(session, error)
+        }
+
+        /**
+            Requests credentials from the delegate in response to a session-level authentication request from the remote server.
+
+            - parameter session:           The session containing the task that requested authentication.
+            - parameter challenge:         An object that contains the request for authentication.
+            - parameter completionHandler: A handler that your delegate method must call providing the disposition and credential.
+        */
+        public func URLSession(
+            session: NSURLSession,
+            didReceiveChallenge challenge: NSURLAuthenticationChallenge,
+            completionHandler: ((NSURLSessionAuthChallengeDisposition, NSURLCredential?) -> Void))
+        {
+            guard sessionDidReceiveChallengeWithCompletion == nil else {
+                sessionDidReceiveChallengeWithCompletion?(session, challenge, completionHandler)
+                return
+            }
+
+            var disposition: NSURLSessionAuthChallengeDisposition = .PerformDefaultHandling
+            var credential: NSURLCredential?
+
+            if let sessionDidReceiveChallenge = sessionDidReceiveChallenge {
+                (disposition, credential) = sessionDidReceiveChallenge(session, challenge)
+            } else if challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust {
+                let host = challenge.protectionSpace.host
+
+                if let
+                    serverTrustPolicy = session.serverTrustPolicyManager?.serverTrustPolicyForHost(host),
+                    serverTrust = challenge.protectionSpace.serverTrust
+                {
+                    if serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host) {
+                        disposition = .UseCredential
+                        credential = NSURLCredential(forTrust: serverTrust)
+                    } else {
+                        disposition = .CancelAuthenticationChallenge
+                    }
+                }
+            }
+
+            completionHandler(disposition, credential)
+        }
+
+        /**
+            Tells the delegate that all messages enqueued for a session have been delivered.
+
+            - parameter session: The session that no longer has any outstanding requests.
+        */
+        public func URLSessionDidFinishEventsForBackgroundURLSession(session: NSURLSession) {
+            sessionDidFinishEventsForBackgroundURLSession?(session)
+        }
+
+        // MARK: - NSURLSessionTaskDelegate
+
+        // MARK: Override Closures
+
+        /// Overrides default behavior for NSURLSessionTaskDelegate method `URLSession:task:willPerformHTTPRedirection:newRequest:completionHandler:`.
+        public var taskWillPerformHTTPRedirection: ((NSURLSession, NSURLSessionTask, NSHTTPURLResponse, NSURLRequest) -> NSURLRequest?)?
+
+        /// Overrides all behavior for NSURLSessionTaskDelegate method `URLSession:task:willPerformHTTPRedirection:newRequest:completionHandler:` and
+        /// requires the caller to call the `completionHandler`.
+        public var taskWillPerformHTTPRedirectionWithCompletion: ((NSURLSession, NSURLSessionTask, NSHTTPURLResponse, NSURLRequest, NSURLRequest? -> Void) -> Void)?
+
+        /// Overrides default behavior for NSURLSessionTaskDelegate method `URLSession:task:didReceiveChallenge:completionHandler:`.
+        public var taskDidReceiveChallenge: ((NSURLSession, NSURLSessionTask, NSURLAuthenticationChallenge) -> (NSURLSessionAuthChallengeDisposition, NSURLCredential?))?
+
+        /// Overrides all behavior for NSURLSessionTaskDelegate method `URLSession:task:didReceiveChallenge:completionHandler:` and 
+        /// requires the caller to call the `completionHandler`.
+        public var taskDidReceiveChallengeWithCompletion: ((NSURLSession, NSURLSessionTask, NSURLAuthenticationChallenge, (NSURLSessionAuthChallengeDisposition, NSURLCredential?) -> Void) -> Void)?
+
+        /// Overrides default behavior for NSURLSessionTaskDelegate method `URLSession:session:task:needNewBodyStream:`.
+        public var taskNeedNewBodyStream: ((NSURLSession, NSURLSessionTask) -> NSInputStream?)?
+
+        /// Overrides all behavior for NSURLSessionTaskDelegate method `URLSession:session:task:needNewBodyStream:` and 
+        /// requires the caller to call the `completionHandler`.
+        public var taskNeedNewBodyStreamWithCompletion: ((NSURLSession, NSURLSessionTask, NSInputStream? -> Void) -> Void)?
+
+        /// Overrides default behavior for NSURLSessionTaskDelegate method `URLSession:task:didSendBodyData:totalBytesSent:totalBytesExpectedToSend:`.
+        public var taskDidSendBodyData: ((NSURLSession, NSURLSessionTask, Int64, Int64, Int64) -> Void)?
+
+        /// Overrides default behavior for NSURLSessionTaskDelegate method `URLSession:task:didCompleteWithError:`.
+        public var taskDidComplete: ((NSURLSession, NSURLSessionTask, NSError?) -> Void)?
+
+        // MARK: Delegate Methods
+
+        /**
+            Tells the delegate that the remote server requested an HTTP redirect.
+
+            - parameter session:           The session containing the task whose request resulted in a redirect.
+            - parameter task:              The task whose request resulted in a redirect.
+            - parameter response:          An object containing the server’s response to the original request.
+            - parameter request:           A URL request object filled out with the new location.
+            - parameter completionHandler: A closure that your handler should call with either the value of the request 
+                                           parameter, a modified URL request object, or NULL to refuse the redirect and 
+                                           return the body of the redirect response.
+        */
+        public func URLSession(
+            session: NSURLSession,
+            task: NSURLSessionTask,
+            willPerformHTTPRedirection response: NSHTTPURLResponse,
+            newRequest request: NSURLRequest,
+            completionHandler: NSURLRequest? -> Void)
+        {
+            guard taskWillPerformHTTPRedirectionWithCompletion == nil else {
+                taskWillPerformHTTPRedirectionWithCompletion?(session, task, response, request, completionHandler)
+                return
+            }
+
+            var redirectRequest: NSURLRequest? = request
+
+            if let taskWillPerformHTTPRedirection = taskWillPerformHTTPRedirection {
+                redirectRequest = taskWillPerformHTTPRedirection(session, task, response, request)
+            }
+
+            completionHandler(redirectRequest)
+        }
+
+        /**
+            Requests credentials from the delegate in response to an authentication request from the remote server.
+
+            - parameter session:           The session containing the task whose request requires authentication.
+            - parameter task:              The task whose request requires authentication.
+            - parameter challenge:         An object that contains the request for authentication.
+            - parameter completionHandler: A handler that your delegate method must call providing the disposition and credential.
+        */
+        public func URLSession(
+            session: NSURLSession,
+            task: NSURLSessionTask,
+            didReceiveChallenge challenge: NSURLAuthenticationChallenge,
+            completionHandler: (NSURLSessionAuthChallengeDisposition, NSURLCredential?) -> Void)
+        {
+            guard taskDidReceiveChallengeWithCompletion == nil else {
+                taskDidReceiveChallengeWithCompletion?(session, task, challenge, completionHandler)
+                return
+            }
+
+            if let taskDidReceiveChallenge = taskDidReceiveChallenge {
+                let result = taskDidReceiveChallenge(session, task, challenge)
+                completionHandler(result.0, result.1)
+            } else if let delegate = self[task] {
+                delegate.URLSession(
+                    session,
+                    task: task,
+                    didReceiveChallenge: challenge,
+                    completionHandler: completionHandler
+                )
+            } else {
+                URLSession(session, didReceiveChallenge: challenge, completionHandler: completionHandler)
+            }
+        }
+
+        /**
+            Tells the delegate when a task requires a new request body stream to send to the remote server.
+
+            - parameter session:           The session containing the task that needs a new body stream.
+            - parameter task:              The task that needs a new body stream.
+            - parameter completionHandler: A completion handler that your delegate method should call with the new body stream.
+        */
+        public func URLSession(
+            session: NSURLSession,
+            task: NSURLSessionTask,
+            needNewBodyStream completionHandler: NSInputStream? -> Void)
+        {
+            guard taskNeedNewBodyStreamWithCompletion == nil else {
+                taskNeedNewBodyStreamWithCompletion?(session, task, completionHandler)
+                return
+            }
+
+            if let taskNeedNewBodyStream = taskNeedNewBodyStream {
+                completionHandler(taskNeedNewBodyStream(session, task))
+            } else if let delegate = self[task] {
+                delegate.URLSession(session, task: task, needNewBodyStream: completionHandler)
+            }
+        }
+
+        /**
+            Periodically informs the delegate of the progress of sending body content to the server.
+
+            - parameter session:                  The session containing the data task.
+            - parameter task:                     The data task.
+            - parameter bytesSent:                The number of bytes sent since the last time this delegate method was called.
+            - parameter totalBytesSent:           The total number of bytes sent so far.
+            - parameter totalBytesExpectedToSend: The expected length of the body data.
+        */
+        public func URLSession(
+            session: NSURLSession,
+            task: NSURLSessionTask,
+            didSendBodyData bytesSent: Int64,
+            totalBytesSent: Int64,
+            totalBytesExpectedToSend: Int64)
+        {
+            if let taskDidSendBodyData = taskDidSendBodyData {
+                taskDidSendBodyData(session, task, bytesSent, totalBytesSent, totalBytesExpectedToSend)
+            } else if let delegate = self[task] as? Request.UploadTaskDelegate {
+                delegate.URLSession(
+                    session,
+                    task: task,
+                    didSendBodyData: bytesSent,
+                    totalBytesSent: totalBytesSent,
+                    totalBytesExpectedToSend: totalBytesExpectedToSend
+                )
+            }
+        }
+
+        /**
+            Tells the delegate that the task finished transferring data.
+
+            - parameter session: The session containing the task whose request finished transferring data.
+            - parameter task:    The task whose request finished transferring data.
+            - parameter error:   If an error occurred, an error object indicating how the transfer failed, otherwise nil.
+        */
+        public func URLSession(session: NSURLSession, task: NSURLSessionTask, didCompleteWithError error: NSError?) {
+            if let taskDidComplete = taskDidComplete {
+                taskDidComplete(session, task, error)
+            } else if let delegate = self[task] {
+                delegate.URLSession(session, task: task, didCompleteWithError: error)
+            }
+
+            NSNotificationCenter.defaultCenter().postNotificationName(Notifications.Task.DidComplete, object: task)
+
+            self[task] = nil
+        }
+
+        // MARK: - NSURLSessionDataDelegate
+
+        // MARK: Override Closures
+
+        /// Overrides default behavior for NSURLSessionDataDelegate method `URLSession:dataTask:didReceiveResponse:completionHandler:`.
+        public var dataTaskDidReceiveResponse: ((NSURLSession, NSURLSessionDataTask, NSURLResponse) -> NSURLSessionResponseDisposition)?
+
+        /// Overrides all behavior for NSURLSessionDataDelegate method `URLSession:dataTask:didReceiveResponse:completionHandler:` and 
+        /// requires caller to call the `completionHandler`.
+        public var dataTaskDidReceiveResponseWithCompletion: ((NSURLSession, NSURLSessionDataTask, NSURLResponse, NSURLSessionResponseDisposition -> Void) -> Void)?
+
+        /// Overrides default behavior for NSURLSessionDataDelegate method `URLSession:dataTask:didBecomeDownloadTask:`.
+        public var dataTaskDidBecomeDownloadTask: ((NSURLSession, NSURLSessionDataTask, NSURLSessionDownloadTask) -> Void)?
+
+        /// Overrides default behavior for NSURLSessionDataDelegate method `URLSession:dataTask:didReceiveData:`.
+        public var dataTaskDidReceiveData: ((NSURLSession, NSURLSessionDataTask, NSData) -> Void)?
+
+        /// Overrides default behavior for NSURLSessionDataDelegate method `URLSession:dataTask:willCacheResponse:completionHandler:`.
+        public var dataTaskWillCacheResponse: ((NSURLSession, NSURLSessionDataTask, NSCachedURLResponse) -> NSCachedURLResponse?)?
+
+        /// Overrides all behavior for NSURLSessionDataDelegate method `URLSession:dataTask:willCacheResponse:completionHandler:` and 
+        /// requires caller to call the `completionHandler`.
+        public var dataTaskWillCacheResponseWithCompletion: ((NSURLSession, NSURLSessionDataTask, NSCachedURLResponse, NSCachedURLResponse? -> Void) -> Void)?
+
+        // MARK: Delegate Methods
+
+        /**
+            Tells the delegate that the data task received the initial reply (headers) from the server.
+
+            - parameter session:           The session containing the data task that received an initial reply.
+            - parameter dataTask:          The data task that received an initial reply.
+            - parameter response:          A URL response object populated with headers.
+            - parameter completionHandler: A completion handler that your code calls to continue the transfer, passing a 
+                                           constant to indicate whether the transfer should continue as a data task or 
+                                           should become a download task.
+        */
+        public func URLSession(
+            session: NSURLSession,
+            dataTask: NSURLSessionDataTask,
+            didReceiveResponse response: NSURLResponse,
+            completionHandler: NSURLSessionResponseDisposition -> Void)
+        {
+            guard dataTaskDidReceiveResponseWithCompletion == nil else {
+                dataTaskDidReceiveResponseWithCompletion?(session, dataTask, response, completionHandler)
+                return
+            }
+
+            var disposition: NSURLSessionResponseDisposition = .Allow
+
+            if let dataTaskDidReceiveResponse = dataTaskDidReceiveResponse {
+                disposition = dataTaskDidReceiveResponse(session, dataTask, response)
+            }
+
+            completionHandler(disposition)
+        }
+
+        /**
+            Tells the delegate that the data task was changed to a download task.
+
+            - parameter session:      The session containing the task that was replaced by a download task.
+            - parameter dataTask:     The data task that was replaced by a download task.
+            - parameter downloadTask: The new download task that replaced the data task.
+        */
+        public func URLSession(
+            session: NSURLSession,
+            dataTask: NSURLSessionDataTask,
+            didBecomeDownloadTask downloadTask: NSURLSessionDownloadTask)
+        {
+            if let dataTaskDidBecomeDownloadTask = dataTaskDidBecomeDownloadTask {
+                dataTaskDidBecomeDownloadTask(session, dataTask, downloadTask)
+            } else {
+                let downloadDelegate = Request.DownloadTaskDelegate(task: downloadTask)
+                self[downloadTask] = downloadDelegate
+            }
+        }
+
+        /**
+            Tells the delegate that the data task has received some of the expected data.
+
+            - parameter session:  The session containing the data task that provided data.
+            - parameter dataTask: The data task that provided data.
+            - parameter data:     A data object containing the transferred data.
+        */
+        public func URLSession(session: NSURLSession, dataTask: NSURLSessionDataTask, didReceiveData data: NSData) {
+            if let dataTaskDidReceiveData = dataTaskDidReceiveData {
+                dataTaskDidReceiveData(session, dataTask, data)
+            } else if let delegate = self[dataTask] as? Request.DataTaskDelegate {
+                delegate.URLSession(session, dataTask: dataTask, didReceiveData: data)
+            }
+        }
+
+        /**
+            Asks the delegate whether the data (or upload) task should store the response in the cache.
+
+            - parameter session:           The session containing the data (or upload) task.
+            - parameter dataTask:          The data (or upload) task.
+            - parameter proposedResponse:  The default caching behavior. This behavior is determined based on the current 
+                                           caching policy and the values of certain received headers, such as the Pragma 
+                                           and Cache-Control headers.
+            - parameter completionHandler: A block that your handler must call, providing either the original proposed 
+                                           response, a modified version of that response, or NULL to prevent caching the 
+                                           response. If your delegate implements this method, it must call this completion 
+                                           handler; otherwise, your app leaks memory.
+        */
+        public func URLSession(
+            session: NSURLSession,
+            dataTask: NSURLSessionDataTask,
+            willCacheResponse proposedResponse: NSCachedURLResponse,
+            completionHandler: NSCachedURLResponse? -> Void)
+        {
+            guard dataTaskWillCacheResponseWithCompletion == nil else {
+                dataTaskWillCacheResponseWithCompletion?(session, dataTask, proposedResponse, completionHandler)
+                return
+            }
+
+            if let dataTaskWillCacheResponse = dataTaskWillCacheResponse {
+                completionHandler(dataTaskWillCacheResponse(session, dataTask, proposedResponse))
+            } else if let delegate = self[dataTask] as? Request.DataTaskDelegate {
+                delegate.URLSession(
+                    session,
+                    dataTask: dataTask,
+                    willCacheResponse: proposedResponse,
+                    completionHandler: completionHandler
+                )
+            } else {
+                completionHandler(proposedResponse)
+            }
+        }
+
+        // MARK: - NSURLSessionDownloadDelegate
+
+        // MARK: Override Closures
+
+        /// Overrides default behavior for NSURLSessionDownloadDelegate method `URLSession:downloadTask:didFinishDownloadingToURL:`.
+        public var downloadTaskDidFinishDownloadingToURL: ((NSURLSession, NSURLSessionDownloadTask, NSURL) -> Void)?
+
+        /// Overrides default behavior for NSURLSessionDownloadDelegate method `URLSession:downloadTask:didWriteData:totalBytesWritten:totalBytesExpectedToWrite:`.
+        public var downloadTaskDidWriteData: ((NSURLSession, NSURLSessionDownloadTask, Int64, Int64, Int64) -> Void)?
+
+        /// Overrides default behavior for NSURLSessionDownloadDelegate method `URLSession:downloadTask:didResumeAtOffset:expectedTotalBytes:`.
+        public var downloadTaskDidResumeAtOffset: ((NSURLSession, NSURLSessionDownloadTask, Int64, Int64) -> Void)?
+
+        // MARK: Delegate Methods
+
+        /**
+            Tells the delegate that a download task has finished downloading.
+
+            - parameter session:      The session containing the download task that finished.
+            - parameter downloadTask: The download task that finished.
+            - parameter location:     A file URL for the temporary file. Because the file is temporary, you must either 
+                                      open the file for reading or move it to a permanent location in your app’s sandbox 
+                                      container directory before returning from this delegate method.
+        */
+        public func URLSession(
+            session: NSURLSession,
+            downloadTask: NSURLSessionDownloadTask,
+            didFinishDownloadingToURL location: NSURL)
+        {
+            if let downloadTaskDidFinishDownloadingToURL = downloadTaskDidFinishDownloadingToURL {
+                downloadTaskDidFinishDownloadingToURL(session, downloadTask, location)
+            } else if let delegate = self[downloadTask] as? Request.DownloadTaskDelegate {
+                delegate.URLSession(session, downloadTask: downloadTask, didFinishDownloadingToURL: location)
+            }
+        }
+
+        /**
+            Periodically informs the delegate about the download’s progress.
+
+            - parameter session:                   The session containing the download task.
+            - parameter downloadTask:              The download task.
+            - parameter bytesWritten:              The number of bytes transferred since the last time this delegate 
+                                                   method was called.
+            - parameter totalBytesWritten:         The total number of bytes transferred so far.
+            - parameter totalBytesExpectedToWrite: The expected length of the file, as provided by the Content-Length 
+                                                   header. If this header was not provided, the value is 
+                                                   `NSURLSessionTransferSizeUnknown`.
+        */
+        public func URLSession(
+            session: NSURLSession,
+            downloadTask: NSURLSessionDownloadTask,
+            didWriteData bytesWritten: Int64,
+            totalBytesWritten: Int64,
+            totalBytesExpectedToWrite: Int64)
+        {
+            if let downloadTaskDidWriteData = downloadTaskDidWriteData {
+                downloadTaskDidWriteData(session, downloadTask, bytesWritten, totalBytesWritten, totalBytesExpectedToWrite)
+            } else if let delegate = self[downloadTask] as? Request.DownloadTaskDelegate {
+                delegate.URLSession(
+                    session,
+                    downloadTask: downloadTask,
+                    didWriteData: bytesWritten,
+                    totalBytesWritten: totalBytesWritten,
+                    totalBytesExpectedToWrite: totalBytesExpectedToWrite
+                )
+            }
+        }
+
+        /**
+            Tells the delegate that the download task has resumed downloading.
+
+            - parameter session:            The session containing the download task that finished.
+            - parameter downloadTask:       The download task that resumed. See explanation in the discussion.
+            - parameter fileOffset:         If the file's cache policy or last modified date prevents reuse of the 
+                                            existing content, then this value is zero. Otherwise, this value is an 
+                                            integer representing the number of bytes on disk that do not need to be 
+                                            retrieved again.
+            - parameter expectedTotalBytes: The expected length of the file, as provided by the Content-Length header. 
+                                            If this header was not provided, the value is NSURLSessionTransferSizeUnknown.
+        */
+        public func URLSession(
+            session: NSURLSession,
+            downloadTask: NSURLSessionDownloadTask,
+            didResumeAtOffset fileOffset: Int64,
+            expectedTotalBytes: Int64)
+        {
+            if let downloadTaskDidResumeAtOffset = downloadTaskDidResumeAtOffset {
+                downloadTaskDidResumeAtOffset(session, downloadTask, fileOffset, expectedTotalBytes)
+            } else if let delegate = self[downloadTask] as? Request.DownloadTaskDelegate {
+                delegate.URLSession(
+                    session,
+                    downloadTask: downloadTask,
+                    didResumeAtOffset: fileOffset,
+                    expectedTotalBytes: expectedTotalBytes
+                )
+            }
+        }
+
+        // MARK: - NSURLSessionStreamDelegate
+
+        var _streamTaskReadClosed: Any?
+        var _streamTaskWriteClosed: Any?
+        var _streamTaskBetterRouteDiscovered: Any?
+        var _streamTaskDidBecomeInputStream: Any?
+
+        // MARK: - NSObject
+
+        public override func respondsToSelector(selector: Selector) -> Bool {
+            #if !os(OSX)
+                if selector == #selector(NSURLSessionDelegate.URLSessionDidFinishEventsForBackgroundURLSession(_:)) {
+                    return sessionDidFinishEventsForBackgroundURLSession != nil
+                }
+            #endif
+
+            switch selector {
+            case #selector(NSURLSessionDelegate.URLSession(_:didBecomeInvalidWithError:)):
+                return sessionDidBecomeInvalidWithError != nil
+            case #selector(NSURLSessionDelegate.URLSession(_:didReceiveChallenge:completionHandler:)):
+                return sessionDidReceiveChallenge != nil
+            case #selector(NSURLSessionTaskDelegate.URLSession(_:task:willPerformHTTPRedirection:newRequest:completionHandler:)):
+                return taskWillPerformHTTPRedirection != nil
+            case #selector(NSURLSessionDataDelegate.URLSession(_:dataTask:didReceiveResponse:completionHandler:)):
+                return dataTaskDidReceiveResponse != nil
+            default:
+                return self.dynamicType.instancesRespondToSelector(selector)
+            }
+        }
+    }
+}
diff --git a/swift/Alamofire-3.3.0/Source/MultipartFormData.swift b/swift/Alamofire-3.3.0/Source/MultipartFormData.swift
new file mode 100755
index 0000000..2829f94
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Source/MultipartFormData.swift
@@ -0,0 +1,663 @@
+// MultipartFormData.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import Foundation
+
+#if os(iOS) || os(watchOS) || os(tvOS)
+import MobileCoreServices
+#elseif os(OSX)
+import CoreServices
+#endif
+
+/**
+    Constructs `multipart/form-data` for uploads within an HTTP or HTTPS body. There are currently two ways to encode 
+    multipart form data. The first way is to encode the data directly in memory. This is very efficient, but can lead 
+    to memory issues if the dataset is too large. The second way is designed for larger datasets and will write all the 
+    data to a single file on disk with all the proper boundary segmentation. The second approach MUST be used for 
+    larger datasets such as video content, otherwise your app may run out of memory when trying to encode the dataset.
+
+    For more information on `multipart/form-data` in general, please refer to the RFC-2388 and RFC-2045 specs as well
+    and the w3 form documentation.
+
+    - https://www.ietf.org/rfc/rfc2388.txt
+    - https://www.ietf.org/rfc/rfc2045.txt
+    - https://www.w3.org/TR/html401/interact/forms.html#h-17.13
+*/
+public class MultipartFormData {
+
+    // MARK: - Helper Types
+
+    struct EncodingCharacters {
+        static let CRLF = "\r\n"
+    }
+
+    struct BoundaryGenerator {
+        enum BoundaryType {
+            case Initial, Encapsulated, Final
+        }
+
+        static func randomBoundary() -> String {
+            return String(format: "alamofire.boundary.%08x%08x", arc4random(), arc4random())
+        }
+
+        static func boundaryData(boundaryType boundaryType: BoundaryType, boundary: String) -> NSData {
+            let boundaryText: String
+
+            switch boundaryType {
+            case .Initial:
+                boundaryText = "--\(boundary)\(EncodingCharacters.CRLF)"
+            case .Encapsulated:
+                boundaryText = "\(EncodingCharacters.CRLF)--\(boundary)\(EncodingCharacters.CRLF)"
+            case .Final:
+                boundaryText = "\(EncodingCharacters.CRLF)--\(boundary)--\(EncodingCharacters.CRLF)"
+            }
+
+            return boundaryText.dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+        }
+    }
+
+    class BodyPart {
+        let headers: [String: String]
+        let bodyStream: NSInputStream
+        let bodyContentLength: UInt64
+        var hasInitialBoundary = false
+        var hasFinalBoundary = false
+
+        init(headers: [String: String], bodyStream: NSInputStream, bodyContentLength: UInt64) {
+            self.headers = headers
+            self.bodyStream = bodyStream
+            self.bodyContentLength = bodyContentLength
+        }
+    }
+
+    // MARK: - Properties
+
+    /// The `Content-Type` header value containing the boundary used to generate the `multipart/form-data`.
+    public var contentType: String { return "multipart/form-data; boundary=\(boundary)" }
+
+    /// The content length of all body parts used to generate the `multipart/form-data` not including the boundaries.
+    public var contentLength: UInt64 { return bodyParts.reduce(0) { $0 + $1.bodyContentLength } }
+
+    /// The boundary used to separate the body parts in the encoded form data.
+    public let boundary: String
+
+    private var bodyParts: [BodyPart]
+    private var bodyPartError: NSError?
+    private let streamBufferSize: Int
+
+    // MARK: - Lifecycle
+
+    /**
+        Creates a multipart form data object.
+
+        - returns: The multipart form data object.
+    */
+    public init() {
+        self.boundary = BoundaryGenerator.randomBoundary()
+        self.bodyParts = []
+
+        /**
+         *  The optimal read/write buffer size in bytes for input and output streams is 1024 (1KB). For more 
+         *  information, please refer to the following article:
+         *    - https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/Streams/Articles/ReadingInputStreams.html
+         */
+
+        self.streamBufferSize = 1024
+    }
+
+    // MARK: - Body Parts
+
+    /**
+        Creates a body part from the data and appends it to the multipart form data object.
+
+        The body part data will be encoded using the following format:
+
+        - `Content-Disposition: form-data; name=#{name}` (HTTP Header)
+        - Encoded data
+        - Multipart form boundary
+
+        - parameter data: The data to encode into the multipart form data.
+        - parameter name: The name to associate with the data in the `Content-Disposition` HTTP header.
+    */
+    public func appendBodyPart(data data: NSData, name: String) {
+        let headers = contentHeaders(name: name)
+        let stream = NSInputStream(data: data)
+        let length = UInt64(data.length)
+
+        appendBodyPart(stream: stream, length: length, headers: headers)
+    }
+
+    /**
+        Creates a body part from the data and appends it to the multipart form data object.
+
+        The body part data will be encoded using the following format:
+
+        - `Content-Disposition: form-data; name=#{name}` (HTTP Header)
+        - `Content-Type: #{generated mimeType}` (HTTP Header)
+        - Encoded data
+        - Multipart form boundary
+
+        - parameter data:     The data to encode into the multipart form data.
+        - parameter name:     The name to associate with the data in the `Content-Disposition` HTTP header.
+        - parameter mimeType: The MIME type to associate with the data content type in the `Content-Type` HTTP header.
+    */
+    public func appendBodyPart(data data: NSData, name: String, mimeType: String) {
+        let headers = contentHeaders(name: name, mimeType: mimeType)
+        let stream = NSInputStream(data: data)
+        let length = UInt64(data.length)
+
+        appendBodyPart(stream: stream, length: length, headers: headers)
+    }
+
+    /**
+        Creates a body part from the data and appends it to the multipart form data object.
+
+        The body part data will be encoded using the following format:
+
+        - `Content-Disposition: form-data; name=#{name}; filename=#{filename}` (HTTP Header)
+        - `Content-Type: #{mimeType}` (HTTP Header)
+        - Encoded file data
+        - Multipart form boundary
+
+        - parameter data:     The data to encode into the multipart form data.
+        - parameter name:     The name to associate with the data in the `Content-Disposition` HTTP header.
+        - parameter fileName: The filename to associate with the data in the `Content-Disposition` HTTP header.
+        - parameter mimeType: The MIME type to associate with the data in the `Content-Type` HTTP header.
+    */
+    public func appendBodyPart(data data: NSData, name: String, fileName: String, mimeType: String) {
+        let headers = contentHeaders(name: name, fileName: fileName, mimeType: mimeType)
+        let stream = NSInputStream(data: data)
+        let length = UInt64(data.length)
+
+        appendBodyPart(stream: stream, length: length, headers: headers)
+    }
+
+    /**
+        Creates a body part from the file and appends it to the multipart form data object.
+
+        The body part data will be encoded using the following format:
+
+        - `Content-Disposition: form-data; name=#{name}; filename=#{generated filename}` (HTTP Header)
+        - `Content-Type: #{generated mimeType}` (HTTP Header)
+        - Encoded file data
+        - Multipart form boundary
+
+        The filename in the `Content-Disposition` HTTP header is generated from the last path component of the
+        `fileURL`. The `Content-Type` HTTP header MIME type is generated by mapping the `fileURL` extension to the
+        system associated MIME type.
+
+        - parameter fileURL: The URL of the file whose content will be encoded into the multipart form data.
+        - parameter name:    The name to associate with the file content in the `Content-Disposition` HTTP header.
+    */
+    public func appendBodyPart(fileURL fileURL: NSURL, name: String) {
+        if let
+            fileName = fileURL.lastPathComponent,
+            pathExtension = fileURL.pathExtension
+        {
+            let mimeType = mimeTypeForPathExtension(pathExtension)
+            appendBodyPart(fileURL: fileURL, name: name, fileName: fileName, mimeType: mimeType)
+        } else {
+            let failureReason = "Failed to extract the fileName of the provided URL: \(fileURL)"
+            setBodyPartError(Error.errorWithCode(NSURLErrorBadURL, failureReason: failureReason))
+        }
+    }
+
+    /**
+        Creates a body part from the file and appends it to the multipart form data object.
+
+        The body part data will be encoded using the following format:
+
+        - Content-Disposition: form-data; name=#{name}; filename=#{filename} (HTTP Header)
+        - Content-Type: #{mimeType} (HTTP Header)
+        - Encoded file data
+        - Multipart form boundary
+
+        - parameter fileURL:  The URL of the file whose content will be encoded into the multipart form data.
+        - parameter name:     The name to associate with the file content in the `Content-Disposition` HTTP header.
+        - parameter fileName: The filename to associate with the file content in the `Content-Disposition` HTTP header.
+        - parameter mimeType: The MIME type to associate with the file content in the `Content-Type` HTTP header.
+    */
+    public func appendBodyPart(fileURL fileURL: NSURL, name: String, fileName: String, mimeType: String) {
+        let headers = contentHeaders(name: name, fileName: fileName, mimeType: mimeType)
+
+        //============================================================
+        //                 Check 1 - is file URL?
+        //============================================================
+
+        guard fileURL.fileURL else {
+            let failureReason = "The file URL does not point to a file URL: \(fileURL)"
+            let error = Error.errorWithCode(NSURLErrorBadURL, failureReason: failureReason)
+            setBodyPartError(error)
+            return
+        }
+
+        //============================================================
+        //              Check 2 - is file URL reachable?
+        //============================================================
+
+        var isReachable = true
+
+        if #available(OSX 10.10, *) {
+            isReachable = fileURL.checkPromisedItemIsReachableAndReturnError(nil)
+        }
+
+        guard isReachable else {
+            let error = Error.errorWithCode(NSURLErrorBadURL, failureReason: "The file URL is not reachable: \(fileURL)")
+            setBodyPartError(error)
+            return
+        }
+
+        //============================================================
+        //            Check 3 - is file URL a directory?
+        //============================================================
+
+        var isDirectory: ObjCBool = false
+
+        guard let
+            path = fileURL.path
+            where NSFileManager.defaultManager().fileExistsAtPath(path, isDirectory: &isDirectory) && !isDirectory else
+        {
+            let failureReason = "The file URL is a directory, not a file: \(fileURL)"
+            let error = Error.errorWithCode(NSURLErrorBadURL, failureReason: failureReason)
+            setBodyPartError(error)
+            return
+        }
+
+        //============================================================
+        //          Check 4 - can the file size be extracted?
+        //============================================================
+
+        var bodyContentLength: UInt64?
+
+        do {
+            if let
+                path = fileURL.path,
+                fileSize = try NSFileManager.defaultManager().attributesOfItemAtPath(path)[NSFileSize] as? NSNumber
+            {
+                bodyContentLength = fileSize.unsignedLongLongValue
+            }
+        } catch {
+            // No-op
+        }
+
+        guard let length = bodyContentLength else {
+            let failureReason = "Could not fetch attributes from the file URL: \(fileURL)"
+            let error = Error.errorWithCode(NSURLErrorBadURL, failureReason: failureReason)
+            setBodyPartError(error)
+            return
+        }
+
+        //============================================================
+        //       Check 5 - can a stream be created from file URL?
+        //============================================================
+
+        guard let stream = NSInputStream(URL: fileURL) else {
+            let failureReason = "Failed to create an input stream from the file URL: \(fileURL)"
+            let error = Error.errorWithCode(NSURLErrorCannotOpenFile, failureReason: failureReason)
+            setBodyPartError(error)
+            return
+        }
+
+        appendBodyPart(stream: stream, length: length, headers: headers)
+    }
+
+    /**
+        Creates a body part from the stream and appends it to the multipart form data object.
+
+        The body part data will be encoded using the following format:
+
+        - `Content-Disposition: form-data; name=#{name}; filename=#{filename}` (HTTP Header)
+        - `Content-Type: #{mimeType}` (HTTP Header)
+        - Encoded stream data
+        - Multipart form boundary
+
+        - parameter stream:   The input stream to encode in the multipart form data.
+        - parameter length:   The content length of the stream.
+        - parameter name:     The name to associate with the stream content in the `Content-Disposition` HTTP header.
+        - parameter fileName: The filename to associate with the stream content in the `Content-Disposition` HTTP header.
+        - parameter mimeType: The MIME type to associate with the stream content in the `Content-Type` HTTP header.
+    */
+    public func appendBodyPart(
+        stream stream: NSInputStream,
+        length: UInt64,
+        name: String,
+        fileName: String,
+        mimeType: String)
+    {
+        let headers = contentHeaders(name: name, fileName: fileName, mimeType: mimeType)
+        appendBodyPart(stream: stream, length: length, headers: headers)
+    }
+
+    /**
+        Creates a body part with the headers, stream and length and appends it to the multipart form data object.
+
+        The body part data will be encoded using the following format:
+
+        - HTTP headers
+        - Encoded stream data
+        - Multipart form boundary
+
+        - parameter stream:  The input stream to encode in the multipart form data.
+        - parameter length:  The content length of the stream.
+        - parameter headers: The HTTP headers for the body part.
+    */
+    public func appendBodyPart(stream stream: NSInputStream, length: UInt64, headers: [String: String]) {
+        let bodyPart = BodyPart(headers: headers, bodyStream: stream, bodyContentLength: length)
+        bodyParts.append(bodyPart)
+    }
+
+    // MARK: - Data Encoding
+
+    /**
+        Encodes all the appended body parts into a single `NSData` object.
+
+        It is important to note that this method will load all the appended body parts into memory all at the same 
+        time. This method should only be used when the encoded data will have a small memory footprint. For large data 
+        cases, please use the `writeEncodedDataToDisk(fileURL:completionHandler:)` method.
+
+        - throws: An `NSError` if encoding encounters an error.
+
+        - returns: The encoded `NSData` if encoding is successful.
+    */
+    public func encode() throws -> NSData {
+        if let bodyPartError = bodyPartError {
+            throw bodyPartError
+        }
+
+        let encoded = NSMutableData()
+
+        bodyParts.first?.hasInitialBoundary = true
+        bodyParts.last?.hasFinalBoundary = true
+
+        for bodyPart in bodyParts {
+            let encodedData = try encodeBodyPart(bodyPart)
+            encoded.appendData(encodedData)
+        }
+
+        return encoded
+    }
+
+    /**
+        Writes the appended body parts into the given file URL.
+
+        This process is facilitated by reading and writing with input and output streams, respectively. Thus,
+        this approach is very memory efficient and should be used for large body part data.
+
+        - parameter fileURL: The file URL to write the multipart form data into.
+
+        - throws: An `NSError` if encoding encounters an error.
+    */
+    public func writeEncodedDataToDisk(fileURL: NSURL) throws {
+        if let bodyPartError = bodyPartError {
+            throw bodyPartError
+        }
+
+        if let path = fileURL.path where NSFileManager.defaultManager().fileExistsAtPath(path) {
+            let failureReason = "A file already exists at the given file URL: \(fileURL)"
+            throw Error.errorWithCode(NSURLErrorBadURL, failureReason: failureReason)
+        } else if !fileURL.fileURL {
+            let failureReason = "The URL does not point to a valid file: \(fileURL)"
+            throw Error.errorWithCode(NSURLErrorBadURL, failureReason: failureReason)
+        }
+
+        let outputStream: NSOutputStream
+
+        if let possibleOutputStream = NSOutputStream(URL: fileURL, append: false) {
+            outputStream = possibleOutputStream
+        } else {
+            let failureReason = "Failed to create an output stream with the given URL: \(fileURL)"
+            throw Error.errorWithCode(NSURLErrorCannotOpenFile, failureReason: failureReason)
+        }
+
+        outputStream.open()
+
+        self.bodyParts.first?.hasInitialBoundary = true
+        self.bodyParts.last?.hasFinalBoundary = true
+
+        for bodyPart in self.bodyParts {
+            try writeBodyPart(bodyPart, toOutputStream: outputStream)
+        }
+
+        outputStream.close()
+    }
+
+    // MARK: - Private - Body Part Encoding
+
+    private func encodeBodyPart(bodyPart: BodyPart) throws -> NSData {
+        let encoded = NSMutableData()
+
+        let initialData = bodyPart.hasInitialBoundary ? initialBoundaryData() : encapsulatedBoundaryData()
+        encoded.appendData(initialData)
+
+        let headerData = encodeHeaderDataForBodyPart(bodyPart)
+        encoded.appendData(headerData)
+
+        let bodyStreamData = try encodeBodyStreamDataForBodyPart(bodyPart)
+        encoded.appendData(bodyStreamData)
+
+        if bodyPart.hasFinalBoundary {
+            encoded.appendData(finalBoundaryData())
+        }
+
+        return encoded
+    }
+
+    private func encodeHeaderDataForBodyPart(bodyPart: BodyPart) -> NSData {
+        var headerText = ""
+
+        for (key, value) in bodyPart.headers {
+            headerText += "\(key): \(value)\(EncodingCharacters.CRLF)"
+        }
+        headerText += EncodingCharacters.CRLF
+
+        return headerText.dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+    }
+
+    private func encodeBodyStreamDataForBodyPart(bodyPart: BodyPart) throws -> NSData {
+        let inputStream = bodyPart.bodyStream
+        inputStream.open()
+
+        var error: NSError?
+        let encoded = NSMutableData()
+
+        while inputStream.hasBytesAvailable {
+            var buffer = [UInt8](count: streamBufferSize, repeatedValue: 0)
+            let bytesRead = inputStream.read(&buffer, maxLength: streamBufferSize)
+
+            if inputStream.streamError != nil {
+                error = inputStream.streamError
+                break
+            }
+
+            if bytesRead > 0 {
+                encoded.appendBytes(buffer, length: bytesRead)
+            } else if bytesRead < 0 {
+                let failureReason = "Failed to read from input stream: \(inputStream)"
+                error = Error.errorWithCode(.InputStreamReadFailed, failureReason: failureReason)
+                break
+            } else {
+                break
+            }
+        }
+
+        inputStream.close()
+
+        if let error = error {
+            throw error
+        }
+
+        return encoded
+    }
+
+    // MARK: - Private - Writing Body Part to Output Stream
+
+    private func writeBodyPart(bodyPart: BodyPart, toOutputStream outputStream: NSOutputStream) throws {
+        try writeInitialBoundaryDataForBodyPart(bodyPart, toOutputStream: outputStream)
+        try writeHeaderDataForBodyPart(bodyPart, toOutputStream: outputStream)
+        try writeBodyStreamForBodyPart(bodyPart, toOutputStream: outputStream)
+        try writeFinalBoundaryDataForBodyPart(bodyPart, toOutputStream: outputStream)
+    }
+
+    private func writeInitialBoundaryDataForBodyPart(
+        bodyPart: BodyPart,
+        toOutputStream outputStream: NSOutputStream)
+        throws
+    {
+        let initialData = bodyPart.hasInitialBoundary ? initialBoundaryData() : encapsulatedBoundaryData()
+        return try writeData(initialData, toOutputStream: outputStream)
+    }
+
+    private func writeHeaderDataForBodyPart(bodyPart: BodyPart, toOutputStream outputStream: NSOutputStream) throws {
+        let headerData = encodeHeaderDataForBodyPart(bodyPart)
+        return try writeData(headerData, toOutputStream: outputStream)
+    }
+
+    private func writeBodyStreamForBodyPart(bodyPart: BodyPart, toOutputStream outputStream: NSOutputStream) throws {
+        let inputStream = bodyPart.bodyStream
+        inputStream.open()
+
+        while inputStream.hasBytesAvailable {
+            var buffer = [UInt8](count: streamBufferSize, repeatedValue: 0)
+            let bytesRead = inputStream.read(&buffer, maxLength: streamBufferSize)
+
+            if let streamError = inputStream.streamError {
+                throw streamError
+            }
+
+            if bytesRead > 0 {
+                if buffer.count != bytesRead {
+                    buffer = Array(buffer[0..<bytesRead])
+                }
+
+                try writeBuffer(&buffer, toOutputStream: outputStream)
+            } else if bytesRead < 0 {
+                let failureReason = "Failed to read from input stream: \(inputStream)"
+                throw Error.errorWithCode(.InputStreamReadFailed, failureReason: failureReason)
+            } else {
+                break
+            }
+        }
+
+        inputStream.close()
+    }
+
+    private func writeFinalBoundaryDataForBodyPart(
+        bodyPart: BodyPart,
+        toOutputStream outputStream: NSOutputStream)
+        throws
+    {
+        if bodyPart.hasFinalBoundary {
+            return try writeData(finalBoundaryData(), toOutputStream: outputStream)
+        }
+    }
+
+    // MARK: - Private - Writing Buffered Data to Output Stream
+
+    private func writeData(data: NSData, toOutputStream outputStream: NSOutputStream) throws {
+        var buffer = [UInt8](count: data.length, repeatedValue: 0)
+        data.getBytes(&buffer, length: data.length)
+
+        return try writeBuffer(&buffer, toOutputStream: outputStream)
+    }
+
+    private func writeBuffer(inout buffer: [UInt8], toOutputStream outputStream: NSOutputStream) throws {
+        var bytesToWrite = buffer.count
+
+        while bytesToWrite > 0 {
+            if outputStream.hasSpaceAvailable {
+                let bytesWritten = outputStream.write(buffer, maxLength: bytesToWrite)
+
+                if let streamError = outputStream.streamError {
+                    throw streamError
+                }
+
+                if bytesWritten < 0 {
+                    let failureReason = "Failed to write to output stream: \(outputStream)"
+                    throw Error.errorWithCode(.OutputStreamWriteFailed, failureReason: failureReason)
+                }
+
+                bytesToWrite -= bytesWritten
+
+                if bytesToWrite > 0 {
+                    buffer = Array(buffer[bytesWritten..<buffer.count])
+                }
+            } else if let streamError = outputStream.streamError {
+                throw streamError
+            }
+        }
+    }
+
+    // MARK: - Private - Mime Type
+
+    private func mimeTypeForPathExtension(pathExtension: String) -> String {
+        if let
+            id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension, nil)?.takeRetainedValue(),
+            contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue()
+        {
+            return contentType as String
+        }
+
+        return "application/octet-stream"
+    }
+
+    // MARK: - Private - Content Headers
+
+    private func contentHeaders(name name: String) -> [String: String] {
+        return ["Content-Disposition": "form-data; name=\"\(name)\""]
+    }
+
+    private func contentHeaders(name name: String, mimeType: String) -> [String: String] {
+        return [
+            "Content-Disposition": "form-data; name=\"\(name)\"",
+            "Content-Type": "\(mimeType)"
+        ]
+    }
+
+    private func contentHeaders(name name: String, fileName: String, mimeType: String) -> [String: String] {
+        return [
+            "Content-Disposition": "form-data; name=\"\(name)\"; filename=\"\(fileName)\"",
+            "Content-Type": "\(mimeType)"
+        ]
+    }
+
+    // MARK: - Private - Boundary Encoding
+
+    private func initialBoundaryData() -> NSData {
+        return BoundaryGenerator.boundaryData(boundaryType: .Initial, boundary: boundary)
+    }
+
+    private func encapsulatedBoundaryData() -> NSData {
+        return BoundaryGenerator.boundaryData(boundaryType: .Encapsulated, boundary: boundary)
+    }
+
+    private func finalBoundaryData() -> NSData {
+        return BoundaryGenerator.boundaryData(boundaryType: .Final, boundary: boundary)
+    }
+
+    // MARK: - Private - Errors
+
+    private func setBodyPartError(error: NSError) {
+        if bodyPartError == nil {
+            bodyPartError = error
+        }
+    }
+}
diff --git a/swift/Alamofire-3.3.0/Source/NetworkReachabilityManager.swift b/swift/Alamofire-3.3.0/Source/NetworkReachabilityManager.swift
new file mode 100755
index 0000000..fed66a2
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Source/NetworkReachabilityManager.swift
@@ -0,0 +1,251 @@
+// NetworkReachabilityManager.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+#if !os(watchOS)
+
+import Foundation
+import SystemConfiguration
+
+/**
+    The `NetworkReachabilityManager` class listens for reachability changes of hosts and addresses for both WWAN and
+    WiFi network interfaces.
+
+    Reachability can be used to determine background information about why a network operation failed, or to retry
+    network requests when a connection is established. It should not be used to prevent a user from initiating a network
+    request, as it's possible that an initial request may be required to establish reachability.
+*/
+public class NetworkReachabilityManager {
+    /**
+        Defines the various states of network reachability.
+
+        - Unknown:         It is unknown whether the network is reachable.
+        - NotReachable:    The network is not reachable.
+        - ReachableOnWWAN: The network is reachable over the WWAN connection.
+        - ReachableOnWiFi: The network is reachable over the WiFi connection.
+    */
+    public enum NetworkReachabilityStatus {
+        case Unknown
+        case NotReachable
+        case Reachable(ConnectionType)
+    }
+
+    /**
+        Defines the various connection types detected by reachability flags.
+
+        - EthernetOrWiFi: The connection type is either over Ethernet or WiFi.
+        - WWAN:           The connection type is a WWAN connection.
+    */
+    public enum ConnectionType {
+        case EthernetOrWiFi
+        case WWAN
+    }
+
+    /// A closure executed when the network reachability status changes. The closure takes a single argument: the 
+    /// network reachability status.
+    public typealias Listener = NetworkReachabilityStatus -> Void
+
+    // MARK: - Properties
+
+    /// Whether the network is currently reachable.
+    public var isReachable: Bool { return isReachableOnWWAN || isReachableOnEthernetOrWiFi }
+
+    /// Whether the network is currently reachable over the WWAN interface.
+    public var isReachableOnWWAN: Bool { return networkReachabilityStatus == .Reachable(.WWAN) }
+
+    /// Whether the network is currently reachable over Ethernet or WiFi interface.
+    public var isReachableOnEthernetOrWiFi: Bool { return networkReachabilityStatus == .Reachable(.EthernetOrWiFi) }
+
+    /// The current network reachability status.
+    public var networkReachabilityStatus: NetworkReachabilityStatus {
+        guard let flags = self.flags else { return .Unknown }
+        return networkReachabilityStatusForFlags(flags)
+    }
+
+    /// The dispatch queue to execute the `listener` closure on.
+    public var listenerQueue: dispatch_queue_t = dispatch_get_main_queue()
+
+    /// A closure executed when the network reachability status changes.
+    public var listener: Listener?
+
+    private var flags: SCNetworkReachabilityFlags? {
+        var flags = SCNetworkReachabilityFlags()
+
+        if SCNetworkReachabilityGetFlags(reachability, &flags) {
+            return flags
+        }
+
+        return nil
+    }
+
+    private let reachability: SCNetworkReachability
+    private var previousFlags: SCNetworkReachabilityFlags
+
+    // MARK: - Initialization
+
+    /**
+        Creates a `NetworkReachabilityManager` instance with the specified host.
+
+        - parameter host: The host used to evaluate network reachability.
+
+        - returns: The new `NetworkReachabilityManager` instance.
+    */
+    public convenience init?(host: String) {
+        guard let reachability = SCNetworkReachabilityCreateWithName(nil, host) else { return nil }
+        self.init(reachability: reachability)
+    }
+
+    /**
+        Creates a `NetworkReachabilityManager` instance with the default socket IPv4 or IPv6 address.
+
+        - returns: The new `NetworkReachabilityManager` instance.
+     */
+    public convenience init?() {
+        if #available(iOS 9.0, OSX 10.10, *) {
+            var address = sockaddr_in6()
+            address.sin6_len = UInt8(sizeofValue(address))
+            address.sin6_family = sa_family_t(AF_INET6)
+
+            guard let reachability = withUnsafePointer(&address, {
+                SCNetworkReachabilityCreateWithAddress(nil, UnsafePointer($0))
+            }) else { return nil }
+
+            self.init(reachability: reachability)
+        } else {
+            var address = sockaddr_in()
+            address.sin_len = UInt8(sizeofValue(address))
+            address.sin_family = sa_family_t(AF_INET)
+
+            guard let reachability = withUnsafePointer(&address, {
+                SCNetworkReachabilityCreateWithAddress(nil, UnsafePointer($0))
+            }) else { return nil }
+
+            self.init(reachability: reachability)
+        }
+    }
+
+    private init(reachability: SCNetworkReachability) {
+        self.reachability = reachability
+        self.previousFlags = SCNetworkReachabilityFlags()
+    }
+
+    deinit {
+        stopListening()
+    }
+
+    // MARK: - Listening
+
+    /**
+        Starts listening for changes in network reachability status.
+
+        - returns: `true` if listening was started successfully, `false` otherwise.
+    */
+    public func startListening() -> Bool {
+        var context = SCNetworkReachabilityContext(version: 0, info: nil, retain: nil, release: nil, copyDescription: nil)
+        context.info = UnsafeMutablePointer(Unmanaged.passUnretained(self).toOpaque())
+
+        let callbackEnabled = SCNetworkReachabilitySetCallback(
+            reachability,
+            { (_, flags, info) in
+                let reachability = Unmanaged<NetworkReachabilityManager>.fromOpaque(COpaquePointer(info)).takeUnretainedValue()
+                reachability.notifyListener(flags)
+            },
+            &context
+        )
+
+        let queueEnabled = SCNetworkReachabilitySetDispatchQueue(reachability, listenerQueue)
+
+        dispatch_async(listenerQueue) {
+            self.previousFlags = SCNetworkReachabilityFlags()
+            self.notifyListener(self.flags ?? SCNetworkReachabilityFlags())
+        }
+
+        return callbackEnabled && queueEnabled
+    }
+
+    /**
+        Stops listening for changes in network reachability status.
+    */
+    public func stopListening() {
+        SCNetworkReachabilitySetCallback(reachability, nil, nil)
+        SCNetworkReachabilitySetDispatchQueue(reachability, nil)
+    }
+
+    // MARK: - Internal - Listener Notification
+
+    func notifyListener(flags: SCNetworkReachabilityFlags) {
+        guard previousFlags != flags else { return }
+        previousFlags = flags
+
+        listener?(networkReachabilityStatusForFlags(flags))
+    }
+
+    // MARK: - Internal - Network Reachability Status
+
+    func networkReachabilityStatusForFlags(flags: SCNetworkReachabilityFlags) -> NetworkReachabilityStatus {
+        guard flags.contains(.Reachable) else { return .NotReachable }
+
+        var networkStatus: NetworkReachabilityStatus = .NotReachable
+
+        if !flags.contains(.ConnectionRequired) { networkStatus = .Reachable(.EthernetOrWiFi) }
+
+        if flags.contains(.ConnectionOnDemand) || flags.contains(.ConnectionOnTraffic) {
+            if !flags.contains(.InterventionRequired) { networkStatus = .Reachable(.EthernetOrWiFi) }
+        }
+
+        #if os(iOS)
+            if flags.contains(.IsWWAN) { networkStatus = .Reachable(.WWAN) }
+        #endif
+
+        return networkStatus
+    }
+}
+
+// MARK: -
+
+extension NetworkReachabilityManager.NetworkReachabilityStatus: Equatable {}
+
+/**
+    Returns whether the two network reachability status values are equal.
+
+    - parameter lhs: The left-hand side value to compare.
+    - parameter rhs: The right-hand side value to compare.
+
+    - returns: `true` if the two values are equal, `false` otherwise.
+*/
+public func ==(
+    lhs: NetworkReachabilityManager.NetworkReachabilityStatus,
+    rhs: NetworkReachabilityManager.NetworkReachabilityStatus)
+    -> Bool
+{
+    switch (lhs, rhs) {
+    case (.Unknown, .Unknown):
+        return true
+    case (.NotReachable, .NotReachable):
+        return true
+    case let (.Reachable(lhsConnectionType), .Reachable(rhsConnectionType)):
+        return lhsConnectionType == rhsConnectionType
+    default:
+        return false
+    }
+}
+
+#endif
diff --git a/swift/Alamofire-3.3.0/Source/Notifications.swift b/swift/Alamofire-3.3.0/Source/Notifications.swift
new file mode 100755
index 0000000..1c23540
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Source/Notifications.swift
@@ -0,0 +1,45 @@
+// Notifications.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import Foundation
+
+/// Contains all the `NSNotification` names posted by Alamofire with descriptions of each notification's payload.
+public struct Notifications {
+    /// Used as a namespace for all `NSURLSessionTask` related notifications.
+    public struct Task {
+        /// Notification posted when an `NSURLSessionTask` is resumed. The notification `object` contains the resumed
+        /// `NSURLSessionTask`.
+        public static let DidResume = "com.alamofire.notifications.task.didResume"
+
+        /// Notification posted when an `NSURLSessionTask` is suspended. The notification `object` contains the 
+        /// suspended `NSURLSessionTask`.
+        public static let DidSuspend = "com.alamofire.notifications.task.didSuspend"
+
+        /// Notification posted when an `NSURLSessionTask` is cancelled. The notification `object` contains the
+        /// cancelled `NSURLSessionTask`.
+        public static let DidCancel = "com.alamofire.notifications.task.didCancel"
+
+        /// Notification posted when an `NSURLSessionTask` is completed. The notification `object` contains the
+        /// completed `NSURLSessionTask`.
+        public static let DidComplete = "com.alamofire.notifications.task.didComplete"
+    }
+}
diff --git a/swift/Alamofire-3.3.0/Source/ParameterEncoding.swift b/swift/Alamofire-3.3.0/Source/ParameterEncoding.swift
new file mode 100755
index 0000000..a7bcd24
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Source/ParameterEncoding.swift
@@ -0,0 +1,259 @@
+// ParameterEncoding.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import Foundation
+
+/**
+    HTTP method definitions.
+
+    See https://tools.ietf.org/html/rfc7231#section-4.3
+*/
+public enum Method: String {
+    case OPTIONS, GET, HEAD, POST, PUT, PATCH, DELETE, TRACE, CONNECT
+}
+
+// MARK: ParameterEncoding
+
+/**
+    Used to specify the way in which a set of parameters are applied to a URL request.
+
+    - `URL`:             Creates a query string to be set as or appended to any existing URL query for `GET`, `HEAD`, 
+                         and `DELETE` requests, or set as the body for requests with any other HTTP method. The 
+                         `Content-Type` HTTP header field of an encoded request with HTTP body is set to
+                         `application/x-www-form-urlencoded; charset=utf-8`. Since there is no published specification
+                         for how to encode collection types, the convention of appending `[]` to the key for array
+                         values (`foo[]=1&foo[]=2`), and appending the key surrounded by square brackets for nested
+                         dictionary values (`foo[bar]=baz`).
+
+    - `URLEncodedInURL`: Creates query string to be set as or appended to any existing URL query. Uses the same
+                         implementation as the `.URL` case, but always applies the encoded result to the URL.
+
+    - `JSON`:            Uses `NSJSONSerialization` to create a JSON representation of the parameters object, which is 
+                         set as the body of the request. The `Content-Type` HTTP header field of an encoded request is 
+                         set to `application/json`.
+
+    - `PropertyList`:    Uses `NSPropertyListSerialization` to create a plist representation of the parameters object,
+                         according to the associated format and write options values, which is set as the body of the
+                         request. The `Content-Type` HTTP header field of an encoded request is set to
+                         `application/x-plist`.
+
+    - `Custom`:          Uses the associated closure value to construct a new request given an existing request and
+                         parameters.
+*/
+public enum ParameterEncoding {
+    case URL
+    case URLEncodedInURL
+    case JSON
+    case PropertyList(NSPropertyListFormat, NSPropertyListWriteOptions)
+    case Custom((URLRequestConvertible, [String: AnyObject]?) -> (NSMutableURLRequest, NSError?))
+
+    /**
+        Creates a URL request by encoding parameters and applying them onto an existing request.
+
+        - parameter URLRequest: The request to have parameters applied.
+        - parameter parameters: The parameters to apply.
+
+        - returns: A tuple containing the constructed request and the error that occurred during parameter encoding, 
+                   if any.
+    */
+    public func encode(
+        URLRequest: URLRequestConvertible,
+        parameters: [String: AnyObject]?)
+        -> (NSMutableURLRequest, NSError?)
+    {
+        var mutableURLRequest = URLRequest.URLRequest
+
+        guard let parameters = parameters else { return (mutableURLRequest, nil) }
+
+        var encodingError: NSError? = nil
+
+        switch self {
+        case .URL, .URLEncodedInURL:
+            func query(parameters: [String: AnyObject]) -> String {
+                var components: [(String, String)] = []
+
+                for key in parameters.keys.sort(<) {
+                    let value = parameters[key]!
+                    components += queryComponents(key, value)
+                }
+
+                return (components.map { "\($0)=\($1)" } as [String]).joinWithSeparator("&")
+            }
+
+            func encodesParametersInURL(method: Method) -> Bool {
+                switch self {
+                case .URLEncodedInURL:
+                    return true
+                default:
+                    break
+                }
+
+                switch method {
+                case .GET, .HEAD, .DELETE:
+                    return true
+                default:
+                    return false
+                }
+            }
+
+            if let method = Method(rawValue: mutableURLRequest.HTTPMethod) where encodesParametersInURL(method) {
+                if let
+                    URLComponents = NSURLComponents(URL: mutableURLRequest.URL!, resolvingAgainstBaseURL: false)
+                    where !parameters.isEmpty
+                {
+                    let percentEncodedQuery = (URLComponents.percentEncodedQuery.map { $0 + "&" } ?? "") + query(parameters)
+                    URLComponents.percentEncodedQuery = percentEncodedQuery
+                    mutableURLRequest.URL = URLComponents.URL
+                }
+            } else {
+                if mutableURLRequest.valueForHTTPHeaderField("Content-Type") == nil {
+                    mutableURLRequest.setValue(
+                        "application/x-www-form-urlencoded; charset=utf-8",
+                        forHTTPHeaderField: "Content-Type"
+                    )
+                }
+
+                mutableURLRequest.HTTPBody = query(parameters).dataUsingEncoding(
+                    NSUTF8StringEncoding,
+                    allowLossyConversion: false
+                )
+            }
+        case .JSON:
+            do {
+                let options = NSJSONWritingOptions()
+                let data = try NSJSONSerialization.dataWithJSONObject(parameters, options: options)
+
+                if mutableURLRequest.valueForHTTPHeaderField("Content-Type") == nil {
+                    mutableURLRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
+                }
+
+                mutableURLRequest.HTTPBody = data
+            } catch {
+                encodingError = error as NSError
+            }
+        case .PropertyList(let format, let options):
+            do {
+                let data = try NSPropertyListSerialization.dataWithPropertyList(
+                    parameters,
+                    format: format,
+                    options: options
+                )
+
+                if mutableURLRequest.valueForHTTPHeaderField("Content-Type") == nil {
+                    mutableURLRequest.setValue("application/x-plist", forHTTPHeaderField: "Content-Type")
+                }
+
+                mutableURLRequest.HTTPBody = data
+            } catch {
+                encodingError = error as NSError
+            }
+        case .Custom(let closure):
+            (mutableURLRequest, encodingError) = closure(mutableURLRequest, parameters)
+        }
+
+        return (mutableURLRequest, encodingError)
+    }
+
+    /**
+        Creates percent-escaped, URL encoded query string components from the given key-value pair using recursion.
+
+        - parameter key:   The key of the query component.
+        - parameter value: The value of the query component.
+
+        - returns: The percent-escaped, URL encoded query string components.
+    */
+    public func queryComponents(key: String, _ value: AnyObject) -> [(String, String)] {
+        var components: [(String, String)] = []
+
+        if let dictionary = value as? [String: AnyObject] {
+            for (nestedKey, value) in dictionary {
+                components += queryComponents("\(key)[\(nestedKey)]", value)
+            }
+        } else if let array = value as? [AnyObject] {
+            for value in array {
+                components += queryComponents("\(key)[]", value)
+            }
+        } else {
+            components.append((escape(key), escape("\(value)")))
+        }
+
+        return components
+    }
+
+    /**
+        Returns a percent-escaped string following RFC 3986 for a query string key or value.
+
+        RFC 3986 states that the following characters are "reserved" characters.
+
+        - General Delimiters: ":", "#", "[", "]", "@", "?", "/"
+        - Sub-Delimiters: "!", "$", "&", "'", "(", ")", "*", "+", ",", ";", "="
+
+        In RFC 3986 - Section 3.4, it states that the "?" and "/" characters should not be escaped to allow
+        query strings to include a URL. Therefore, all "reserved" characters with the exception of "?" and "/"
+        should be percent-escaped in the query string.
+
+        - parameter string: The string to be percent-escaped.
+
+        - returns: The percent-escaped string.
+    */
+    public func escape(string: String) -> String {
+        let generalDelimitersToEncode = ":#[]@" // does not include "?" or "/" due to RFC 3986 - Section 3.4
+        let subDelimitersToEncode = "!$&'()*+,;="
+
+        let allowedCharacterSet = NSCharacterSet.URLQueryAllowedCharacterSet().mutableCopy() as! NSMutableCharacterSet
+        allowedCharacterSet.removeCharactersInString(generalDelimitersToEncode + subDelimitersToEncode)
+
+        var escaped = ""
+
+        //==========================================================================================================
+        //
+        //  Batching is required for escaping due to an internal bug in iOS 8.1 and 8.2. Encoding more than a few
+        //  hundred Chinense characters causes various malloc error crashes. To avoid this issue until iOS 8 is no
+        //  longer supported, batching MUST be used for encoding. This introduces roughly a 20% overhead. For more
+        //  info, please refer to:
+        //
+        //      - https://github.com/Alamofire/Alamofire/issues/206
+        //
+        //==========================================================================================================
+
+        if #available(iOS 8.3, OSX 10.10, *) {
+            escaped = string.stringByAddingPercentEncodingWithAllowedCharacters(allowedCharacterSet) ?? string
+        } else {
+            let batchSize = 50
+            var index = string.startIndex
+
+            while index != string.endIndex {
+                let startIndex = index
+                let endIndex = index.advancedBy(batchSize, limit: string.endIndex)
+                let range = startIndex..<endIndex
+
+                let substring = string.substringWithRange(range)
+
+                escaped += substring.stringByAddingPercentEncodingWithAllowedCharacters(allowedCharacterSet) ?? substring
+
+                index = endIndex
+            }
+        }
+
+        return escaped
+    }
+}
diff --git a/swift/Alamofire-3.3.0/Source/Request.swift b/swift/Alamofire-3.3.0/Source/Request.swift
new file mode 100755
index 0000000..1f58de9
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Source/Request.swift
@@ -0,0 +1,552 @@
+// Request.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import Foundation
+
+/**
+    Responsible for sending a request and receiving the response and associated data from the server, as well as 
+    managing its underlying `NSURLSessionTask`.
+*/
+public class Request {
+
+    // MARK: - Properties
+
+    /// The delegate for the underlying task.
+    public let delegate: TaskDelegate
+
+    /// The underlying task.
+    public var task: NSURLSessionTask { return delegate.task }
+
+    /// The session belonging to the underlying task.
+    public let session: NSURLSession
+
+    /// The request sent or to be sent to the server.
+    public var request: NSURLRequest? { return task.originalRequest }
+
+    /// The response received from the server, if any.
+    public var response: NSHTTPURLResponse? { return task.response as? NSHTTPURLResponse }
+
+    /// The progress of the request lifecycle.
+    public var progress: NSProgress { return delegate.progress }
+
+    var startTime: CFAbsoluteTime?
+    var endTime: CFAbsoluteTime?
+
+    // MARK: - Lifecycle
+
+    init(session: NSURLSession, task: NSURLSessionTask) {
+        self.session = session
+
+        switch task {
+        case is NSURLSessionUploadTask:
+            delegate = UploadTaskDelegate(task: task)
+        case is NSURLSessionDataTask:
+            delegate = DataTaskDelegate(task: task)
+        case is NSURLSessionDownloadTask:
+            delegate = DownloadTaskDelegate(task: task)
+        default:
+            delegate = TaskDelegate(task: task)
+        }
+
+        delegate.queue.addOperationWithBlock { self.endTime = CFAbsoluteTimeGetCurrent() }
+    }
+
+    // MARK: - Authentication
+
+    /**
+        Associates an HTTP Basic credential with the request.
+
+        - parameter user:        The user.
+        - parameter password:    The password.
+        - parameter persistence: The URL credential persistence. `.ForSession` by default.
+
+        - returns: The request.
+    */
+    public func authenticate(
+        user user: String,
+        password: String,
+        persistence: NSURLCredentialPersistence = .ForSession)
+        -> Self
+    {
+        let credential = NSURLCredential(user: user, password: password, persistence: persistence)
+
+        return authenticate(usingCredential: credential)
+    }
+
+    /**
+        Associates a specified credential with the request.
+
+        - parameter credential: The credential.
+
+        - returns: The request.
+    */
+    public func authenticate(usingCredential credential: NSURLCredential) -> Self {
+        delegate.credential = credential
+
+        return self
+    }
+
+    // MARK: - Progress
+
+    /**
+        Sets a closure to be called periodically during the lifecycle of the request as data is written to or read 
+        from the server.
+
+        - For uploads, the progress closure returns the bytes written, total bytes written, and total bytes expected 
+          to write.
+        - For downloads and data tasks, the progress closure returns the bytes read, total bytes read, and total bytes 
+          expected to read.
+
+        - parameter closure: The code to be executed periodically during the lifecycle of the request.
+
+        - returns: The request.
+    */
+    public func progress(closure: ((Int64, Int64, Int64) -> Void)? = nil) -> Self {
+        if let uploadDelegate = delegate as? UploadTaskDelegate {
+            uploadDelegate.uploadProgress = closure
+        } else if let dataDelegate = delegate as? DataTaskDelegate {
+            dataDelegate.dataProgress = closure
+        } else if let downloadDelegate = delegate as? DownloadTaskDelegate {
+            downloadDelegate.downloadProgress = closure
+        }
+
+        return self
+    }
+
+    /**
+        Sets a closure to be called periodically during the lifecycle of the request as data is read from the server.
+
+        This closure returns the bytes most recently received from the server, not including data from previous calls. 
+        If this closure is set, data will only be available within this closure, and will not be saved elsewhere. It is 
+        also important to note that the `response` closure will be called with nil `responseData`.
+
+        - parameter closure: The code to be executed periodically during the lifecycle of the request.
+
+        - returns: The request.
+    */
+    public func stream(closure: (NSData -> Void)? = nil) -> Self {
+        if let dataDelegate = delegate as? DataTaskDelegate {
+            dataDelegate.dataStream = closure
+        }
+
+        return self
+    }
+
+    // MARK: - State
+
+    /**
+        Resumes the request.
+    */
+    public func resume() {
+        if startTime == nil { startTime = CFAbsoluteTimeGetCurrent() }
+
+        task.resume()
+        NSNotificationCenter.defaultCenter().postNotificationName(Notifications.Task.DidResume, object: task)
+    }
+
+    /**
+        Suspends the request.
+    */
+    public func suspend() {
+        task.suspend()
+        NSNotificationCenter.defaultCenter().postNotificationName(Notifications.Task.DidSuspend, object: task)
+    }
+
+    /**
+        Cancels the request.
+    */
+    public func cancel() {
+        if let
+            downloadDelegate = delegate as? DownloadTaskDelegate,
+            downloadTask = downloadDelegate.downloadTask
+        {
+            downloadTask.cancelByProducingResumeData { data in
+                downloadDelegate.resumeData = data
+            }
+        } else {
+            task.cancel()
+        }
+
+        NSNotificationCenter.defaultCenter().postNotificationName(Notifications.Task.DidCancel, object: task)
+    }
+
+    // MARK: - TaskDelegate
+
+    /**
+        The task delegate is responsible for handling all delegate callbacks for the underlying task as well as 
+        executing all operations attached to the serial operation queue upon task completion.
+    */
+    public class TaskDelegate: NSObject {
+
+        /// The serial operation queue used to execute all operations after the task completes.
+        public let queue: NSOperationQueue
+
+        let task: NSURLSessionTask
+        let progress: NSProgress
+
+        var data: NSData? { return nil }
+        var error: NSError?
+
+        var initialResponseTime: CFAbsoluteTime?
+        var credential: NSURLCredential?
+
+        init(task: NSURLSessionTask) {
+            self.task = task
+            self.progress = NSProgress(totalUnitCount: 0)
+            self.queue = {
+                let operationQueue = NSOperationQueue()
+                operationQueue.maxConcurrentOperationCount = 1
+                operationQueue.suspended = true
+
+                if #available(OSX 10.10, *) {
+                    operationQueue.qualityOfService = NSQualityOfService.Utility
+                }
+
+                return operationQueue
+            }()
+        }
+
+        deinit {
+            queue.cancelAllOperations()
+            queue.suspended = false
+        }
+
+        // MARK: - NSURLSessionTaskDelegate
+
+        // MARK: Override Closures
+
+        var taskWillPerformHTTPRedirection: ((NSURLSession, NSURLSessionTask, NSHTTPURLResponse, NSURLRequest) -> NSURLRequest?)?
+        var taskDidReceiveChallenge: ((NSURLSession, NSURLSessionTask, NSURLAuthenticationChallenge) -> (NSURLSessionAuthChallengeDisposition, NSURLCredential?))?
+        var taskNeedNewBodyStream: ((NSURLSession, NSURLSessionTask) -> NSInputStream?)?
+        var taskDidCompleteWithError: ((NSURLSession, NSURLSessionTask, NSError?) -> Void)?
+
+        // MARK: Delegate Methods
+
+        func URLSession(
+            session: NSURLSession,
+            task: NSURLSessionTask,
+            willPerformHTTPRedirection response: NSHTTPURLResponse,
+            newRequest request: NSURLRequest,
+            completionHandler: ((NSURLRequest?) -> Void))
+        {
+            var redirectRequest: NSURLRequest? = request
+
+            if let taskWillPerformHTTPRedirection = taskWillPerformHTTPRedirection {
+                redirectRequest = taskWillPerformHTTPRedirection(session, task, response, request)
+            }
+
+            completionHandler(redirectRequest)
+        }
+
+        func URLSession(
+            session: NSURLSession,
+            task: NSURLSessionTask,
+            didReceiveChallenge challenge: NSURLAuthenticationChallenge,
+            completionHandler: ((NSURLSessionAuthChallengeDisposition, NSURLCredential?) -> Void))
+        {
+            var disposition: NSURLSessionAuthChallengeDisposition = .PerformDefaultHandling
+            var credential: NSURLCredential?
+
+            if let taskDidReceiveChallenge = taskDidReceiveChallenge {
+                (disposition, credential) = taskDidReceiveChallenge(session, task, challenge)
+            } else if challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust {
+                let host = challenge.protectionSpace.host
+
+                if let
+                    serverTrustPolicy = session.serverTrustPolicyManager?.serverTrustPolicyForHost(host),
+                    serverTrust = challenge.protectionSpace.serverTrust
+                {
+                    if serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host) {
+                        disposition = .UseCredential
+                        credential = NSURLCredential(forTrust: serverTrust)
+                    } else {
+                        disposition = .CancelAuthenticationChallenge
+                    }
+                }
+            } else {
+                if challenge.previousFailureCount > 0 {
+                    disposition = .CancelAuthenticationChallenge
+                } else {
+                    credential = self.credential ?? session.configuration.URLCredentialStorage?.defaultCredentialForProtectionSpace(challenge.protectionSpace)
+
+                    if credential != nil {
+                        disposition = .UseCredential
+                    }
+                }
+            }
+
+            completionHandler(disposition, credential)
+        }
+
+        func URLSession(
+            session: NSURLSession,
+            task: NSURLSessionTask,
+            needNewBodyStream completionHandler: ((NSInputStream?) -> Void))
+        {
+            var bodyStream: NSInputStream?
+
+            if let taskNeedNewBodyStream = taskNeedNewBodyStream {
+                bodyStream = taskNeedNewBodyStream(session, task)
+            }
+
+            completionHandler(bodyStream)
+        }
+
+        func URLSession(session: NSURLSession, task: NSURLSessionTask, didCompleteWithError error: NSError?) {
+            if let taskDidCompleteWithError = taskDidCompleteWithError {
+                taskDidCompleteWithError(session, task, error)
+            } else {
+                if let error = error {
+                    self.error = error
+
+                    if let
+                        downloadDelegate = self as? DownloadTaskDelegate,
+                        userInfo = error.userInfo as? [String: AnyObject],
+                        resumeData = userInfo[NSURLSessionDownloadTaskResumeData] as? NSData
+                    {
+                        downloadDelegate.resumeData = resumeData
+                    }
+                }
+
+                queue.suspended = false
+            }
+        }
+    }
+
+    // MARK: - DataTaskDelegate
+
+    class DataTaskDelegate: TaskDelegate, NSURLSessionDataDelegate {
+        var dataTask: NSURLSessionDataTask? { return task as? NSURLSessionDataTask }
+
+        private var totalBytesReceived: Int64 = 0
+        private var mutableData: NSMutableData
+        override var data: NSData? {
+            if dataStream != nil {
+                return nil
+            } else {
+                return mutableData
+            }
+        }
+
+        private var expectedContentLength: Int64?
+        private var dataProgress: ((bytesReceived: Int64, totalBytesReceived: Int64, totalBytesExpectedToReceive: Int64) -> Void)?
+        private var dataStream: ((data: NSData) -> Void)?
+
+        override init(task: NSURLSessionTask) {
+            mutableData = NSMutableData()
+            super.init(task: task)
+        }
+
+        // MARK: - NSURLSessionDataDelegate
+
+        // MARK: Override Closures
+
+        var dataTaskDidReceiveResponse: ((NSURLSession, NSURLSessionDataTask, NSURLResponse) -> NSURLSessionResponseDisposition)?
+        var dataTaskDidBecomeDownloadTask: ((NSURLSession, NSURLSessionDataTask, NSURLSessionDownloadTask) -> Void)?
+        var dataTaskDidReceiveData: ((NSURLSession, NSURLSessionDataTask, NSData) -> Void)?
+        var dataTaskWillCacheResponse: ((NSURLSession, NSURLSessionDataTask, NSCachedURLResponse) -> NSCachedURLResponse?)?
+
+        // MARK: Delegate Methods
+
+        func URLSession(
+            session: NSURLSession,
+            dataTask: NSURLSessionDataTask,
+            didReceiveResponse response: NSURLResponse,
+            completionHandler: (NSURLSessionResponseDisposition -> Void))
+        {
+            var disposition: NSURLSessionResponseDisposition = .Allow
+
+            expectedContentLength = response.expectedContentLength
+
+            if let dataTaskDidReceiveResponse = dataTaskDidReceiveResponse {
+                disposition = dataTaskDidReceiveResponse(session, dataTask, response)
+            }
+
+            completionHandler(disposition)
+        }
+
+        func URLSession(
+            session: NSURLSession,
+            dataTask: NSURLSessionDataTask,
+            didBecomeDownloadTask downloadTask: NSURLSessionDownloadTask)
+        {
+            dataTaskDidBecomeDownloadTask?(session, dataTask, downloadTask)
+        }
+
+        func URLSession(session: NSURLSession, dataTask: NSURLSessionDataTask, didReceiveData data: NSData) {
+            if initialResponseTime == nil { initialResponseTime = CFAbsoluteTimeGetCurrent() }
+
+            if let dataTaskDidReceiveData = dataTaskDidReceiveData {
+                dataTaskDidReceiveData(session, dataTask, data)
+            } else {
+                if let dataStream = dataStream {
+                    dataStream(data: data)
+                } else {
+                    mutableData.appendData(data)
+                }
+
+                totalBytesReceived += data.length
+                let totalBytesExpected = dataTask.response?.expectedContentLength ?? NSURLSessionTransferSizeUnknown
+
+                progress.totalUnitCount = totalBytesExpected
+                progress.completedUnitCount = totalBytesReceived
+
+                dataProgress?(
+                    bytesReceived: Int64(data.length),
+                    totalBytesReceived: totalBytesReceived,
+                    totalBytesExpectedToReceive: totalBytesExpected
+                )
+            }
+        }
+
+        func URLSession(
+            session: NSURLSession,
+            dataTask: NSURLSessionDataTask,
+            willCacheResponse proposedResponse: NSCachedURLResponse,
+            completionHandler: ((NSCachedURLResponse?) -> Void))
+        {
+            var cachedResponse: NSCachedURLResponse? = proposedResponse
+
+            if let dataTaskWillCacheResponse = dataTaskWillCacheResponse {
+                cachedResponse = dataTaskWillCacheResponse(session, dataTask, proposedResponse)
+            }
+
+            completionHandler(cachedResponse)
+        }
+    }
+}
+
+// MARK: - CustomStringConvertible
+
+extension Request: CustomStringConvertible {
+
+    /**
+        The textual representation used when written to an output stream, which includes the HTTP method and URL, as 
+        well as the response status code if a response has been received.
+    */
+    public var description: String {
+        var components: [String] = []
+
+        if let HTTPMethod = request?.HTTPMethod {
+            components.append(HTTPMethod)
+        }
+
+        if let URLString = request?.URL?.absoluteString {
+            components.append(URLString)
+        }
+
+        if let response = response {
+            components.append("(\(response.statusCode))")
+        }
+
+        return components.joinWithSeparator(" ")
+    }
+}
+
+// MARK: - CustomDebugStringConvertible
+
+extension Request: CustomDebugStringConvertible {
+    func cURLRepresentation() -> String {
+        var components = ["$ curl -i"]
+
+        guard let
+            request = self.request,
+            URL = request.URL,
+            host = URL.host
+        else {
+            return "$ curl command could not be created"
+        }
+
+        if let HTTPMethod = request.HTTPMethod where HTTPMethod != "GET" {
+            components.append("-X \(HTTPMethod)")
+        }
+
+        if let credentialStorage = self.session.configuration.URLCredentialStorage {
+            let protectionSpace = NSURLProtectionSpace(
+                host: host,
+                port: URL.port?.integerValue ?? 0,
+                protocol: URL.scheme,
+                realm: host,
+                authenticationMethod: NSURLAuthenticationMethodHTTPBasic
+            )
+
+            if let credentials = credentialStorage.credentialsForProtectionSpace(protectionSpace)?.values {
+                for credential in credentials {
+                    components.append("-u \(credential.user!):\(credential.password!)")
+                }
+            } else {
+                if let credential = delegate.credential {
+                    components.append("-u \(credential.user!):\(credential.password!)")
+                }
+            }
+        }
+
+        if session.configuration.HTTPShouldSetCookies {
+            if let
+                cookieStorage = session.configuration.HTTPCookieStorage,
+                cookies = cookieStorage.cookiesForURL(URL) where !cookies.isEmpty
+            {
+                let string = cookies.reduce("") { $0 + "\($1.name)=\($1.value ?? String());" }
+                components.append("-b \"\(string.substringToIndex(string.endIndex.predecessor()))\"")
+            }
+        }
+
+        if let headerFields = request.allHTTPHeaderFields {
+            for (field, value) in headerFields {
+                switch field {
+                case "Cookie":
+                    continue
+                default:
+                    components.append("-H \"\(field): \(value)\"")
+                }
+            }
+        }
+
+        if let additionalHeaders = session.configuration.HTTPAdditionalHeaders {
+            for (field, value) in additionalHeaders {
+                switch field {
+                case "Cookie":
+                    continue
+                default:
+                    components.append("-H \"\(field): \(value)\"")
+                }
+            }
+        }
+
+        if let
+            HTTPBodyData = request.HTTPBody,
+            HTTPBody = String(data: HTTPBodyData, encoding: NSUTF8StringEncoding)
+        {
+            let escapedBody = HTTPBody.stringByReplacingOccurrencesOfString("\"", withString: "\\\"")
+            components.append("-d \"\(escapedBody)\"")
+        }
+
+        components.append("\"\(URL.absoluteString)\"")
+
+        return components.joinWithSeparator(" \\\n\t")
+    }
+
+    /// The textual representation used when written to an output stream, in the form of a cURL command.
+    public var debugDescription: String {
+        return cURLRepresentation()
+    }
+}
diff --git a/swift/Alamofire-3.3.0/Source/Response.swift b/swift/Alamofire-3.3.0/Source/Response.swift
new file mode 100755
index 0000000..153eda5
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Source/Response.swift
@@ -0,0 +1,95 @@
+// Response.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import Foundation
+
+/// Used to store all response data returned from a completed `Request`.
+public struct Response<Value, Error: ErrorType> {
+    /// The URL request sent to the server.
+    public let request: NSURLRequest?
+
+    /// The server's response to the URL request.
+    public let response: NSHTTPURLResponse?
+
+    /// The data returned by the server.
+    public let data: NSData?
+
+    /// The result of response serialization.
+    public let result: Result<Value, Error>
+
+    /// The timeline of the complete lifecycle of the `Request`.
+    public let timeline: Timeline
+
+    /**
+        Initializes the `Response` instance with the specified URL request, URL response, server data and response
+        serialization result.
+    
+        - parameter request:  The URL request sent to the server.
+        - parameter response: The server's response to the URL request.
+        - parameter data:     The data returned by the server.
+        - parameter result:   The result of response serialization.
+        - parameter timeline: The timeline of the complete lifecycle of the `Request`. Defaults to `Timeline()`.
+
+        - returns: the new `Response` instance.
+    */
+    public init(
+        request: NSURLRequest?,
+        response: NSHTTPURLResponse?,
+        data: NSData?,
+        result: Result<Value, Error>,
+        timeline: Timeline = Timeline())
+    {
+        self.request = request
+        self.response = response
+        self.data = data
+        self.result = result
+        self.timeline = timeline
+    }
+}
+
+// MARK: - CustomStringConvertible
+
+extension Response: CustomStringConvertible {
+    /// The textual representation used when written to an output stream, which includes whether the result was a
+    /// success or failure.
+    public var description: String {
+        return result.debugDescription
+    }
+}
+
+// MARK: - CustomDebugStringConvertible
+
+extension Response: CustomDebugStringConvertible {
+    /// The debug textual representation used when written to an output stream, which includes the URL request, the URL
+    /// response, the server data and the response serialization result.
+    public var debugDescription: String {
+        var output: [String] = []
+
+        output.append(request != nil ? "[Request]: \(request!)" : "[Request]: nil")
+        output.append(response != nil ? "[Response]: \(response!)" : "[Response]: nil")
+        output.append("[Data]: \(data?.length ?? 0) bytes")
+        output.append("[Result]: \(result.debugDescription)")
+        output.append("[Timeline]: \(timeline.debugDescription)")
+
+        return output.joinWithSeparator("\n")
+    }
+}
diff --git a/swift/Alamofire-3.3.0/Source/ResponseSerialization.swift b/swift/Alamofire-3.3.0/Source/ResponseSerialization.swift
new file mode 100755
index 0000000..7fec781
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Source/ResponseSerialization.swift
@@ -0,0 +1,376 @@
+// ResponseSerialization.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import Foundation
+
+// MARK: ResponseSerializer
+
+/**
+    The type in which all response serializers must conform to in order to serialize a response.
+*/
+public protocol ResponseSerializerType {
+    /// The type of serialized object to be created by this `ResponseSerializerType`.
+    associatedtype SerializedObject
+
+    /// The type of error to be created by this `ResponseSerializer` if serialization fails.
+    associatedtype ErrorObject: ErrorType
+
+    /**
+        A closure used by response handlers that takes a request, response, data and error and returns a result.
+    */
+    var serializeResponse: (NSURLRequest?, NSHTTPURLResponse?, NSData?, NSError?) -> Result<SerializedObject, ErrorObject> { get }
+}
+
+// MARK: -
+
+/**
+    A generic `ResponseSerializerType` used to serialize a request, response, and data into a serialized object.
+*/
+public struct ResponseSerializer<Value, Error: ErrorType>: ResponseSerializerType {
+    /// The type of serialized object to be created by this `ResponseSerializer`.
+    public typealias SerializedObject = Value
+
+    /// The type of error to be created by this `ResponseSerializer` if serialization fails.
+    public typealias ErrorObject = Error
+
+    /**
+        A closure used by response handlers that takes a request, response, data and error and returns a result.
+    */
+    public var serializeResponse: (NSURLRequest?, NSHTTPURLResponse?, NSData?, NSError?) -> Result<Value, Error>
+
+    /**
+        Initializes the `ResponseSerializer` instance with the given serialize response closure.
+
+        - parameter serializeResponse: The closure used to serialize the response.
+
+        - returns: The new generic response serializer instance.
+    */
+    public init(serializeResponse: (NSURLRequest?, NSHTTPURLResponse?, NSData?, NSError?) -> Result<Value, Error>) {
+        self.serializeResponse = serializeResponse
+    }
+}
+
+// MARK: - Default
+
+extension Request {
+
+    /**
+        Adds a handler to be called once the request has finished.
+
+        - parameter queue:             The queue on which the completion handler is dispatched.
+        - parameter completionHandler: The code to be executed once the request has finished.
+
+        - returns: The request.
+    */
+    public func response(
+        queue queue: dispatch_queue_t? = nil,
+        completionHandler: (NSURLRequest?, NSHTTPURLResponse?, NSData?, NSError?) -> Void)
+        -> Self
+    {
+        delegate.queue.addOperationWithBlock {
+            dispatch_async(queue ?? dispatch_get_main_queue()) {
+                completionHandler(self.request, self.response, self.delegate.data, self.delegate.error)
+            }
+        }
+
+        return self
+    }
+
+    /**
+        Adds a handler to be called once the request has finished.
+
+        - parameter queue:              The queue on which the completion handler is dispatched.
+        - parameter responseSerializer: The response serializer responsible for serializing the request, response, 
+                                        and data.
+        - parameter completionHandler:  The code to be executed once the request has finished.
+
+        - returns: The request.
+    */
+    public func response<T: ResponseSerializerType>(
+        queue queue: dispatch_queue_t? = nil,
+        responseSerializer: T,
+        completionHandler: Response<T.SerializedObject, T.ErrorObject> -> Void)
+        -> Self
+    {
+        delegate.queue.addOperationWithBlock {
+            let result = responseSerializer.serializeResponse(
+                self.request,
+                self.response,
+                self.delegate.data,
+                self.delegate.error
+            )
+
+            let requestCompletedTime = self.endTime ?? CFAbsoluteTimeGetCurrent()
+            let initialResponseTime = self.delegate.initialResponseTime ?? requestCompletedTime
+
+            let timeline = Timeline(
+                requestStartTime: self.startTime ?? CFAbsoluteTimeGetCurrent(),
+                initialResponseTime: initialResponseTime,
+                requestCompletedTime: requestCompletedTime,
+                serializationCompletedTime: CFAbsoluteTimeGetCurrent()
+            )
+
+            let response = Response<T.SerializedObject, T.ErrorObject>(
+                request: self.request,
+                response: self.response,
+                data: self.delegate.data,
+                result: result,
+                timeline: timeline
+            )
+
+            dispatch_async(queue ?? dispatch_get_main_queue()) { completionHandler(response) }
+        }
+
+        return self
+    }
+}
+
+// MARK: - Data
+
+extension Request {
+
+    /**
+        Creates a response serializer that returns the associated data as-is.
+
+        - returns: A data response serializer.
+    */
+    public static func dataResponseSerializer() -> ResponseSerializer<NSData, NSError> {
+        return ResponseSerializer { _, response, data, error in
+            guard error == nil else { return .Failure(error!) }
+
+            if let response = response where response.statusCode == 204 { return .Success(NSData()) }
+
+            guard let validData = data else {
+                let failureReason = "Data could not be serialized. Input data was nil."
+                let error = Error.errorWithCode(.DataSerializationFailed, failureReason: failureReason)
+                return .Failure(error)
+            }
+
+            return .Success(validData)
+        }
+    }
+
+    /**
+        Adds a handler to be called once the request has finished.
+
+        - parameter completionHandler: The code to be executed once the request has finished.
+
+        - returns: The request.
+    */
+    public func responseData(
+        queue queue: dispatch_queue_t? = nil,
+        completionHandler: Response<NSData, NSError> -> Void)
+        -> Self
+    {
+        return response(queue: queue, responseSerializer: Request.dataResponseSerializer(), completionHandler: completionHandler)
+    }
+}
+
+// MARK: - String
+
+extension Request {
+
+    /**
+        Creates a response serializer that returns a string initialized from the response data with the specified 
+        string encoding.
+
+        - parameter encoding: The string encoding. If `nil`, the string encoding will be determined from the server 
+                              response, falling back to the default HTTP default character set, ISO-8859-1.
+
+        - returns: A string response serializer.
+    */
+    public static func stringResponseSerializer(
+        encoding encoding: NSStringEncoding? = nil)
+        -> ResponseSerializer<String, NSError>
+    {
+        return ResponseSerializer { _, response, data, error in
+            guard error == nil else { return .Failure(error!) }
+
+            if let response = response where response.statusCode == 204 { return .Success("") }
+
+            guard let validData = data else {
+                let failureReason = "String could not be serialized. Input data was nil."
+                let error = Error.errorWithCode(.StringSerializationFailed, failureReason: failureReason)
+                return .Failure(error)
+            }
+            
+            var convertedEncoding = encoding
+            
+            if let encodingName = response?.textEncodingName where convertedEncoding == nil {
+                convertedEncoding = CFStringConvertEncodingToNSStringEncoding(
+                    CFStringConvertIANACharSetNameToEncoding(encodingName)
+                )
+            }
+
+            let actualEncoding = convertedEncoding ?? NSISOLatin1StringEncoding
+
+            if let string = String(data: validData, encoding: actualEncoding) {
+                return .Success(string)
+            } else {
+                let failureReason = "String could not be serialized with encoding: \(actualEncoding)"
+                let error = Error.errorWithCode(.StringSerializationFailed, failureReason: failureReason)
+                return .Failure(error)
+            }
+        }
+    }
+
+    /**
+        Adds a handler to be called once the request has finished.
+
+        - parameter encoding:          The string encoding. If `nil`, the string encoding will be determined from the 
+                                       server response, falling back to the default HTTP default character set, 
+                                       ISO-8859-1.
+        - parameter completionHandler: A closure to be executed once the request has finished.
+
+        - returns: The request.
+    */
+    public func responseString(
+        queue queue: dispatch_queue_t? = nil,
+        encoding: NSStringEncoding? = nil,
+        completionHandler: Response<String, NSError> -> Void)
+        -> Self
+    {
+        return response(
+            queue: queue,
+            responseSerializer: Request.stringResponseSerializer(encoding: encoding),
+            completionHandler: completionHandler
+        )
+    }
+}
+
+// MARK: - JSON
+
+extension Request {
+
+    /**
+        Creates a response serializer that returns a JSON object constructed from the response data using 
+        `NSJSONSerialization` with the specified reading options.
+
+        - parameter options: The JSON serialization reading options. `.AllowFragments` by default.
+
+        - returns: A JSON object response serializer.
+    */
+    public static func JSONResponseSerializer(
+        options options: NSJSONReadingOptions = .AllowFragments)
+        -> ResponseSerializer<AnyObject, NSError>
+    {
+        return ResponseSerializer { _, response, data, error in
+            guard error == nil else { return .Failure(error!) }
+
+            if let response = response where response.statusCode == 204 { return .Success(NSNull()) }
+
+            guard let validData = data where validData.length > 0 else {
+                let failureReason = "JSON could not be serialized. Input data was nil or zero length."
+                let error = Error.errorWithCode(.JSONSerializationFailed, failureReason: failureReason)
+                return .Failure(error)
+            }
+
+            do {
+                let JSON = try NSJSONSerialization.JSONObjectWithData(validData, options: options)
+                return .Success(JSON)
+            } catch {
+                return .Failure(error as NSError)
+            }
+        }
+    }
+
+    /**
+        Adds a handler to be called once the request has finished.
+
+        - parameter options:           The JSON serialization reading options. `.AllowFragments` by default.
+        - parameter completionHandler: A closure to be executed once the request has finished.
+
+        - returns: The request.
+    */
+    public func responseJSON(
+        queue queue: dispatch_queue_t? = nil,
+        options: NSJSONReadingOptions = .AllowFragments,
+        completionHandler: Response<AnyObject, NSError> -> Void)
+        -> Self
+    {
+        return response(
+            queue: queue,
+            responseSerializer: Request.JSONResponseSerializer(options: options),
+            completionHandler: completionHandler
+        )
+    }
+}
+
+// MARK: - Property List
+
+extension Request {
+
+    /**
+        Creates a response serializer that returns an object constructed from the response data using 
+        `NSPropertyListSerialization` with the specified reading options.
+
+        - parameter options: The property list reading options. `NSPropertyListReadOptions()` by default.
+
+        - returns: A property list object response serializer.
+    */
+    public static func propertyListResponseSerializer(
+        options options: NSPropertyListReadOptions = NSPropertyListReadOptions())
+        -> ResponseSerializer<AnyObject, NSError>
+    {
+        return ResponseSerializer { _, response, data, error in
+            guard error == nil else { return .Failure(error!) }
+
+            if let response = response where response.statusCode == 204 { return .Success(NSNull()) }
+
+            guard let validData = data where validData.length > 0 else {
+                let failureReason = "Property list could not be serialized. Input data was nil or zero length."
+                let error = Error.errorWithCode(.PropertyListSerializationFailed, failureReason: failureReason)
+                return .Failure(error)
+            }
+
+            do {
+                let plist = try NSPropertyListSerialization.propertyListWithData(validData, options: options, format: nil)
+                return .Success(plist)
+            } catch {
+                return .Failure(error as NSError)
+            }
+        }
+    }
+
+    /**
+        Adds a handler to be called once the request has finished.
+
+        - parameter options:           The property list reading options. `0` by default.
+        - parameter completionHandler: A closure to be executed once the request has finished. The closure takes 3
+                                       arguments: the URL request, the URL response, the server data and the result 
+                                       produced while creating the property list.
+
+        - returns: The request.
+    */
+    public func responsePropertyList(
+        queue queue: dispatch_queue_t? = nil,
+        options: NSPropertyListReadOptions = NSPropertyListReadOptions(),
+        completionHandler: Response<AnyObject, NSError> -> Void)
+        -> Self
+    {
+        return response(
+            queue: queue,
+            responseSerializer: Request.propertyListResponseSerializer(options: options),
+            completionHandler: completionHandler
+        )
+    }
+}
diff --git a/swift/Alamofire-3.3.0/Source/Result.swift b/swift/Alamofire-3.3.0/Source/Result.swift
new file mode 100755
index 0000000..a8557ca
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Source/Result.swift
@@ -0,0 +1,101 @@
+// Result.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import Foundation
+
+/**
+    Used to represent whether a request was successful or encountered an error.
+
+    - Success: The request and all post processing operations were successful resulting in the serialization of the 
+               provided associated value.
+    - Failure: The request encountered an error resulting in a failure. The associated values are the original data 
+               provided by the server as well as the error that caused the failure.
+*/
+public enum Result<Value, Error: ErrorType> {
+    case Success(Value)
+    case Failure(Error)
+
+    /// Returns `true` if the result is a success, `false` otherwise.
+    public var isSuccess: Bool {
+        switch self {
+        case .Success:
+            return true
+        case .Failure:
+            return false
+        }
+    }
+
+    /// Returns `true` if the result is a failure, `false` otherwise.
+    public var isFailure: Bool {
+        return !isSuccess
+    }
+
+    /// Returns the associated value if the result is a success, `nil` otherwise.
+    public var value: Value? {
+        switch self {
+        case .Success(let value):
+            return value
+        case .Failure:
+            return nil
+        }
+    }
+
+    /// Returns the associated error value if the result is a failure, `nil` otherwise.
+    public var error: Error? {
+        switch self {
+        case .Success:
+            return nil
+        case .Failure(let error):
+            return error
+        }
+    }
+}
+
+// MARK: - CustomStringConvertible
+
+extension Result: CustomStringConvertible {
+    /// The textual representation used when written to an output stream, which includes whether the result was a 
+    /// success or failure.
+    public var description: String {
+        switch self {
+        case .Success:
+            return "SUCCESS"
+        case .Failure:
+            return "FAILURE"
+        }
+    }
+}
+
+// MARK: - CustomDebugStringConvertible
+
+extension Result: CustomDebugStringConvertible {
+    /// The debug textual representation used when written to an output stream, which includes whether the result was a
+    /// success or failure in addition to the value or error.
+    public var debugDescription: String {
+        switch self {
+        case .Success(let value):
+            return "SUCCESS: \(value)"
+        case .Failure(let error):
+            return "FAILURE: \(error)"
+        }
+    }
+}
diff --git a/swift/Alamofire-3.3.0/Source/ServerTrustPolicy.swift b/swift/Alamofire-3.3.0/Source/ServerTrustPolicy.swift
new file mode 100755
index 0000000..07cd848
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Source/ServerTrustPolicy.swift
@@ -0,0 +1,302 @@
+// ServerTrustPolicy.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import Foundation
+
+/// Responsible for managing the mapping of `ServerTrustPolicy` objects to a given host.
+public class ServerTrustPolicyManager {
+    /// The dictionary of policies mapped to a particular host.
+    public let policies: [String: ServerTrustPolicy]
+
+    /**
+        Initializes the `ServerTrustPolicyManager` instance with the given policies.
+
+        Since different servers and web services can have different leaf certificates, intermediate and even root 
+        certficates, it is important to have the flexibility to specify evaluation policies on a per host basis. This 
+        allows for scenarios such as using default evaluation for host1, certificate pinning for host2, public key 
+        pinning for host3 and disabling evaluation for host4.
+
+        - parameter policies: A dictionary of all policies mapped to a particular host.
+
+        - returns: The new `ServerTrustPolicyManager` instance.
+    */
+    public init(policies: [String: ServerTrustPolicy]) {
+        self.policies = policies
+    }
+
+    /**
+        Returns the `ServerTrustPolicy` for the given host if applicable.
+
+        By default, this method will return the policy that perfectly matches the given host. Subclasses could override
+        this method and implement more complex mapping implementations such as wildcards.
+
+        - parameter host: The host to use when searching for a matching policy.
+
+        - returns: The server trust policy for the given host if found.
+    */
+    public func serverTrustPolicyForHost(host: String) -> ServerTrustPolicy? {
+        return policies[host]
+    }
+}
+
+// MARK: -
+
+extension NSURLSession {
+    private struct AssociatedKeys {
+        static var ManagerKey = "NSURLSession.ServerTrustPolicyManager"
+    }
+
+    var serverTrustPolicyManager: ServerTrustPolicyManager? {
+        get {
+            return objc_getAssociatedObject(self, &AssociatedKeys.ManagerKey) as? ServerTrustPolicyManager
+        }
+        set (manager) {
+            objc_setAssociatedObject(self, &AssociatedKeys.ManagerKey, manager, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
+        }
+    }
+}
+
+// MARK: - ServerTrustPolicy
+
+/**
+    The `ServerTrustPolicy` evaluates the server trust generally provided by an `NSURLAuthenticationChallenge` when 
+    connecting to a server over a secure HTTPS connection. The policy configuration then evaluates the server trust 
+    with a given set of criteria to determine whether the server trust is valid and the connection should be made.
+
+    Using pinned certificates or public keys for evaluation helps prevent man-in-the-middle (MITM) attacks and other 
+    vulnerabilities. Applications dealing with sensitive customer data or financial information are strongly encouraged 
+    to route all communication over an HTTPS connection with pinning enabled.
+
+    - PerformDefaultEvaluation: Uses the default server trust evaluation while allowing you to control whether to 
+                                validate the host provided by the challenge. Applications are encouraged to always 
+                                validate the host in production environments to guarantee the validity of the server's 
+                                certificate chain.
+
+    - PinCertificates:          Uses the pinned certificates to validate the server trust. The server trust is
+                                considered valid if one of the pinned certificates match one of the server certificates. 
+                                By validating both the certificate chain and host, certificate pinning provides a very 
+                                secure form of server trust validation mitigating most, if not all, MITM attacks. 
+                                Applications are encouraged to always validate the host and require a valid certificate 
+                                chain in production environments.
+
+    - PinPublicKeys:            Uses the pinned public keys to validate the server trust. The server trust is considered
+                                valid if one of the pinned public keys match one of the server certificate public keys. 
+                                By validating both the certificate chain and host, public key pinning provides a very 
+                                secure form of server trust validation mitigating most, if not all, MITM attacks. 
+                                Applications are encouraged to always validate the host and require a valid certificate 
+                                chain in production environments.
+
+    - DisableEvaluation:        Disables all evaluation which in turn will always consider any server trust as valid.
+
+    - CustomEvaluation:         Uses the associated closure to evaluate the validity of the server trust.
+*/
+public enum ServerTrustPolicy {
+    case PerformDefaultEvaluation(validateHost: Bool)
+    case PinCertificates(certificates: [SecCertificate], validateCertificateChain: Bool, validateHost: Bool)
+    case PinPublicKeys(publicKeys: [SecKey], validateCertificateChain: Bool, validateHost: Bool)
+    case DisableEvaluation
+    case CustomEvaluation((serverTrust: SecTrust, host: String) -> Bool)
+
+    // MARK: - Bundle Location
+
+    /**
+        Returns all certificates within the given bundle with a `.cer` file extension.
+
+        - parameter bundle: The bundle to search for all `.cer` files.
+
+        - returns: All certificates within the given bundle.
+    */
+    public static func certificatesInBundle(bundle: NSBundle = NSBundle.mainBundle()) -> [SecCertificate] {
+        var certificates: [SecCertificate] = []
+
+        let paths = Set([".cer", ".CER", ".crt", ".CRT", ".der", ".DER"].map { fileExtension in
+            bundle.pathsForResourcesOfType(fileExtension, inDirectory: nil)
+        }.flatten())
+
+        for path in paths {
+            if let
+                certificateData = NSData(contentsOfFile: path),
+                certificate = SecCertificateCreateWithData(nil, certificateData)
+            {
+                certificates.append(certificate)
+            }
+        }
+
+        return certificates
+    }
+
+    /**
+        Returns all public keys within the given bundle with a `.cer` file extension.
+
+        - parameter bundle: The bundle to search for all `*.cer` files.
+
+        - returns: All public keys within the given bundle.
+    */
+    public static func publicKeysInBundle(bundle: NSBundle = NSBundle.mainBundle()) -> [SecKey] {
+        var publicKeys: [SecKey] = []
+
+        for certificate in certificatesInBundle(bundle) {
+            if let publicKey = publicKeyForCertificate(certificate) {
+                publicKeys.append(publicKey)
+            }
+        }
+
+        return publicKeys
+    }
+
+    // MARK: - Evaluation
+
+    /**
+        Evaluates whether the server trust is valid for the given host.
+
+        - parameter serverTrust: The server trust to evaluate.
+        - parameter host:        The host of the challenge protection space.
+
+        - returns: Whether the server trust is valid.
+    */
+    public func evaluateServerTrust(serverTrust: SecTrust, isValidForHost host: String) -> Bool {
+        var serverTrustIsValid = false
+
+        switch self {
+        case let .PerformDefaultEvaluation(validateHost):
+            let policy = SecPolicyCreateSSL(true, validateHost ? host as CFString : nil)
+            SecTrustSetPolicies(serverTrust, [policy])
+
+            serverTrustIsValid = trustIsValid(serverTrust)
+        case let .PinCertificates(pinnedCertificates, validateCertificateChain, validateHost):
+            if validateCertificateChain {
+                let policy = SecPolicyCreateSSL(true, validateHost ? host as CFString : nil)
+                SecTrustSetPolicies(serverTrust, [policy])
+
+                SecTrustSetAnchorCertificates(serverTrust, pinnedCertificates)
+                SecTrustSetAnchorCertificatesOnly(serverTrust, true)
+
+                serverTrustIsValid = trustIsValid(serverTrust)
+            } else {
+                let serverCertificatesDataArray = certificateDataForTrust(serverTrust)
+                let pinnedCertificatesDataArray = certificateDataForCertificates(pinnedCertificates)
+
+                outerLoop: for serverCertificateData in serverCertificatesDataArray {
+                    for pinnedCertificateData in pinnedCertificatesDataArray {
+                        if serverCertificateData.isEqualToData(pinnedCertificateData) {
+                            serverTrustIsValid = true
+                            break outerLoop
+                        }
+                    }
+                }
+            }
+        case let .PinPublicKeys(pinnedPublicKeys, validateCertificateChain, validateHost):
+            var certificateChainEvaluationPassed = true
+
+            if validateCertificateChain {
+                let policy = SecPolicyCreateSSL(true, validateHost ? host as CFString : nil)
+                SecTrustSetPolicies(serverTrust, [policy])
+
+                certificateChainEvaluationPassed = trustIsValid(serverTrust)
+            }
+
+            if certificateChainEvaluationPassed {
+                outerLoop: for serverPublicKey in ServerTrustPolicy.publicKeysForTrust(serverTrust) as [AnyObject] {
+                    for pinnedPublicKey in pinnedPublicKeys as [AnyObject] {
+                        if serverPublicKey.isEqual(pinnedPublicKey) {
+                            serverTrustIsValid = true
+                            break outerLoop
+                        }
+                    }
+                }
+            }
+        case .DisableEvaluation:
+            serverTrustIsValid = true
+        case let .CustomEvaluation(closure):
+            serverTrustIsValid = closure(serverTrust: serverTrust, host: host)
+        }
+
+        return serverTrustIsValid
+    }
+
+    // MARK: - Private - Trust Validation
+
+    private func trustIsValid(trust: SecTrust) -> Bool {
+        var isValid = false
+
+        var result = SecTrustResultType(kSecTrustResultInvalid)
+        let status = SecTrustEvaluate(trust, &result)
+
+        if status == errSecSuccess {
+            let unspecified = SecTrustResultType(kSecTrustResultUnspecified)
+            let proceed = SecTrustResultType(kSecTrustResultProceed)
+
+            isValid = result == unspecified || result == proceed
+        }
+
+        return isValid
+    }
+
+    // MARK: - Private - Certificate Data
+
+    private func certificateDataForTrust(trust: SecTrust) -> [NSData] {
+        var certificates: [SecCertificate] = []
+
+        for index in 0..<SecTrustGetCertificateCount(trust) {
+            if let certificate = SecTrustGetCertificateAtIndex(trust, index) {
+                certificates.append(certificate)
+            }
+        }
+
+        return certificateDataForCertificates(certificates)
+    }
+
+    private func certificateDataForCertificates(certificates: [SecCertificate]) -> [NSData] {
+        return certificates.map { SecCertificateCopyData($0) as NSData }
+    }
+
+    // MARK: - Private - Public Key Extraction
+
+    private static func publicKeysForTrust(trust: SecTrust) -> [SecKey] {
+        var publicKeys: [SecKey] = []
+
+        for index in 0..<SecTrustGetCertificateCount(trust) {
+            if let
+                certificate = SecTrustGetCertificateAtIndex(trust, index),
+                publicKey = publicKeyForCertificate(certificate)
+            {
+                publicKeys.append(publicKey)
+            }
+        }
+
+        return publicKeys
+    }
+
+    private static func publicKeyForCertificate(certificate: SecCertificate) -> SecKey? {
+        var publicKey: SecKey?
+
+        let policy = SecPolicyCreateBasicX509()
+        var trust: SecTrust?
+        let trustCreationStatus = SecTrustCreateWithCertificates(certificate, policy, &trust)
+
+        if let trust = trust where trustCreationStatus == errSecSuccess {
+            publicKey = SecTrustCopyPublicKey(trust)
+        }
+
+        return publicKey
+    }
+}
diff --git a/swift/Alamofire-3.3.0/Source/Stream.swift b/swift/Alamofire-3.3.0/Source/Stream.swift
new file mode 100755
index 0000000..905e522
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Source/Stream.swift
@@ -0,0 +1,180 @@
+// Stream.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import Foundation
+
+#if !os(watchOS)
+
+@available(iOS 9.0, OSX 10.11, tvOS 9.0, *)
+extension Manager {
+    private enum Streamable {
+        case Stream(String, Int)
+        case NetService(NSNetService)
+    }
+
+    private func stream(streamable: Streamable) -> Request {
+        var streamTask: NSURLSessionStreamTask!
+
+        switch streamable {
+        case .Stream(let hostName, let port):
+            dispatch_sync(queue) {
+                streamTask = self.session.streamTaskWithHostName(hostName, port: port)
+            }
+        case .NetService(let netService):
+            dispatch_sync(queue) {
+                streamTask = self.session.streamTaskWithNetService(netService)
+            }
+        }
+
+        let request = Request(session: session, task: streamTask)
+
+        delegate[request.delegate.task] = request.delegate
+
+        if startRequestsImmediately {
+            request.resume()
+        }
+
+        return request
+    }
+
+    /**
+        Creates a request for bidirectional streaming with the given hostname and port.
+
+        - parameter hostName: The hostname of the server to connect to.
+        - parameter port:     The port of the server to connect to.
+
+        :returns: The created stream request.
+    */
+    public func stream(hostName hostName: String, port: Int) -> Request {
+        return stream(.Stream(hostName, port))
+    }
+
+    /**
+        Creates a request for bidirectional streaming with the given `NSNetService`.
+
+        - parameter netService: The net service used to identify the endpoint.
+
+        - returns: The created stream request.
+    */
+    public func stream(netService netService: NSNetService) -> Request {
+        return stream(.NetService(netService))
+    }
+}
+
+// MARK: -
+
+@available(iOS 9.0, OSX 10.11, tvOS 9.0, *)
+extension Manager.SessionDelegate: NSURLSessionStreamDelegate {
+
+    // MARK: Override Closures
+
+    /// Overrides default behavior for NSURLSessionStreamDelegate method `URLSession:readClosedForStreamTask:`.
+    public var streamTaskReadClosed: ((NSURLSession, NSURLSessionStreamTask) -> Void)? {
+        get {
+            return _streamTaskReadClosed as? (NSURLSession, NSURLSessionStreamTask) -> Void
+        }
+        set {
+            _streamTaskReadClosed = newValue
+        }
+    }
+
+    /// Overrides default behavior for NSURLSessionStreamDelegate method `URLSession:writeClosedForStreamTask:`.
+    public var streamTaskWriteClosed: ((NSURLSession, NSURLSessionStreamTask) -> Void)? {
+        get {
+            return _streamTaskWriteClosed as? (NSURLSession, NSURLSessionStreamTask) -> Void
+        }
+        set {
+            _streamTaskWriteClosed = newValue
+        }
+    }
+
+    /// Overrides default behavior for NSURLSessionStreamDelegate method `URLSession:betterRouteDiscoveredForStreamTask:`.
+    public var streamTaskBetterRouteDiscovered: ((NSURLSession, NSURLSessionStreamTask) -> Void)? {
+        get {
+            return _streamTaskBetterRouteDiscovered as? (NSURLSession, NSURLSessionStreamTask) -> Void
+        }
+        set {
+            _streamTaskBetterRouteDiscovered = newValue
+        }
+    }
+
+    /// Overrides default behavior for NSURLSessionStreamDelegate method `URLSession:streamTask:didBecomeInputStream:outputStream:`.
+    public var streamTaskDidBecomeInputStream: ((NSURLSession, NSURLSessionStreamTask, NSInputStream, NSOutputStream) -> Void)? {
+        get {
+            return _streamTaskDidBecomeInputStream as? (NSURLSession, NSURLSessionStreamTask, NSInputStream, NSOutputStream) -> Void
+        }
+        set {
+            _streamTaskDidBecomeInputStream = newValue
+        }
+    }
+
+    // MARK: Delegate Methods
+
+    /**
+        Tells the delegate that the read side of the connection has been closed.
+
+        - parameter session:    The session.
+        - parameter streamTask: The stream task.
+    */
+    public func URLSession(session: NSURLSession, readClosedForStreamTask streamTask: NSURLSessionStreamTask) {
+        streamTaskReadClosed?(session, streamTask)
+    }
+
+    /**
+        Tells the delegate that the write side of the connection has been closed.
+
+        - parameter session:    The session.
+        - parameter streamTask: The stream task.
+    */
+    public func URLSession(session: NSURLSession, writeClosedForStreamTask streamTask: NSURLSessionStreamTask) {
+        streamTaskWriteClosed?(session, streamTask)
+    }
+
+    /**
+        Tells the delegate that the system has determined that a better route to the host is available.
+
+        - parameter session:    The session.
+        - parameter streamTask: The stream task.
+    */
+    public func URLSession(session: NSURLSession, betterRouteDiscoveredForStreamTask streamTask: NSURLSessionStreamTask) {
+        streamTaskBetterRouteDiscovered?(session, streamTask)
+    }
+
+    /**
+        Tells the delegate that the stream task has been completed and provides the unopened stream objects.
+
+        - parameter session:      The session.
+        - parameter streamTask:   The stream task.
+        - parameter inputStream:  The new input stream.
+        - parameter outputStream: The new output stream.
+    */
+    public func URLSession(
+        session: NSURLSession,
+        streamTask: NSURLSessionStreamTask,
+        didBecomeInputStream inputStream: NSInputStream,
+        outputStream: NSOutputStream)
+    {
+        streamTaskDidBecomeInputStream?(session, streamTask, inputStream, outputStream)
+    }
+}
+
+#endif
diff --git a/swift/Alamofire-3.3.0/Source/Timeline.swift b/swift/Alamofire-3.3.0/Source/Timeline.swift
new file mode 100755
index 0000000..0b7ab5d
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Source/Timeline.swift
@@ -0,0 +1,123 @@
+// Timeline.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import Foundation
+
+/// Responsible for computing the timing metrics for the complete lifecycle of a `Request`.
+public struct Timeline {
+    /// The time the request was initialized.
+    public let requestStartTime: CFAbsoluteTime
+
+    /// The time the first bytes were received from or sent to the server.
+    public let initialResponseTime: CFAbsoluteTime
+
+    /// The time when the request was completed.
+    public let requestCompletedTime: CFAbsoluteTime
+
+    /// The time when the response serialization was completed.
+    public let serializationCompletedTime: CFAbsoluteTime
+
+    /// The time interval in seconds from the time the request started to the initial response from the server.
+    public let latency: NSTimeInterval
+
+    /// The time interval in seconds from the time the request started to the time the request completed.
+    public let requestDuration: NSTimeInterval
+
+    /// The time interval in seconds from the time the request completed to the time response serialization completed.
+    public let serializationDuration: NSTimeInterval
+
+    /// The time interval in seconds from the time the request started to the time response serialization completed.
+    public let totalDuration: NSTimeInterval
+
+    /**
+        Creates a new `Timeline` instance with the specified request times.
+
+        - parameter requestStartTime:           The time the request was initialized. Defaults to `0.0`.
+        - parameter initialResponseTime:        The time the first bytes were received from or sent to the server. 
+                                                Defaults to `0.0`.
+        - parameter requestCompletedTime:       The time when the request was completed. Defaults to `0.0`.
+        - parameter serializationCompletedTime: The time when the response serialization was completed. Defaults 
+                                                to `0.0`.
+
+        - returns: The new `Timeline` instance.
+    */
+    public init(
+        requestStartTime: CFAbsoluteTime = 0.0,
+        initialResponseTime: CFAbsoluteTime = 0.0,
+        requestCompletedTime: CFAbsoluteTime = 0.0,
+        serializationCompletedTime: CFAbsoluteTime = 0.0)
+    {
+        self.requestStartTime = requestStartTime
+        self.initialResponseTime = initialResponseTime
+        self.requestCompletedTime = requestCompletedTime
+        self.serializationCompletedTime = serializationCompletedTime
+
+        self.latency = initialResponseTime - requestStartTime
+        self.requestDuration = requestCompletedTime - requestStartTime
+        self.serializationDuration = serializationCompletedTime - requestCompletedTime
+        self.totalDuration = serializationCompletedTime - requestStartTime
+    }
+}
+
+// MARK: - CustomStringConvertible
+
+extension Timeline: CustomStringConvertible {
+    /// The textual representation used when written to an output stream, which includes the latency, the request 
+    /// duration and the total duration.
+    public var description: String {
+        let latency = String(format: "%.3f", self.latency)
+        let requestDuration = String(format: "%.3f", self.requestDuration)
+        let serializationDuration = String(format: "%.3f", self.serializationDuration)
+        let totalDuration = String(format: "%.3f", self.totalDuration)
+
+        let timings = [
+            "\"Latency\": \(latency) secs",
+            "\"Request Duration\": \(requestDuration) secs",
+            "\"Serialization Duration\": \(serializationDuration) secs",
+            "\"Total Duration\": \(totalDuration) secs"
+        ]
+
+        return "Timeline: { \(timings.joinWithSeparator(", ")) }"
+    }
+}
+
+// MARK: - CustomDebugStringConvertible
+
+extension Timeline: CustomDebugStringConvertible {
+    /// The textual representation used when written to an output stream, which includes the request start time, the 
+    /// initial response time, the request completed time, the serialization completed time, the latency, the request
+    /// duration and the total duration.
+    public var debugDescription: String {
+        let timings = [
+            "\"Request Start Time\": \(requestStartTime)",
+            "\"Initial Response Time\": \(initialResponseTime)",
+            "\"Request Completed Time\": \(requestCompletedTime)",
+            "\"Serialization Completed Time\": \(serializationCompletedTime)",
+            "\"Latency\": \(latency) secs",
+            "\"Request Duration\": \(requestDuration) secs",
+            "\"Serialization Duration\": \(serializationDuration) secs",
+            "\"Total Duration\": \(totalDuration) secs"
+        ]
+
+        return "Timeline: { \(timings.joinWithSeparator(", ")) }"
+    }
+}
diff --git a/swift/Alamofire-3.3.0/Source/Upload.swift b/swift/Alamofire-3.3.0/Source/Upload.swift
new file mode 100755
index 0000000..78b3072
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Source/Upload.swift
@@ -0,0 +1,374 @@
+// Upload.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import Foundation
+
+extension Manager {
+    private enum Uploadable {
+        case Data(NSURLRequest, NSData)
+        case File(NSURLRequest, NSURL)
+        case Stream(NSURLRequest, NSInputStream)
+    }
+
+    private func upload(uploadable: Uploadable) -> Request {
+        var uploadTask: NSURLSessionUploadTask!
+        var HTTPBodyStream: NSInputStream?
+
+        switch uploadable {
+        case .Data(let request, let data):
+            dispatch_sync(queue) {
+                uploadTask = self.session.uploadTaskWithRequest(request, fromData: data)
+            }
+        case .File(let request, let fileURL):
+            dispatch_sync(queue) {
+                uploadTask = self.session.uploadTaskWithRequest(request, fromFile: fileURL)
+            }
+        case .Stream(let request, let stream):
+            dispatch_sync(queue) {
+                uploadTask = self.session.uploadTaskWithStreamedRequest(request)
+            }
+
+            HTTPBodyStream = stream
+        }
+
+        let request = Request(session: session, task: uploadTask)
+
+        if HTTPBodyStream != nil {
+            request.delegate.taskNeedNewBodyStream = { _, _ in
+                return HTTPBodyStream
+            }
+        }
+
+        delegate[request.delegate.task] = request.delegate
+
+        if startRequestsImmediately {
+            request.resume()
+        }
+
+        return request
+    }
+
+    // MARK: File
+
+    /**
+        Creates a request for uploading a file to the specified URL request.
+
+        If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
+
+        - parameter URLRequest: The URL request
+        - parameter file:       The file to upload
+
+        - returns: The created upload request.
+    */
+    public func upload(URLRequest: URLRequestConvertible, file: NSURL) -> Request {
+        return upload(.File(URLRequest.URLRequest, file))
+    }
+
+    /**
+        Creates a request for uploading a file to the specified URL request.
+
+        If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
+
+        - parameter method:    The HTTP method.
+        - parameter URLString: The URL string.
+        - parameter headers:   The HTTP headers. `nil` by default.
+        - parameter file:      The file to upload
+
+        - returns: The created upload request.
+    */
+    public func upload(
+        method: Method,
+        _ URLString: URLStringConvertible,
+        headers: [String: String]? = nil,
+        file: NSURL)
+        -> Request
+    {
+        let mutableURLRequest = URLRequest(method, URLString, headers: headers)
+        return upload(mutableURLRequest, file: file)
+    }
+
+    // MARK: Data
+
+    /**
+        Creates a request for uploading data to the specified URL request.
+
+        If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
+
+        - parameter URLRequest: The URL request.
+        - parameter data:       The data to upload.
+
+        - returns: The created upload request.
+    */
+    public func upload(URLRequest: URLRequestConvertible, data: NSData) -> Request {
+        return upload(.Data(URLRequest.URLRequest, data))
+    }
+
+    /**
+        Creates a request for uploading data to the specified URL request.
+
+        If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
+
+        - parameter method:    The HTTP method.
+        - parameter URLString: The URL string.
+        - parameter headers:   The HTTP headers. `nil` by default.
+        - parameter data:      The data to upload
+
+        - returns: The created upload request.
+    */
+    public func upload(
+        method: Method,
+        _ URLString: URLStringConvertible,
+        headers: [String: String]? = nil,
+        data: NSData)
+        -> Request
+    {
+        let mutableURLRequest = URLRequest(method, URLString, headers: headers)
+
+        return upload(mutableURLRequest, data: data)
+    }
+
+    // MARK: Stream
+
+    /**
+        Creates a request for uploading a stream to the specified URL request.
+
+        If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
+
+        - parameter URLRequest: The URL request.
+        - parameter stream:     The stream to upload.
+
+        - returns: The created upload request.
+    */
+    public func upload(URLRequest: URLRequestConvertible, stream: NSInputStream) -> Request {
+        return upload(.Stream(URLRequest.URLRequest, stream))
+    }
+
+    /**
+        Creates a request for uploading a stream to the specified URL request.
+
+        If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
+
+        - parameter method:    The HTTP method.
+        - parameter URLString: The URL string.
+        - parameter headers:   The HTTP headers. `nil` by default.
+        - parameter stream:    The stream to upload.
+
+        - returns: The created upload request.
+    */
+    public func upload(
+        method: Method,
+        _ URLString: URLStringConvertible,
+        headers: [String: String]? = nil,
+        stream: NSInputStream)
+        -> Request
+    {
+        let mutableURLRequest = URLRequest(method, URLString, headers: headers)
+
+        return upload(mutableURLRequest, stream: stream)
+    }
+
+    // MARK: MultipartFormData
+
+    /// Default memory threshold used when encoding `MultipartFormData`.
+    public static let MultipartFormDataEncodingMemoryThreshold: UInt64 = 10 * 1024 * 1024
+
+    /**
+        Defines whether the `MultipartFormData` encoding was successful and contains result of the encoding as 
+        associated values.
+
+        - Success: Represents a successful `MultipartFormData` encoding and contains the new `Request` along with 
+                   streaming information.
+        - Failure: Used to represent a failure in the `MultipartFormData` encoding and also contains the encoding 
+                   error.
+    */
+    public enum MultipartFormDataEncodingResult {
+        case Success(request: Request, streamingFromDisk: Bool, streamFileURL: NSURL?)
+        case Failure(ErrorType)
+    }
+
+    /**
+        Encodes the `MultipartFormData` and creates a request to upload the result to the specified URL request.
+
+        It is important to understand the memory implications of uploading `MultipartFormData`. If the cummulative 
+        payload is small, encoding the data in-memory and directly uploading to a server is the by far the most 
+        efficient approach. However, if the payload is too large, encoding the data in-memory could cause your app to 
+        be terminated. Larger payloads must first be written to disk using input and output streams to keep the memory 
+        footprint low, then the data can be uploaded as a stream from the resulting file. Streaming from disk MUST be 
+        used for larger payloads such as video content.
+
+        The `encodingMemoryThreshold` parameter allows Alamofire to automatically determine whether to encode in-memory 
+        or stream from disk. If the content length of the `MultipartFormData` is below the `encodingMemoryThreshold`,
+        encoding takes place in-memory. If the content length exceeds the threshold, the data is streamed to disk 
+        during the encoding process. Then the result is uploaded as data or as a stream depending on which encoding 
+        technique was used.
+
+        If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
+
+        - parameter method:                  The HTTP method.
+        - parameter URLString:               The URL string.
+        - parameter headers:                 The HTTP headers. `nil` by default.
+        - parameter multipartFormData:       The closure used to append body parts to the `MultipartFormData`.
+        - parameter encodingMemoryThreshold: The encoding memory threshold in bytes.
+                                             `MultipartFormDataEncodingMemoryThreshold` by default.
+        - parameter encodingCompletion:      The closure called when the `MultipartFormData` encoding is complete.
+    */
+    public func upload(
+        method: Method,
+        _ URLString: URLStringConvertible,
+        headers: [String: String]? = nil,
+        multipartFormData: MultipartFormData -> Void,
+        encodingMemoryThreshold: UInt64 = Manager.MultipartFormDataEncodingMemoryThreshold,
+        encodingCompletion: (MultipartFormDataEncodingResult -> Void)?)
+    {
+        let mutableURLRequest = URLRequest(method, URLString, headers: headers)
+
+        return upload(
+            mutableURLRequest,
+            multipartFormData: multipartFormData,
+            encodingMemoryThreshold: encodingMemoryThreshold,
+            encodingCompletion: encodingCompletion
+        )
+    }
+
+    /**
+        Encodes the `MultipartFormData` and creates a request to upload the result to the specified URL request.
+
+        It is important to understand the memory implications of uploading `MultipartFormData`. If the cummulative
+        payload is small, encoding the data in-memory and directly uploading to a server is the by far the most
+        efficient approach. However, if the payload is too large, encoding the data in-memory could cause your app to
+        be terminated. Larger payloads must first be written to disk using input and output streams to keep the memory
+        footprint low, then the data can be uploaded as a stream from the resulting file. Streaming from disk MUST be
+        used for larger payloads such as video content.
+
+        The `encodingMemoryThreshold` parameter allows Alamofire to automatically determine whether to encode in-memory
+        or stream from disk. If the content length of the `MultipartFormData` is below the `encodingMemoryThreshold`,
+        encoding takes place in-memory. If the content length exceeds the threshold, the data is streamed to disk
+        during the encoding process. Then the result is uploaded as data or as a stream depending on which encoding
+        technique was used.
+
+        If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
+
+        - parameter URLRequest:              The URL request.
+        - parameter multipartFormData:       The closure used to append body parts to the `MultipartFormData`.
+        - parameter encodingMemoryThreshold: The encoding memory threshold in bytes.
+                                             `MultipartFormDataEncodingMemoryThreshold` by default.
+        - parameter encodingCompletion:      The closure called when the `MultipartFormData` encoding is complete.
+    */
+    public func upload(
+        URLRequest: URLRequestConvertible,
+        multipartFormData: MultipartFormData -> Void,
+        encodingMemoryThreshold: UInt64 = Manager.MultipartFormDataEncodingMemoryThreshold,
+        encodingCompletion: (MultipartFormDataEncodingResult -> Void)?)
+    {
+        dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0)) {
+            let formData = MultipartFormData()
+            multipartFormData(formData)
+
+            let URLRequestWithContentType = URLRequest.URLRequest
+            URLRequestWithContentType.setValue(formData.contentType, forHTTPHeaderField: "Content-Type")
+
+            let isBackgroundSession = self.session.configuration.identifier != nil
+
+            if formData.contentLength < encodingMemoryThreshold && !isBackgroundSession {
+                do {
+                    let data = try formData.encode()
+                    let encodingResult = MultipartFormDataEncodingResult.Success(
+                        request: self.upload(URLRequestWithContentType, data: data),
+                        streamingFromDisk: false,
+                        streamFileURL: nil
+                    )
+
+                    dispatch_async(dispatch_get_main_queue()) {
+                        encodingCompletion?(encodingResult)
+                    }
+                } catch {
+                    dispatch_async(dispatch_get_main_queue()) {
+                        encodingCompletion?(.Failure(error as NSError))
+                    }
+                }
+            } else {
+                let fileManager = NSFileManager.defaultManager()
+                let tempDirectoryURL = NSURL(fileURLWithPath: NSTemporaryDirectory())
+                let directoryURL = tempDirectoryURL.URLByAppendingPathComponent("com.alamofire.manager/multipart.form.data")
+                let fileName = NSUUID().UUIDString
+                let fileURL = directoryURL.URLByAppendingPathComponent(fileName)
+
+                do {
+                    try fileManager.createDirectoryAtURL(directoryURL, withIntermediateDirectories: true, attributes: nil)
+                    try formData.writeEncodedDataToDisk(fileURL)
+
+                    dispatch_async(dispatch_get_main_queue()) {
+                        let encodingResult = MultipartFormDataEncodingResult.Success(
+                            request: self.upload(URLRequestWithContentType, file: fileURL),
+                            streamingFromDisk: true,
+                            streamFileURL: fileURL
+                        )
+                        encodingCompletion?(encodingResult)
+                    }
+                } catch {
+                    dispatch_async(dispatch_get_main_queue()) {
+                        encodingCompletion?(.Failure(error as NSError))
+                    }
+                }
+            }
+        }
+    }
+}
+
+// MARK: -
+
+extension Request {
+
+    // MARK: - UploadTaskDelegate
+
+    class UploadTaskDelegate: DataTaskDelegate {
+        var uploadTask: NSURLSessionUploadTask? { return task as? NSURLSessionUploadTask }
+        var uploadProgress: ((Int64, Int64, Int64) -> Void)!
+
+        // MARK: - NSURLSessionTaskDelegate
+
+        // MARK: Override Closures
+
+        var taskDidSendBodyData: ((NSURLSession, NSURLSessionTask, Int64, Int64, Int64) -> Void)?
+
+        // MARK: Delegate Methods
+
+        func URLSession(
+            session: NSURLSession,
+            task: NSURLSessionTask,
+            didSendBodyData bytesSent: Int64,
+            totalBytesSent: Int64,
+            totalBytesExpectedToSend: Int64)
+        {
+            if initialResponseTime == nil { initialResponseTime = CFAbsoluteTimeGetCurrent() }
+
+            if let taskDidSendBodyData = taskDidSendBodyData {
+                taskDidSendBodyData(session, task, bytesSent, totalBytesSent, totalBytesExpectedToSend)
+            } else {
+                progress.totalUnitCount = totalBytesExpectedToSend
+                progress.completedUnitCount = totalBytesSent
+
+                uploadProgress?(bytesSent, totalBytesSent, totalBytesExpectedToSend)
+            }
+        }
+    }
+}
diff --git a/swift/Alamofire-3.3.0/Source/Validation.swift b/swift/Alamofire-3.3.0/Source/Validation.swift
new file mode 100755
index 0000000..71d21e1
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Source/Validation.swift
@@ -0,0 +1,189 @@
+// Validation.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import Foundation
+
+extension Request {
+
+    /**
+        Used to represent whether validation was successful or encountered an error resulting in a failure.
+
+        - Success: The validation was successful.
+        - Failure: The validation failed encountering the provided error.
+    */
+    public enum ValidationResult {
+        case Success
+        case Failure(NSError)
+    }
+
+    /**
+        A closure used to validate a request that takes a URL request and URL response, and returns whether the 
+        request was valid.
+    */
+    public typealias Validation = (NSURLRequest?, NSHTTPURLResponse) -> ValidationResult
+
+    /**
+        Validates the request, using the specified closure.
+
+        If validation fails, subsequent calls to response handlers will have an associated error.
+
+        - parameter validation: A closure to validate the request.
+
+        - returns: The request.
+    */
+    public func validate(validation: Validation) -> Self {
+        delegate.queue.addOperationWithBlock {
+            if let
+                response = self.response where self.delegate.error == nil,
+                case let .Failure(error) = validation(self.request, response)
+            {
+                self.delegate.error = error
+            }
+        }
+
+        return self
+    }
+
+    // MARK: - Status Code
+
+    /**
+        Validates that the response has a status code in the specified range.
+
+        If validation fails, subsequent calls to response handlers will have an associated error.
+
+        - parameter range: The range of acceptable status codes.
+
+        - returns: The request.
+    */
+    public func validate<S: SequenceType where S.Generator.Element == Int>(statusCode acceptableStatusCode: S) -> Self {
+        return validate { _, response in
+            if acceptableStatusCode.contains(response.statusCode) {
+                return .Success
+            } else {
+                let failureReason = "Response status code was unacceptable: \(response.statusCode)"
+                return .Failure(Error.errorWithCode(.StatusCodeValidationFailed, failureReason: failureReason))
+            }
+        }
+    }
+
+    // MARK: - Content-Type
+
+    private struct MIMEType {
+        let type: String
+        let subtype: String
+
+        init?(_ string: String) {
+            let components: [String] = {
+                let stripped = string.stringByTrimmingCharactersInSet(NSCharacterSet.whitespaceAndNewlineCharacterSet())
+                let split = stripped.substringToIndex(stripped.rangeOfString(";")?.startIndex ?? stripped.endIndex)
+                return split.componentsSeparatedByString("/")
+            }()
+
+            if let
+                type = components.first,
+                subtype = components.last
+            {
+                self.type = type
+                self.subtype = subtype
+            } else {
+                return nil
+            }
+        }
+
+        func matches(MIME: MIMEType) -> Bool {
+            switch (type, subtype) {
+            case (MIME.type, MIME.subtype), (MIME.type, "*"), ("*", MIME.subtype), ("*", "*"):
+                return true
+            default:
+                return false
+            }
+        }
+    }
+
+    /**
+        Validates that the response has a content type in the specified array.
+
+        If validation fails, subsequent calls to response handlers will have an associated error.
+
+        - parameter contentType: The acceptable content types, which may specify wildcard types and/or subtypes.
+
+        - returns: The request.
+    */
+    public func validate<S : SequenceType where S.Generator.Element == String>(contentType acceptableContentTypes: S) -> Self {
+        return validate { _, response in
+            guard let validData = self.delegate.data where validData.length > 0 else { return .Success }
+
+            if let
+                responseContentType = response.MIMEType,
+                responseMIMEType = MIMEType(responseContentType)
+            {
+                for contentType in acceptableContentTypes {
+                    if let acceptableMIMEType = MIMEType(contentType) where acceptableMIMEType.matches(responseMIMEType) {
+                        return .Success
+                    }
+                }
+            } else {
+                for contentType in acceptableContentTypes {
+                    if let MIMEType = MIMEType(contentType) where MIMEType.type == "*" && MIMEType.subtype == "*" {
+                        return .Success
+                    }
+                }
+            }
+
+            let failureReason: String
+
+            if let responseContentType = response.MIMEType {
+                failureReason = (
+                    "Response content type \"\(responseContentType)\" does not match any acceptable " +
+                    "content types: \(acceptableContentTypes)"
+                )
+            } else {
+                failureReason = "Response content type was missing and acceptable content type does not match \"*/*\""
+            }
+
+            return .Failure(Error.errorWithCode(.ContentTypeValidationFailed, failureReason: failureReason))
+        }
+    }
+
+    // MARK: - Automatic
+
+    /**
+        Validates that the response has a status code in the default acceptable range of 200...299, and that the content 
+        type matches any specified in the Accept HTTP header field.
+
+        If validation fails, subsequent calls to response handlers will have an associated error.
+
+        - returns: The request.
+    */
+    public func validate() -> Self {
+        let acceptableStatusCodes: Range<Int> = 200..<300
+        let acceptableContentTypes: [String] = {
+            if let accept = request?.valueForHTTPHeaderField("Accept") {
+                return accept.componentsSeparatedByString(",")
+            }
+
+            return ["*/*"]
+        }()
+
+        return validate(statusCode: acceptableStatusCodes).validate(contentType: acceptableContentTypes)
+    }
+}
diff --git a/swift/Alamofire-3.3.0/Tests/AuthenticationTests.swift b/swift/Alamofire-3.3.0/Tests/AuthenticationTests.swift
new file mode 100755
index 0000000..c616174
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/AuthenticationTests.swift
@@ -0,0 +1,193 @@
+// AuthenticationTests.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import Alamofire
+import Foundation
+import XCTest
+
+class AuthenticationTestCase: BaseTestCase {
+    let user = "user"
+    let password = "password"
+    var URLString = ""
+
+    override func setUp() {
+        super.setUp()
+
+        let credentialStorage = NSURLCredentialStorage.sharedCredentialStorage()
+
+        for (protectionSpace, credentials) in credentialStorage.allCredentials {
+            for (_, credential) in credentials {
+                credentialStorage.removeCredential(credential, forProtectionSpace: protectionSpace)
+            }
+        }
+    }
+}
+
+// MARK: -
+
+class BasicAuthenticationTestCase: AuthenticationTestCase {
+    override func setUp() {
+        super.setUp()
+        URLString = "https://httpbin.org/basic-auth/\(user)/\(password)"
+    }
+
+    func testHTTPBasicAuthenticationWithInvalidCredentials() {
+        // Given
+        let expectation = expectationWithDescription("\(URLString) 401")
+
+        var request: NSURLRequest?
+        var response: NSHTTPURLResponse?
+        var data: NSData?
+        var error: NSError?
+
+        // When
+        Alamofire.request(.GET, URLString)
+            .authenticate(user: "invalid", password: "credentials")
+            .response { responseRequest, responseResponse, responseData, responseError in
+                request = responseRequest
+                response = responseResponse
+                data = responseData
+                error = responseError
+
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(request, "request should not be nil")
+        XCTAssertNil(response, "response should be nil")
+        XCTAssertNotNil(data, "data should not be nil")
+        XCTAssertNotNil(error, "error should not be nil")
+
+        if let code = error?.code {
+            XCTAssertEqual(code, -999, "error should be NSURLErrorDomain Code -999 'cancelled'")
+        }
+    }
+
+    func testHTTPBasicAuthenticationWithValidCredentials() {
+        // Given
+        let expectation = expectationWithDescription("\(URLString) 200")
+
+        var request: NSURLRequest?
+        var response: NSHTTPURLResponse?
+        var data: NSData?
+        var error: NSError?
+
+        // When
+        Alamofire.request(.GET, URLString)
+            .authenticate(user: user, password: password)
+            .response { responseRequest, responseResponse, responseData, responseError in
+                request = responseRequest
+                response = responseResponse
+                data = responseData
+                error = responseError
+
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(request, "request should not be nil")
+        XCTAssertNotNil(response, "response should not be nil")
+        XCTAssertEqual(response?.statusCode ?? 0, 200, "response status code should be 200")
+        XCTAssertNotNil(data, "data should not be nil")
+        XCTAssertNil(error, "error should be nil")
+    }
+}
+
+// MARK: -
+
+class HTTPDigestAuthenticationTestCase: AuthenticationTestCase {
+    let qop = "auth"
+
+    override func setUp() {
+        super.setUp()
+        URLString = "https://httpbin.org/digest-auth/\(qop)/\(user)/\(password)"
+    }
+
+    func testHTTPDigestAuthenticationWithInvalidCredentials() {
+        // Given
+        let expectation = expectationWithDescription("\(URLString) 401")
+
+        var request: NSURLRequest?
+        var response: NSHTTPURLResponse?
+        var data: NSData?
+        var error: NSError?
+
+        // When
+        Alamofire.request(.GET, URLString)
+            .authenticate(user: "invalid", password: "credentials")
+            .response { responseRequest, responseResponse, responseData, responseError in
+                request = responseRequest
+                response = responseResponse
+                data = responseData
+                error = responseError
+
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(request, "request should not be nil")
+        XCTAssertNil(response, "response should be nil")
+        XCTAssertNotNil(data, "data should not be nil")
+        XCTAssertNotNil(error, "error should not be nil")
+
+        if let code = error?.code {
+            XCTAssertEqual(code, -999, "error should be NSURLErrorDomain Code -999 'cancelled'")
+        }
+    }
+
+    func testHTTPDigestAuthenticationWithValidCredentials() {
+        // Given
+        let expectation = expectationWithDescription("\(URLString) 200")
+
+        var request: NSURLRequest?
+        var response: NSHTTPURLResponse?
+        var data: NSData?
+        var error: NSError?
+
+        // When
+        Alamofire.request(.GET, URLString)
+            .authenticate(user: user, password: password)
+            .response { responseRequest, responseResponse, responseData, responseError in
+                request = responseRequest
+                response = responseResponse
+                data = responseData
+                error = responseError
+
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(request, "request should not be nil")
+        XCTAssertNotNil(response, "response should not be nil")
+        XCTAssertEqual(response?.statusCode ?? 0, 200, "response status code should be 200")
+        XCTAssertNotNil(data, "data should not be nil")
+        XCTAssertNil(error, "error should be nil")
+    }
+}
diff --git a/swift/Alamofire-3.3.0/Tests/BaseTestCase.swift b/swift/Alamofire-3.3.0/Tests/BaseTestCase.swift
new file mode 100755
index 0000000..a9fe24c
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/BaseTestCase.swift
@@ -0,0 +1,34 @@
+// BaseTestCase.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import Alamofire
+import Foundation
+import XCTest
+
+class BaseTestCase: XCTestCase {
+    let timeout: NSTimeInterval = 30.0
+
+    func URLForResource(fileName: String, withExtension: String) -> NSURL {
+        let bundle = NSBundle(forClass: BaseTestCase.self)
+        return bundle.URLForResource(fileName, withExtension: withExtension)!
+    }
+}
diff --git a/swift/Alamofire-3.3.0/Tests/CacheTests.swift b/swift/Alamofire-3.3.0/Tests/CacheTests.swift
new file mode 100755
index 0000000..0d3fe3c
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/CacheTests.swift
@@ -0,0 +1,351 @@
+// CacheTests.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import Alamofire
+import Foundation
+import XCTest
+
+/**
+    This test case tests all implemented cache policies against various `Cache-Control` header values. These tests
+    are meant to cover the main cases of `Cache-Control` header usage, but are no means exhaustive.
+
+    These tests work as follows:
+
+    - Set up an `NSURLCache`
+    - Set up an `Alamofire.Manager`
+    - Execute requests for all `Cache-Control` headers values to prime the `NSURLCache` with cached responses
+    - Start up a new test
+    - Execute another round of the same requests with a given `NSURLRequestCachePolicy`
+    - Verify whether the response came from the cache or from the network
+        - This is determined by whether the cached response timestamp matches the new response timestamp
+
+    An important thing to note is the difference in behavior between iOS and OS X. On iOS, a response with
+    a `Cache-Control` header value of `no-store` is still written into the `NSURLCache` where on OS X, it is not.
+    The different tests below reflect and demonstrate this behavior.
+
+    For information about `Cache-Control` HTTP headers, please refer to RFC 2616 - Section 14.9.
+*/
+class CacheTestCase: BaseTestCase {
+
+    // MARK: -
+
+    struct CacheControl {
+        static let Public = "public"
+        static let Private = "private"
+        static let MaxAgeNonExpired = "max-age=3600"
+        static let MaxAgeExpired = "max-age=0"
+        static let NoCache = "no-cache"
+        static let NoStore = "no-store"
+
+        static var allValues: [String] {
+            return [
+                CacheControl.Public,
+                CacheControl.Private,
+                CacheControl.MaxAgeNonExpired,
+                CacheControl.MaxAgeExpired,
+                CacheControl.NoCache,
+                CacheControl.NoStore
+            ]
+        }
+    }
+
+    // MARK: - Properties
+
+    var URLCache: NSURLCache!
+    var manager: Manager!
+
+    let URLString = "https://httpbin.org/response-headers"
+    let requestTimeout: NSTimeInterval = 30
+
+    var requests: [String: NSURLRequest] = [:]
+    var timestamps: [String: String] = [:]
+
+    // MARK: - Setup and Teardown
+
+    override func setUp() {
+        super.setUp()
+
+        URLCache = {
+            let capacity = 50 * 1024 * 1024 // MBs
+            let URLCache = NSURLCache(memoryCapacity: capacity, diskCapacity: capacity, diskPath: nil)
+
+            return URLCache
+        }()
+
+        manager = {
+            let configuration: NSURLSessionConfiguration = {
+                let configuration = NSURLSessionConfiguration.defaultSessionConfiguration()
+                configuration.HTTPAdditionalHeaders = Alamofire.Manager.defaultHTTPHeaders
+                configuration.requestCachePolicy = .UseProtocolCachePolicy
+                configuration.URLCache = self.URLCache
+
+                return configuration
+            }()
+
+            let manager = Manager(configuration: configuration)
+
+            return manager
+        }()
+
+        primeCachedResponses()
+    }
+
+    override func tearDown() {
+        super.tearDown()
+
+        URLCache.removeAllCachedResponses()
+    }
+
+    // MARK: - Cache Priming Methods
+
+    /**
+        Executes a request for all `Cache-Control` header values to load the response into the `URLCache`.
+    
+        This implementation leverages dispatch groups to execute all the requests as well as wait an additional
+        second before returning. This ensures the cache contains responses for all requests that are at least
+        one second old. This allows the tests to distinguish whether the subsequent responses come from the cache
+        or the network based on the timestamp of the response.
+    */
+    func primeCachedResponses() {
+        let dispatchGroup = dispatch_group_create()
+        let highPriorityDispatchQueue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0)
+
+        for cacheControl in CacheControl.allValues {
+            dispatch_group_enter(dispatchGroup)
+
+            let request = startRequest(
+                cacheControl: cacheControl,
+                queue: highPriorityDispatchQueue,
+                completion: { _, response in
+                    let timestamp = response!.allHeaderFields["Date"] as! String
+                    self.timestamps[cacheControl] = timestamp
+
+                    dispatch_group_leave(dispatchGroup)
+                }
+            )
+
+            requests[cacheControl] = request
+        }
+
+        // Wait for all requests to complete
+        dispatch_group_wait(dispatchGroup, dispatch_time(DISPATCH_TIME_NOW, Int64(10.0 * Float(NSEC_PER_SEC))))
+
+        // Pause for 1 additional second to ensure all timestamps will be different
+        dispatch_group_enter(dispatchGroup)
+        dispatch_after(dispatch_time(DISPATCH_TIME_NOW, Int64(1.0 * Float(NSEC_PER_SEC))), highPriorityDispatchQueue) {
+            dispatch_group_leave(dispatchGroup)
+        }
+
+        // Wait for our 1 second pause to complete
+        dispatch_group_wait(dispatchGroup, dispatch_time(DISPATCH_TIME_NOW, Int64(10.0 * Float(NSEC_PER_SEC))))
+    }
+
+    // MARK: - Request Helper Methods
+
+    func URLRequest(cacheControl cacheControl: String, cachePolicy: NSURLRequestCachePolicy) -> NSURLRequest {
+        let parameters = ["Cache-Control": cacheControl]
+        let URL = NSURL(string: URLString)!
+        let URLRequest = NSMutableURLRequest(URL: URL, cachePolicy: cachePolicy, timeoutInterval: requestTimeout)
+        URLRequest.HTTPMethod = Method.GET.rawValue
+
+        return ParameterEncoding.URL.encode(URLRequest, parameters: parameters).0
+    }
+
+    func startRequest(
+        cacheControl cacheControl: String,
+        cachePolicy: NSURLRequestCachePolicy = .UseProtocolCachePolicy,
+        queue: dispatch_queue_t = dispatch_get_main_queue(),
+        completion: (NSURLRequest?, NSHTTPURLResponse?) -> Void)
+        -> NSURLRequest
+    {
+        let urlRequest = URLRequest(cacheControl: cacheControl, cachePolicy: cachePolicy)
+
+        let request = manager.request(urlRequest)
+        request.response(
+            queue: queue,
+            completionHandler: { _, response, data, _ in
+                completion(request.request, response)
+            }
+        )
+
+        return urlRequest
+    }
+
+    // MARK: - Test Execution and Verification
+
+    func executeTest(
+        cachePolicy cachePolicy: NSURLRequestCachePolicy,
+        cacheControl: String,
+        shouldReturnCachedResponse: Bool)
+    {
+        // Given
+        let expectation = expectationWithDescription("GET request to httpbin")
+        var response: NSHTTPURLResponse?
+
+        // When
+        startRequest(cacheControl: cacheControl, cachePolicy: cachePolicy) { _, responseResponse in
+            response = responseResponse
+            expectation.fulfill()
+        }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        verifyResponse(response, forCacheControl: cacheControl, isCachedResponse: shouldReturnCachedResponse)
+    }
+
+    func verifyResponse(response: NSHTTPURLResponse?, forCacheControl cacheControl: String, isCachedResponse: Bool) {
+        guard let cachedResponseTimestamp = timestamps[cacheControl] else {
+            XCTFail("cached response timestamp should not be nil")
+            return
+        }
+
+        if let
+            response = response,
+            timestamp = response.allHeaderFields["Date"] as? String
+        {
+            if isCachedResponse {
+                XCTAssertEqual(timestamp, cachedResponseTimestamp, "timestamps should be equal")
+            } else {
+                XCTAssertNotEqual(timestamp, cachedResponseTimestamp, "timestamps should not be equal")
+            }
+        } else {
+            XCTFail("response should not be nil")
+        }
+    }
+
+    // MARK: - Cache Helper Methods
+
+    private func isCachedResponseForNoStoreHeaderExpected() -> Bool {
+        var storedInCache = false
+
+        #if os(iOS)
+            let operatingSystemVersion = NSOperatingSystemVersion(majorVersion: 8, minorVersion: 3, patchVersion: 0)
+
+            if !NSProcessInfo().isOperatingSystemAtLeastVersion(operatingSystemVersion) {
+                storedInCache = true
+            }
+        #endif
+
+        return storedInCache
+    }
+
+    // MARK: - Tests
+
+    func testURLCacheContainsCachedResponsesForAllRequests() {
+        // Given
+        let publicRequest = requests[CacheControl.Public]!
+        let privateRequest = requests[CacheControl.Private]!
+        let maxAgeNonExpiredRequest = requests[CacheControl.MaxAgeNonExpired]!
+        let maxAgeExpiredRequest = requests[CacheControl.MaxAgeExpired]!
+        let noCacheRequest = requests[CacheControl.NoCache]!
+        let noStoreRequest = requests[CacheControl.NoStore]!
+
+        // When
+        let publicResponse = URLCache.cachedResponseForRequest(publicRequest)
+        let privateResponse = URLCache.cachedResponseForRequest(privateRequest)
+        let maxAgeNonExpiredResponse = URLCache.cachedResponseForRequest(maxAgeNonExpiredRequest)
+        let maxAgeExpiredResponse = URLCache.cachedResponseForRequest(maxAgeExpiredRequest)
+        let noCacheResponse = URLCache.cachedResponseForRequest(noCacheRequest)
+        let noStoreResponse = URLCache.cachedResponseForRequest(noStoreRequest)
+
+        // Then
+        XCTAssertNotNil(publicResponse, "\(CacheControl.Public) response should not be nil")
+        XCTAssertNotNil(privateResponse, "\(CacheControl.Private) response should not be nil")
+        XCTAssertNotNil(maxAgeNonExpiredResponse, "\(CacheControl.MaxAgeNonExpired) response should not be nil")
+        XCTAssertNotNil(maxAgeExpiredResponse, "\(CacheControl.MaxAgeExpired) response should not be nil")
+        XCTAssertNotNil(noCacheResponse, "\(CacheControl.NoCache) response should not be nil")
+
+        if isCachedResponseForNoStoreHeaderExpected() {
+            XCTAssertNotNil(noStoreResponse, "\(CacheControl.NoStore) response should not be nil")
+        } else {
+            XCTAssertNil(noStoreResponse, "\(CacheControl.NoStore) response should be nil")
+        }
+    }
+
+    func testDefaultCachePolicy() {
+        let cachePolicy: NSURLRequestCachePolicy = .UseProtocolCachePolicy
+
+        executeTest(cachePolicy: cachePolicy, cacheControl: CacheControl.Public, shouldReturnCachedResponse: false)
+        executeTest(cachePolicy: cachePolicy, cacheControl: CacheControl.Private, shouldReturnCachedResponse: false)
+        executeTest(cachePolicy: cachePolicy, cacheControl: CacheControl.MaxAgeNonExpired, shouldReturnCachedResponse: true)
+        executeTest(cachePolicy: cachePolicy, cacheControl: CacheControl.MaxAgeExpired, shouldReturnCachedResponse: false)
+        executeTest(cachePolicy: cachePolicy, cacheControl: CacheControl.NoCache, shouldReturnCachedResponse: false)
+        executeTest(cachePolicy: cachePolicy, cacheControl: CacheControl.NoStore, shouldReturnCachedResponse: false)
+    }
+
+    func testIgnoreLocalCacheDataPolicy() {
+        let cachePolicy: NSURLRequestCachePolicy = .ReloadIgnoringLocalCacheData
+
+        executeTest(cachePolicy: cachePolicy, cacheControl: CacheControl.Public, shouldReturnCachedResponse: false)
+        executeTest(cachePolicy: cachePolicy, cacheControl: CacheControl.Private, shouldReturnCachedResponse: false)
+        executeTest(cachePolicy: cachePolicy, cacheControl: CacheControl.MaxAgeNonExpired, shouldReturnCachedResponse: false)
+        executeTest(cachePolicy: cachePolicy, cacheControl: CacheControl.MaxAgeExpired, shouldReturnCachedResponse: false)
+        executeTest(cachePolicy: cachePolicy, cacheControl: CacheControl.NoCache, shouldReturnCachedResponse: false)
+        executeTest(cachePolicy: cachePolicy, cacheControl: CacheControl.NoStore, shouldReturnCachedResponse: false)
+    }
+
+    func testUseLocalCacheDataIfExistsOtherwiseLoadFromNetworkPolicy() {
+        let cachePolicy: NSURLRequestCachePolicy = .ReturnCacheDataElseLoad
+
+        executeTest(cachePolicy: cachePolicy, cacheControl: CacheControl.Public, shouldReturnCachedResponse: true)
+        executeTest(cachePolicy: cachePolicy, cacheControl: CacheControl.Private, shouldReturnCachedResponse: true)
+        executeTest(cachePolicy: cachePolicy, cacheControl: CacheControl.MaxAgeNonExpired, shouldReturnCachedResponse: true)
+        executeTest(cachePolicy: cachePolicy, cacheControl: CacheControl.MaxAgeExpired, shouldReturnCachedResponse: true)
+        executeTest(cachePolicy: cachePolicy, cacheControl: CacheControl.NoCache, shouldReturnCachedResponse: true)
+
+        if isCachedResponseForNoStoreHeaderExpected() {
+            executeTest(cachePolicy: cachePolicy, cacheControl: CacheControl.NoStore, shouldReturnCachedResponse: true)
+        } else {
+            executeTest(cachePolicy: cachePolicy, cacheControl: CacheControl.NoStore, shouldReturnCachedResponse: false)
+        }
+    }
+
+    func testUseLocalCacheDataAndDontLoadFromNetworkPolicy() {
+        let cachePolicy: NSURLRequestCachePolicy = .ReturnCacheDataDontLoad
+
+        executeTest(cachePolicy: cachePolicy, cacheControl: CacheControl.Public, shouldReturnCachedResponse: true)
+        executeTest(cachePolicy: cachePolicy, cacheControl: CacheControl.Private, shouldReturnCachedResponse: true)
+        executeTest(cachePolicy: cachePolicy, cacheControl: CacheControl.MaxAgeNonExpired, shouldReturnCachedResponse: true)
+        executeTest(cachePolicy: cachePolicy, cacheControl: CacheControl.MaxAgeExpired, shouldReturnCachedResponse: true)
+        executeTest(cachePolicy: cachePolicy, cacheControl: CacheControl.NoCache, shouldReturnCachedResponse: true)
+
+        if isCachedResponseForNoStoreHeaderExpected() {
+            executeTest(cachePolicy: cachePolicy, cacheControl: CacheControl.NoStore, shouldReturnCachedResponse: true)
+        } else {
+            // Given
+            let expectation = expectationWithDescription("GET request to httpbin")
+            var response: NSHTTPURLResponse?
+
+            // When
+            startRequest(cacheControl: CacheControl.NoStore, cachePolicy: cachePolicy) { _, responseResponse in
+                response = responseResponse
+                expectation.fulfill()
+            }
+
+            waitForExpectationsWithTimeout(timeout, handler: nil)
+
+            // Then
+            XCTAssertNil(response, "response should be nil")
+        }
+    }
+}
diff --git a/swift/Alamofire-3.3.0/Tests/DownloadTests.swift b/swift/Alamofire-3.3.0/Tests/DownloadTests.swift
new file mode 100755
index 0000000..2340c0e
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/DownloadTests.swift
@@ -0,0 +1,459 @@
+// DownloadTests.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import Alamofire
+import Foundation
+import XCTest
+
+class DownloadInitializationTestCase: BaseTestCase {
+    let searchPathDirectory: NSSearchPathDirectory = .CachesDirectory
+    let searchPathDomain: NSSearchPathDomainMask = .UserDomainMask
+
+    func testDownloadClassMethodWithMethodURLAndDestination() {
+        // Given
+        let URLString = "https://httpbin.org/"
+        let destination = Request.suggestedDownloadDestination(directory: searchPathDirectory, domain: searchPathDomain)
+
+        // When
+        let request = Alamofire.download(.GET, URLString, destination: destination)
+
+        // Then
+        XCTAssertNotNil(request.request, "request should not be nil")
+        XCTAssertEqual(request.request?.HTTPMethod ?? "", "GET", "request HTTP method should be GET")
+        XCTAssertEqual(request.request?.URLString ?? "", URLString, "request URL string should be equal")
+        XCTAssertNil(request.response, "response should be nil")
+    }
+
+    func testDownloadClassMethodWithMethodURLHeadersAndDestination() {
+        // Given
+        let URLString = "https://httpbin.org/"
+        let destination = Request.suggestedDownloadDestination(directory: searchPathDirectory, domain: searchPathDomain)
+
+        // When
+        let request = Alamofire.download(.GET, URLString, headers: ["Authorization": "123456"], destination: destination)
+
+        // Then
+        XCTAssertNotNil(request.request, "request should not be nil")
+        XCTAssertEqual(request.request?.HTTPMethod ?? "", "GET", "request HTTP method should be GET")
+        XCTAssertEqual(request.request?.URLString ?? "", URLString, "request URL string should be equal")
+
+        let authorizationHeader = request.request?.valueForHTTPHeaderField("Authorization") ?? ""
+        XCTAssertEqual(authorizationHeader, "123456", "Authorization header is incorrect")
+
+        XCTAssertNil(request.response, "response should be nil")
+    }
+}
+
+// MARK: -
+
+class DownloadResponseTestCase: BaseTestCase {
+    let searchPathDirectory: NSSearchPathDirectory = .CachesDirectory
+    let searchPathDomain: NSSearchPathDomainMask = .UserDomainMask
+
+    let cachesURL: NSURL = {
+        let cachesDirectory = NSSearchPathForDirectoriesInDomains(.CachesDirectory, .UserDomainMask, true).first!
+        let cachesURL = NSURL(fileURLWithPath: cachesDirectory, isDirectory: true)
+
+        return cachesURL
+    }()
+
+    var randomCachesFileURL: NSURL {
+        return cachesURL.URLByAppendingPathComponent("\(NSUUID().UUIDString).json")
+    }
+
+    func testDownloadRequest() {
+        // Given
+        let numberOfLines = 100
+        let URLString = "https://httpbin.org/stream/\(numberOfLines)"
+
+        let destination = Alamofire.Request.suggestedDownloadDestination(
+            directory: searchPathDirectory,
+            domain: searchPathDomain
+        )
+
+        let expectation = expectationWithDescription("Download request should download data to file: \(URLString)")
+
+        var request: NSURLRequest?
+        var response: NSHTTPURLResponse?
+        var error: NSError?
+
+        // When
+        Alamofire.download(.GET, URLString, destination: destination)
+            .response { responseRequest, responseResponse, _, responseError in
+                request = responseRequest
+                response = responseResponse
+                error = responseError
+
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(request, "request should not be nil")
+        XCTAssertNotNil(response, "response should not be nil")
+        XCTAssertNil(error, "error should be nil")
+
+        let fileManager = NSFileManager.defaultManager()
+        let directory = fileManager.URLsForDirectory(searchPathDirectory, inDomains: self.searchPathDomain)[0]
+
+        do {
+            let contents = try fileManager.contentsOfDirectoryAtURL(
+                directory,
+                includingPropertiesForKeys: nil,
+                options: .SkipsHiddenFiles
+            )
+
+            #if os(iOS) || os(tvOS)
+            let suggestedFilename = "\(numberOfLines)"
+            #elseif os(OSX)
+            let suggestedFilename = "\(numberOfLines).json"
+            #endif
+
+            let predicate = NSPredicate(format: "lastPathComponent = '\(suggestedFilename)'")
+            let filteredContents = (contents as NSArray).filteredArrayUsingPredicate(predicate)
+            XCTAssertEqual(filteredContents.count, 1, "should have one file in Documents")
+
+            if let file = filteredContents.first as? NSURL {
+                XCTAssertEqual(
+                    file.lastPathComponent ?? "",
+                    "\(suggestedFilename)",
+                    "filename should be \(suggestedFilename)"
+                )
+
+                if let data = NSData(contentsOfURL: file) {
+                    XCTAssertGreaterThan(data.length, 0, "data length should be non-zero")
+                } else {
+                    XCTFail("data should exist for contents of URL")
+                }
+
+                do {
+                    try fileManager.removeItemAtURL(file)
+                } catch {
+                    XCTFail("file manager should remove item at URL: \(file)")
+                }
+            } else {
+                XCTFail("file should not be nil")
+            }
+        } catch {
+            XCTFail("contents should not be nil")
+        }
+    }
+
+    func testDownloadRequestWithProgress() {
+        // Given
+        let randomBytes = 4 * 1024 * 1024
+        let URLString = "https://httpbin.org/bytes/\(randomBytes)"
+
+        let fileManager = NSFileManager.defaultManager()
+        let directory = fileManager.URLsForDirectory(searchPathDirectory, inDomains: self.searchPathDomain)[0]
+        let filename = "test_download_data"
+        let fileURL = directory.URLByAppendingPathComponent(filename)
+
+        let expectation = expectationWithDescription("Bytes download progress should be reported: \(URLString)")
+
+        var byteValues: [(bytes: Int64, totalBytes: Int64, totalBytesExpected: Int64)] = []
+        var progressValues: [(completedUnitCount: Int64, totalUnitCount: Int64)] = []
+        var responseRequest: NSURLRequest?
+        var responseResponse: NSHTTPURLResponse?
+        var responseData: NSData?
+        var responseError: ErrorType?
+
+        // When
+        let download = Alamofire.download(.GET, URLString) { _, _ in
+            return fileURL
+        }
+        download.progress { bytesRead, totalBytesRead, totalBytesExpectedToRead in
+            let bytes = (bytes: bytesRead, totalBytes: totalBytesRead, totalBytesExpected: totalBytesExpectedToRead)
+            byteValues.append(bytes)
+
+            let progress = (
+                completedUnitCount: download.progress.completedUnitCount,
+                totalUnitCount: download.progress.totalUnitCount
+            )
+            progressValues.append(progress)
+        }
+        download.response { request, response, data, error in
+            responseRequest = request
+            responseResponse = response
+            responseData = data
+            responseError = error
+
+            expectation.fulfill()
+        }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(responseRequest, "response request should not be nil")
+        XCTAssertNotNil(responseResponse, "response should not be nil")
+        XCTAssertNil(responseData, "response data should be nil")
+        XCTAssertNil(responseError, "response error should be nil")
+
+        XCTAssertEqual(byteValues.count, progressValues.count, "byteValues count should equal progressValues count")
+
+        if byteValues.count == progressValues.count {
+            for index in 0..<byteValues.count {
+                let byteValue = byteValues[index]
+                let progressValue = progressValues[index]
+
+                XCTAssertGreaterThan(byteValue.bytes, 0, "reported bytes should always be greater than 0")
+                XCTAssertEqual(
+                    byteValue.totalBytes,
+                    progressValue.completedUnitCount,
+                    "total bytes should be equal to completed unit count"
+                )
+                XCTAssertEqual(
+                    byteValue.totalBytesExpected,
+                    progressValue.totalUnitCount,
+                    "total bytes expected should be equal to total unit count"
+                )
+            }
+        }
+
+        if let
+            lastByteValue = byteValues.last,
+            lastProgressValue = progressValues.last
+        {
+            let byteValueFractionalCompletion = Double(lastByteValue.totalBytes) / Double(lastByteValue.totalBytesExpected)
+            let progressValueFractionalCompletion = Double(lastProgressValue.0) / Double(lastProgressValue.1)
+
+            XCTAssertEqual(byteValueFractionalCompletion, 1.0, "byte value fractional completion should equal 1.0")
+            XCTAssertEqual(
+                progressValueFractionalCompletion,
+                1.0,
+                "progress value fractional completion should equal 1.0"
+            )
+        } else {
+            XCTFail("last item in bytesValues and progressValues should not be nil")
+        }
+
+        do {
+            try fileManager.removeItemAtURL(fileURL)
+        } catch {
+            XCTFail("file manager should remove item at URL: \(fileURL)")
+        }
+    }
+
+    func testDownloadRequestWithParameters() {
+        // Given
+        let fileURL = randomCachesFileURL
+        let URLString = "https://httpbin.org/get"
+        let parameters = ["foo": "bar"]
+        let destination: Request.DownloadFileDestination = { _, _ in fileURL }
+
+        let expectation = expectationWithDescription("Download request should download data to file: \(fileURL)")
+
+        var request: NSURLRequest?
+        var response: NSHTTPURLResponse?
+        var error: NSError?
+
+        // When
+        Alamofire.download(.GET, URLString, parameters: parameters, destination: destination)
+            .response { responseRequest, responseResponse, _, responseError in
+                request = responseRequest
+                response = responseResponse
+                error = responseError
+
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(request, "request should not be nil")
+        XCTAssertNotNil(response, "response should not be nil")
+        XCTAssertNil(error, "error should be nil")
+
+        if let
+            data = NSData(contentsOfURL: fileURL),
+            JSONObject = try? NSJSONSerialization.JSONObjectWithData(data, options: NSJSONReadingOptions(rawValue: 0)),
+            JSON = JSONObject as? [String: AnyObject],
+            args = JSON["args"] as? [String: String]
+        {
+            XCTAssertEqual(args["foo"], "bar", "foo parameter should equal bar")
+        } else {
+            XCTFail("args parameter in JSON should not be nil")
+        }
+    }
+
+    func testDownloadRequestWithHeaders() {
+        // Given
+        let fileURL = randomCachesFileURL
+        let URLString = "https://httpbin.org/get"
+        let headers = ["Authorization": "123456"]
+        let destination: Request.DownloadFileDestination = { _, _ in fileURL }
+
+        let expectation = expectationWithDescription("Download request should download data to file: \(fileURL)")
+
+        var request: NSURLRequest?
+        var response: NSHTTPURLResponse?
+        var error: NSError?
+
+        // When
+        Alamofire.download(.GET, URLString, headers: headers, destination: destination)
+            .response { responseRequest, responseResponse, _, responseError in
+                request = responseRequest
+                response = responseResponse
+                error = responseError
+
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(request, "request should not be nil")
+        XCTAssertNotNil(response, "response should not be nil")
+        XCTAssertNil(error, "error should be nil")
+
+        if let
+            data = NSData(contentsOfURL: fileURL),
+            JSONObject = try? NSJSONSerialization.JSONObjectWithData(data, options: NSJSONReadingOptions(rawValue: 0)),
+            JSON = JSONObject as? [String: AnyObject],
+            headers = JSON["headers"] as? [String: String]
+        {
+            XCTAssertEqual(headers["Authorization"], "123456", "Authorization parameter should equal 123456")
+        } else {
+            XCTFail("headers parameter in JSON should not be nil")
+        }
+    }
+}
+
+// MARK: -
+
+class DownloadResumeDataTestCase: BaseTestCase {
+    let URLString = "https://upload.wikimedia.org/wikipedia/commons/6/69/NASA-HS201427a-HubbleUltraDeepField2014-20140603.jpg"
+    let destination: Request.DownloadFileDestination = {
+        let searchPathDirectory: NSSearchPathDirectory = .CachesDirectory
+        let searchPathDomain: NSSearchPathDomainMask = .UserDomainMask
+
+        return Request.suggestedDownloadDestination(directory: searchPathDirectory, domain: searchPathDomain)
+    }()
+
+    func testThatImmediatelyCancelledDownloadDoesNotHaveResumeDataAvailable() {
+        // Given
+        let expectation = expectationWithDescription("Download should be cancelled")
+
+        var request: NSURLRequest?
+        var response: NSHTTPURLResponse?
+        var data: AnyObject?
+        var error: NSError?
+
+        // When
+        let download = Alamofire.download(.GET, URLString, destination: destination)
+            .response { responseRequest, responseResponse, responseData, responseError in
+                request = responseRequest
+                response = responseResponse
+                data = responseData
+                error = responseError
+
+                expectation.fulfill()
+            }
+
+        download.cancel()
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(request, "request should not be nil")
+        XCTAssertNil(response, "response should be nil")
+        XCTAssertNil(data, "data should be nil")
+        XCTAssertNotNil(error, "error should not be nil")
+
+        XCTAssertNil(download.resumeData, "resume data should be nil")
+    }
+
+    func testThatCancelledDownloadResponseDataMatchesResumeData() {
+        // Given
+        let expectation = expectationWithDescription("Download should be cancelled")
+
+        var request: NSURLRequest?
+        var response: NSHTTPURLResponse?
+        var data: AnyObject?
+        var error: NSError?
+
+        // When
+        let download = Alamofire.download(.GET, URLString, destination: destination)
+        download.progress { _, _, _ in
+            download.cancel()
+        }
+        download.response { responseRequest, responseResponse, responseData, responseError in
+            request = responseRequest
+            response = responseResponse
+            data = responseData
+            error = responseError
+
+            expectation.fulfill()
+        }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(request, "request should not be nil")
+        XCTAssertNotNil(response, "response should not be nil")
+        XCTAssertNotNil(data, "data should not be nil")
+        XCTAssertNotNil(error, "error should not be nil")
+
+        XCTAssertNotNil(download.resumeData, "resume data should not be nil")
+
+        if let
+            responseData = data as? NSData,
+            resumeData = download.resumeData
+        {
+            XCTAssertEqual(responseData, resumeData, "response data should equal resume data")
+        } else {
+            XCTFail("response data or resume data was unexpectedly nil")
+        }
+    }
+
+    func testThatCancelledDownloadResumeDataIsAvailableWithJSONResponseSerializer() {
+        // Given
+        let expectation = expectationWithDescription("Download should be cancelled")
+        var response: Response<AnyObject, NSError>?
+
+        // When
+        let download = Alamofire.download(.GET, URLString, destination: destination)
+        download.progress { _, _, _ in
+            download.cancel()
+        }
+        download.responseJSON { closureResponse in
+            response = closureResponse
+            expectation.fulfill()
+        }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        if let response = response {
+            XCTAssertNotNil(response.request, "request should not be nil")
+            XCTAssertNotNil(response.response, "response should not be nil")
+            XCTAssertNotNil(response.data, "data should not be nil")
+            XCTAssertTrue(response.result.isFailure, "result should be failure")
+            XCTAssertNotNil(response.result.error, "result error should not be nil")
+        } else {
+            XCTFail("response should not be nil")
+        }
+
+        XCTAssertNotNil(download.resumeData, "resume data should not be nil")
+    }
+}
diff --git a/swift/Alamofire-3.3.0/Tests/Info.plist b/swift/Alamofire-3.3.0/Tests/Info.plist
new file mode 100755
index 0000000..ba72822
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/Info.plist
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>CFBundleDevelopmentRegion</key>
+	<string>en</string>
+	<key>CFBundleExecutable</key>
+	<string>$(EXECUTABLE_NAME)</string>
+	<key>CFBundleIdentifier</key>
+	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
+	<key>CFBundleInfoDictionaryVersion</key>
+	<string>6.0</string>
+	<key>CFBundleName</key>
+	<string>$(PRODUCT_NAME)</string>
+	<key>CFBundlePackageType</key>
+	<string>BNDL</string>
+	<key>CFBundleShortVersionString</key>
+	<string>1.0</string>
+	<key>CFBundleSignature</key>
+	<string>????</string>
+	<key>CFBundleVersion</key>
+	<string>1</string>
+</dict>
+</plist>
diff --git a/swift/Alamofire-3.3.0/Tests/ManagerTests.swift b/swift/Alamofire-3.3.0/Tests/ManagerTests.swift
new file mode 100755
index 0000000..dbd165b
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/ManagerTests.swift
@@ -0,0 +1,280 @@
+// ManagerTests.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+@testable import Alamofire
+import Foundation
+import XCTest
+
+class ManagerTestCase: BaseTestCase {
+
+    // MARK: Initialization Tests
+
+    func testInitializerWithDefaultArguments() {
+        // Given, When
+        let manager = Manager()
+
+        // Then
+        XCTAssertNotNil(manager.session.delegate, "session delegate should not be nil")
+        XCTAssertTrue(manager.delegate === manager.session.delegate, "manager delegate should equal session delegate")
+        XCTAssertNil(manager.session.serverTrustPolicyManager, "session server trust policy manager should be nil")
+    }
+
+    func testInitializerWithSpecifiedArguments() {
+        // Given
+        let configuration = NSURLSessionConfiguration.defaultSessionConfiguration()
+        let delegate = Manager.SessionDelegate()
+        let serverTrustPolicyManager = ServerTrustPolicyManager(policies: [:])
+
+        // When
+        let manager = Manager(
+            configuration: configuration,
+            delegate: delegate,
+            serverTrustPolicyManager: serverTrustPolicyManager
+        )
+
+        // Then
+        XCTAssertNotNil(manager.session.delegate, "session delegate should not be nil")
+        XCTAssertTrue(manager.delegate === manager.session.delegate, "manager delegate should equal session delegate")
+        XCTAssertNotNil(manager.session.serverTrustPolicyManager, "session server trust policy manager should not be nil")
+    }
+
+    func testThatFailableInitializerSucceedsWithDefaultArguments() {
+        // Given
+        let delegate = Manager.SessionDelegate()
+        let session: NSURLSession = {
+            let configuration = NSURLSessionConfiguration.defaultSessionConfiguration()
+            return NSURLSession(configuration: configuration, delegate: delegate, delegateQueue: nil)
+        }()
+
+        // When
+        let manager = Manager(session: session, delegate: delegate)
+
+        // Then
+        if let manager = manager {
+            XCTAssertTrue(manager.delegate === manager.session.delegate, "manager delegate should equal session delegate")
+            XCTAssertNil(manager.session.serverTrustPolicyManager, "session server trust policy manager should be nil")
+        } else {
+            XCTFail("manager should not be nil")
+        }
+    }
+
+    func testThatFailableInitializerSucceedsWithSpecifiedArguments() {
+        // Given
+        let delegate = Manager.SessionDelegate()
+        let session: NSURLSession = {
+            let configuration = NSURLSessionConfiguration.defaultSessionConfiguration()
+            return NSURLSession(configuration: configuration, delegate: delegate, delegateQueue: nil)
+        }()
+
+        let serverTrustPolicyManager = ServerTrustPolicyManager(policies: [:])
+
+        // When
+        let manager = Manager(session: session, delegate: delegate, serverTrustPolicyManager: serverTrustPolicyManager)
+
+        // Then
+        if let manager = manager {
+            XCTAssertTrue(manager.delegate === manager.session.delegate, "manager delegate should equal session delegate")
+            XCTAssertNotNil(manager.session.serverTrustPolicyManager, "session server trust policy manager should not be nil")
+        } else {
+            XCTFail("manager should not be nil")
+        }
+    }
+
+    func testThatFailableInitializerFailsWithWhenDelegateDoesNotEqualSessionDelegate() {
+        // Given
+        let delegate = Manager.SessionDelegate()
+        let session: NSURLSession = {
+            let configuration = NSURLSessionConfiguration.defaultSessionConfiguration()
+            return NSURLSession(configuration: configuration, delegate: Manager.SessionDelegate(), delegateQueue: nil)
+        }()
+
+        // When
+        let manager = Manager(session: session, delegate: delegate)
+
+        // Then
+        XCTAssertNil(manager, "manager should be nil")
+    }
+
+    func testThatFailableInitializerFailsWhenSessionDelegateIsNil() {
+        // Given
+        let delegate = Manager.SessionDelegate()
+        let session: NSURLSession = {
+            let configuration = NSURLSessionConfiguration.defaultSessionConfiguration()
+            return NSURLSession(configuration: configuration, delegate: nil, delegateQueue: nil)
+        }()
+
+        // When
+        let manager = Manager(session: session, delegate: delegate)
+
+        // Then
+        XCTAssertNil(manager, "manager should be nil")
+    }
+
+    // MARK: Start Requests Immediately Tests
+
+    func testSetStartRequestsImmediatelyToFalseAndResumeRequest() {
+        // Given
+        let manager = Alamofire.Manager()
+        manager.startRequestsImmediately = false
+
+        let URL = NSURL(string: "https://httpbin.org/get")!
+        let URLRequest = NSURLRequest(URL: URL)
+
+        let expectation = expectationWithDescription("\(URL)")
+
+        var response: NSHTTPURLResponse?
+
+        // When
+        manager.request(URLRequest)
+            .response { _, responseResponse, _, _ in
+                response = responseResponse
+                expectation.fulfill()
+            }
+            .resume()
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(response, "response should not be nil")
+        XCTAssertTrue(response?.statusCode == 200, "response status code should be 200")
+    }
+
+    // MARK: Deinitialization Tests
+
+    func testReleasingManagerWithPendingRequestDeinitializesSuccessfully() {
+        // Given
+        var manager: Manager? = Alamofire.Manager()
+        manager?.startRequestsImmediately = false
+
+        let URL = NSURL(string: "https://httpbin.org/get")!
+        let URLRequest = NSURLRequest(URL: URL)
+
+        // When
+        let request = manager?.request(URLRequest)
+        manager = nil
+
+        // Then
+        XCTAssertTrue(request?.task.state == .Suspended, "request task state should be '.Suspended'")
+        XCTAssertNil(manager, "manager should be nil")
+    }
+
+    func testReleasingManagerWithPendingCanceledRequestDeinitializesSuccessfully() {
+        // Given
+        var manager: Manager? = Alamofire.Manager()
+        manager!.startRequestsImmediately = false
+
+        let URL = NSURL(string: "https://httpbin.org/get")!
+        let URLRequest = NSURLRequest(URL: URL)
+
+        // When
+        let request = manager!.request(URLRequest)
+        request.cancel()
+        manager = nil
+
+        // Then
+        let state = request.task.state
+        XCTAssertTrue(state == .Canceling || state == .Completed, "state should be .Canceling or .Completed")
+        XCTAssertNil(manager, "manager should be nil")
+    }
+}
+
+// MARK: -
+
+class ManagerConfigurationHeadersTestCase: BaseTestCase {
+    enum ConfigurationType {
+        case Default, Ephemeral, Background
+    }
+
+    func testThatDefaultConfigurationHeadersAreSentWithRequest() {
+        // Given, When, Then
+        executeAuthorizationHeaderTestForConfigurationType(.Default)
+    }
+
+    func testThatEphemeralConfigurationHeadersAreSentWithRequest() {
+        // Given, When, Then
+        executeAuthorizationHeaderTestForConfigurationType(.Ephemeral)
+    }
+
+    func testThatBackgroundConfigurationHeadersAreSentWithRequest() {
+        // Given, When, Then
+        executeAuthorizationHeaderTestForConfigurationType(.Background)
+    }
+
+    private func executeAuthorizationHeaderTestForConfigurationType(type: ConfigurationType) {
+        // Given
+        let manager: Manager = {
+            let configuration: NSURLSessionConfiguration = {
+                let configuration: NSURLSessionConfiguration
+
+                switch type {
+                case .Default:
+                    configuration = NSURLSessionConfiguration.defaultSessionConfiguration()
+                case .Ephemeral:
+                    configuration = NSURLSessionConfiguration.ephemeralSessionConfiguration()
+                case .Background:
+                    let identifier = "com.alamofire.test.manager-configuration-tests"
+                    configuration = NSURLSessionConfiguration.backgroundSessionConfigurationForAllPlatformsWithIdentifier(identifier)
+                }
+
+                var headers = Alamofire.Manager.defaultHTTPHeaders
+                headers["Authorization"] = "Bearer 123456"
+                configuration.HTTPAdditionalHeaders = headers
+
+                return configuration
+            }()
+
+            return Manager(configuration: configuration)
+        }()
+
+        let expectation = expectationWithDescription("request should complete successfully")
+
+        var response: Response<AnyObject, NSError>?
+
+        // When
+        manager.request(.GET, "https://httpbin.org/headers")
+            .responseJSON { closureResponse in
+                response = closureResponse
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        if let response = response {
+            XCTAssertNotNil(response.request, "request should not be nil")
+            XCTAssertNotNil(response.response, "response should not be nil")
+            XCTAssertNotNil(response.data, "data should not be nil")
+            XCTAssertTrue(response.result.isSuccess, "result should be a success")
+
+            if let
+                headers = response.result.value?["headers" as NSString] as? [String: String],
+                authorization = headers["Authorization"]
+            {
+                XCTAssertEqual(authorization, "Bearer 123456", "authorization header value does not match")
+            } else {
+                XCTFail("failed to extract authorization header value")
+            }
+        } else {
+            XCTFail("response should not be nil")
+        }
+    }
+}
diff --git a/swift/Alamofire-3.3.0/Tests/MultipartFormDataTests.swift b/swift/Alamofire-3.3.0/Tests/MultipartFormDataTests.swift
new file mode 100755
index 0000000..7418ece
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/MultipartFormDataTests.swift
@@ -0,0 +1,993 @@
+// MultipartFormDataTests.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import Alamofire
+import Foundation
+import XCTest
+
+struct EncodingCharacters {
+    static let CRLF = "\r\n"
+}
+
+struct BoundaryGenerator {
+    enum BoundaryType {
+        case Initial, Encapsulated, Final
+    }
+
+    static func boundary(boundaryType boundaryType: BoundaryType, boundaryKey: String) -> String {
+        let boundary: String
+
+        switch boundaryType {
+        case .Initial:
+            boundary = "--\(boundaryKey)\(EncodingCharacters.CRLF)"
+        case .Encapsulated:
+            boundary = "\(EncodingCharacters.CRLF)--\(boundaryKey)\(EncodingCharacters.CRLF)"
+        case .Final:
+            boundary = "\(EncodingCharacters.CRLF)--\(boundaryKey)--\(EncodingCharacters.CRLF)"
+        }
+
+        return boundary
+    }
+
+    static func boundaryData(boundaryType boundaryType: BoundaryType, boundaryKey: String) -> NSData {
+        return BoundaryGenerator.boundary(
+            boundaryType: boundaryType,
+            boundaryKey: boundaryKey
+        ).dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+    }
+}
+
+private func temporaryFileURL() -> NSURL {
+    let tempDirectoryURL = NSURL(fileURLWithPath: NSTemporaryDirectory())
+    let directoryURL = tempDirectoryURL.URLByAppendingPathComponent("com.alamofire.test/multipart.form.data")
+
+    let fileManager = NSFileManager.defaultManager()
+    do {
+        try fileManager.createDirectoryAtURL(directoryURL, withIntermediateDirectories: true, attributes: nil)
+    } catch {
+        // No-op - will cause tests to fail, not crash
+    }
+
+    let fileName = NSUUID().UUIDString
+    let fileURL = directoryURL.URLByAppendingPathComponent(fileName)
+
+    return fileURL
+}
+
+// MARK: -
+
+class MultipartFormDataPropertiesTestCase: BaseTestCase {
+    func testThatContentTypeContainsBoundary() {
+        // Given
+        let multipartFormData = MultipartFormData()
+
+        // When
+        let boundary = multipartFormData.boundary
+
+        // Then
+        let expectedContentType = "multipart/form-data; boundary=\(boundary)"
+        XCTAssertEqual(multipartFormData.contentType, expectedContentType, "contentType should match expected value")
+    }
+
+    func testThatContentLengthMatchesTotalBodyPartSize() {
+        // Given
+        let multipartFormData = MultipartFormData()
+        let data1 = "Lorem ipsum dolor sit amet.".dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+        let data2 = "Vim at integre alterum.".dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+
+        // When
+        multipartFormData.appendBodyPart(data: data1, name: "data1")
+        multipartFormData.appendBodyPart(data: data2, name: "data2")
+
+        // Then
+        let expectedContentLength = UInt64(data1.length + data2.length)
+        XCTAssertEqual(multipartFormData.contentLength, expectedContentLength, "content length should match expected value")
+    }
+}
+
+// MARK: -
+
+class MultipartFormDataEncodingTestCase: BaseTestCase {
+    let CRLF = EncodingCharacters.CRLF
+
+    func testEncodingDataBodyPart() {
+        // Given
+        let multipartFormData = MultipartFormData()
+
+        let data = "Lorem ipsum dolor sit amet.".dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+        multipartFormData.appendBodyPart(data: data, name: "data")
+
+        var encodedData: NSData?
+
+        // When
+        do {
+            encodedData = try multipartFormData.encode()
+        } catch {
+            // No-op
+        }
+
+        // Then
+        XCTAssertNotNil(encodedData, "encoded data should not be nil")
+
+        if let encodedData = encodedData {
+            let boundary = multipartFormData.boundary
+
+            let expectedData = (
+                BoundaryGenerator.boundary(boundaryType: .Initial, boundaryKey: boundary) +
+                "Content-Disposition: form-data; name=\"data\"\(CRLF)\(CRLF)" +
+                "Lorem ipsum dolor sit amet." +
+                BoundaryGenerator.boundary(boundaryType: .Final, boundaryKey: boundary)
+            ).dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+
+            XCTAssertEqual(encodedData, expectedData, "encoded data should match expected data")
+        }
+    }
+
+    func testEncodingMultipleDataBodyParts() {
+        // Given
+        let multipartFormData = MultipartFormData()
+
+        let french = "français".dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+        let japanese = "日本語".dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+        let emoji = "😃👍🏻🍻🎉".dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+
+        multipartFormData.appendBodyPart(data: french, name: "french")
+        multipartFormData.appendBodyPart(data: japanese, name: "japanese", mimeType: "text/plain")
+        multipartFormData.appendBodyPart(data: emoji, name: "emoji", mimeType: "text/plain")
+        
+        var encodedData: NSData?
+
+        // When
+        do {
+            encodedData = try multipartFormData.encode()
+        } catch {
+            // No-op
+        }
+
+        // Then
+        XCTAssertNotNil(encodedData, "encoded data should not be nil")
+
+        if let encodedData = encodedData {
+            let boundary = multipartFormData.boundary
+
+            let expectedData = (
+                BoundaryGenerator.boundary(boundaryType: .Initial, boundaryKey: boundary) +
+                "Content-Disposition: form-data; name=\"french\"\(CRLF)\(CRLF)" +
+                "français" +
+                BoundaryGenerator.boundary(boundaryType: .Encapsulated, boundaryKey: boundary) +
+                "Content-Disposition: form-data; name=\"japanese\"\(CRLF)" +
+                "Content-Type: text/plain\(CRLF)\(CRLF)" +
+                "日本語" +
+                BoundaryGenerator.boundary(boundaryType: .Encapsulated, boundaryKey: boundary) +
+                "Content-Disposition: form-data; name=\"emoji\"\(CRLF)" +
+                "Content-Type: text/plain\(CRLF)\(CRLF)" +
+                "😃👍🏻🍻🎉" +
+                BoundaryGenerator.boundary(boundaryType: .Final, boundaryKey: boundary)
+            ).dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+
+            XCTAssertEqual(encodedData, expectedData, "encoded data should match expected data")
+        }
+    }
+
+    func testEncodingFileBodyPart() {
+        // Given
+        let multipartFormData = MultipartFormData()
+
+        let unicornImageURL = URLForResource("unicorn", withExtension: "png")
+        multipartFormData.appendBodyPart(fileURL: unicornImageURL, name: "unicorn")
+
+        var encodedData: NSData?
+
+        // When
+        do {
+            encodedData = try multipartFormData.encode()
+        } catch {
+            // No-op
+        }
+
+        // Then
+        XCTAssertNotNil(encodedData, "encoded data should not be nil")
+
+        if let encodedData = encodedData {
+            let boundary = multipartFormData.boundary
+
+            let expectedData = NSMutableData()
+            expectedData.appendData(BoundaryGenerator.boundaryData(boundaryType: .Initial, boundaryKey: boundary))
+            expectedData.appendData((
+                "Content-Disposition: form-data; name=\"unicorn\"; filename=\"unicorn.png\"\(CRLF)" +
+                "Content-Type: image/png\(CRLF)\(CRLF)"
+                ).dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+            )
+            expectedData.appendData(NSData(contentsOfURL: unicornImageURL)!)
+            expectedData.appendData(BoundaryGenerator.boundaryData(boundaryType: .Final, boundaryKey: boundary))
+
+            XCTAssertEqual(encodedData, expectedData, "data should match expected data")
+        }
+    }
+
+    func testEncodingMultipleFileBodyParts() {
+        // Given
+        let multipartFormData = MultipartFormData()
+
+        let unicornImageURL = URLForResource("unicorn", withExtension: "png")
+        let rainbowImageURL = URLForResource("rainbow", withExtension: "jpg")
+
+        multipartFormData.appendBodyPart(fileURL: unicornImageURL, name: "unicorn")
+        multipartFormData.appendBodyPart(fileURL: rainbowImageURL, name: "rainbow")
+
+        var encodedData: NSData?
+
+        // When
+        do {
+            encodedData = try multipartFormData.encode()
+        } catch {
+            // No-op
+        }
+
+        // Then
+        XCTAssertNotNil(encodedData, "encoded data should not be nil")
+
+        if let encodedData = encodedData {
+            let boundary = multipartFormData.boundary
+
+            let expectedData = NSMutableData()
+            expectedData.appendData(BoundaryGenerator.boundaryData(boundaryType: .Initial, boundaryKey: boundary))
+            expectedData.appendData((
+                "Content-Disposition: form-data; name=\"unicorn\"; filename=\"unicorn.png\"\(CRLF)" +
+                "Content-Type: image/png\(CRLF)\(CRLF)"
+                ).dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+            )
+            expectedData.appendData(NSData(contentsOfURL: unicornImageURL)!)
+            expectedData.appendData(BoundaryGenerator.boundaryData(boundaryType: .Encapsulated, boundaryKey: boundary))
+            expectedData.appendData((
+                "Content-Disposition: form-data; name=\"rainbow\"; filename=\"rainbow.jpg\"\(CRLF)" +
+                "Content-Type: image/jpeg\(CRLF)\(CRLF)"
+                ).dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+            )
+            expectedData.appendData(NSData(contentsOfURL: rainbowImageURL)!)
+            expectedData.appendData(BoundaryGenerator.boundaryData(boundaryType: .Final, boundaryKey: boundary))
+
+            XCTAssertEqual(encodedData, expectedData, "data should match expected data")
+        }
+    }
+
+    func testEncodingStreamBodyPart() {
+        // Given
+        let multipartFormData = MultipartFormData()
+
+        let unicornImageURL = URLForResource("unicorn", withExtension: "png")
+        let unicornDataLength = UInt64(NSData(contentsOfURL: unicornImageURL)!.length)
+        let unicornStream = NSInputStream(URL: unicornImageURL)!
+
+        multipartFormData.appendBodyPart(
+            stream: unicornStream,
+            length: unicornDataLength,
+            name: "unicorn",
+            fileName: "unicorn.png",
+            mimeType: "image/png"
+        )
+
+        var encodedData: NSData?
+
+        // When
+        do {
+            encodedData = try multipartFormData.encode()
+        } catch {
+            // No-op
+        }
+
+        // Then
+        XCTAssertNotNil(encodedData, "encoded data should not be nil")
+
+        if let encodedData = encodedData {
+            let boundary = multipartFormData.boundary
+
+            let expectedData = NSMutableData()
+            expectedData.appendData(BoundaryGenerator.boundaryData(boundaryType: .Initial, boundaryKey: boundary))
+            expectedData.appendData((
+                "Content-Disposition: form-data; name=\"unicorn\"; filename=\"unicorn.png\"\(CRLF)" +
+                "Content-Type: image/png\(CRLF)\(CRLF)"
+                ).dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+            )
+            expectedData.appendData(NSData(contentsOfURL: unicornImageURL)!)
+            expectedData.appendData(BoundaryGenerator.boundaryData(boundaryType: .Final, boundaryKey: boundary))
+
+            XCTAssertEqual(encodedData, expectedData, "data should match expected data")
+        }
+    }
+
+    func testEncodingMultipleStreamBodyParts() {
+        // Given
+        let multipartFormData = MultipartFormData()
+
+        let unicornImageURL = URLForResource("unicorn", withExtension: "png")
+        let unicornDataLength = UInt64(NSData(contentsOfURL: unicornImageURL)!.length)
+        let unicornStream = NSInputStream(URL: unicornImageURL)!
+
+        let rainbowImageURL = URLForResource("rainbow", withExtension: "jpg")
+        let rainbowDataLength = UInt64(NSData(contentsOfURL: rainbowImageURL)!.length)
+        let rainbowStream = NSInputStream(URL: rainbowImageURL)!
+
+        multipartFormData.appendBodyPart(
+            stream: unicornStream,
+            length: unicornDataLength,
+            name: "unicorn",
+            fileName: "unicorn.png",
+            mimeType: "image/png"
+        )
+        multipartFormData.appendBodyPart(
+            stream: rainbowStream,
+            length: rainbowDataLength,
+            name: "rainbow",
+            fileName: "rainbow.jpg",
+            mimeType: "image/jpeg"
+        )
+
+        var encodedData: NSData?
+
+        // When
+        do {
+            encodedData = try multipartFormData.encode()
+        } catch {
+            // No-op
+        }
+
+        // Then
+        XCTAssertNotNil(encodedData, "encoded data should not be nil")
+
+        if let encodedData = encodedData {
+            let boundary = multipartFormData.boundary
+
+            let expectedData = NSMutableData()
+            expectedData.appendData(BoundaryGenerator.boundaryData(boundaryType: .Initial, boundaryKey: boundary))
+            expectedData.appendData((
+                "Content-Disposition: form-data; name=\"unicorn\"; filename=\"unicorn.png\"\(CRLF)" +
+                "Content-Type: image/png\(CRLF)\(CRLF)"
+                ).dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+            )
+            expectedData.appendData(NSData(contentsOfURL: unicornImageURL)!)
+            expectedData.appendData(BoundaryGenerator.boundaryData(boundaryType: .Encapsulated, boundaryKey: boundary))
+            expectedData.appendData((
+                "Content-Disposition: form-data; name=\"rainbow\"; filename=\"rainbow.jpg\"\(CRLF)" +
+                "Content-Type: image/jpeg\(CRLF)\(CRLF)"
+                ).dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+            )
+            expectedData.appendData(NSData(contentsOfURL: rainbowImageURL)!)
+            expectedData.appendData(BoundaryGenerator.boundaryData(boundaryType: .Final, boundaryKey: boundary))
+
+            XCTAssertEqual(encodedData, expectedData, "data should match expected data")
+        }
+    }
+
+    func testEncodingMultipleBodyPartsWithVaryingTypes() {
+        // Given
+        let multipartFormData = MultipartFormData()
+
+        let loremData = "Lorem ipsum.".dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+
+        let unicornImageURL = URLForResource("unicorn", withExtension: "png")
+
+        let rainbowImageURL = URLForResource("rainbow", withExtension: "jpg")
+        let rainbowDataLength = UInt64(NSData(contentsOfURL: rainbowImageURL)!.length)
+        let rainbowStream = NSInputStream(URL: rainbowImageURL)!
+
+        multipartFormData.appendBodyPart(data: loremData, name: "lorem")
+        multipartFormData.appendBodyPart(fileURL: unicornImageURL, name: "unicorn")
+        multipartFormData.appendBodyPart(
+            stream: rainbowStream,
+            length: rainbowDataLength,
+            name: "rainbow",
+            fileName: "rainbow.jpg",
+            mimeType: "image/jpeg"
+        )
+
+        var encodedData: NSData?
+
+        // When
+        do {
+            encodedData = try multipartFormData.encode()
+        } catch {
+            // No-op
+        }
+
+        // Then
+        XCTAssertNotNil(encodedData, "encoded data should not be nil")
+
+        if let encodedData = encodedData {
+            let boundary = multipartFormData.boundary
+
+            let expectedData = NSMutableData()
+            expectedData.appendData(BoundaryGenerator.boundaryData(boundaryType: .Initial, boundaryKey: boundary))
+            expectedData.appendData((
+                "Content-Disposition: form-data; name=\"lorem\"\(CRLF)\(CRLF)"
+                ).dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+            )
+            expectedData.appendData(loremData)
+            expectedData.appendData(BoundaryGenerator.boundaryData(boundaryType: .Encapsulated, boundaryKey: boundary))
+            expectedData.appendData((
+                "Content-Disposition: form-data; name=\"unicorn\"; filename=\"unicorn.png\"\(CRLF)" +
+                "Content-Type: image/png\(CRLF)\(CRLF)"
+                ).dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+            )
+            expectedData.appendData(NSData(contentsOfURL: unicornImageURL)!)
+            expectedData.appendData(BoundaryGenerator.boundaryData(boundaryType: .Encapsulated, boundaryKey: boundary))
+            expectedData.appendData((
+                "Content-Disposition: form-data; name=\"rainbow\"; filename=\"rainbow.jpg\"\(CRLF)" +
+                "Content-Type: image/jpeg\(CRLF)\(CRLF)"
+                ).dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+            )
+            expectedData.appendData(NSData(contentsOfURL: rainbowImageURL)!)
+            expectedData.appendData(BoundaryGenerator.boundaryData(boundaryType: .Final, boundaryKey: boundary))
+
+            XCTAssertEqual(encodedData, expectedData, "data should match expected data")
+        }
+    }
+}
+
+// MARK: -
+
+class MultipartFormDataWriteEncodedDataToDiskTestCase: BaseTestCase {
+    let CRLF = EncodingCharacters.CRLF
+
+    func testWritingEncodedDataBodyPartToDisk() {
+        // Given
+        let fileURL = temporaryFileURL()
+        let multipartFormData = MultipartFormData()
+
+        let data = "Lorem ipsum dolor sit amet.".dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+        multipartFormData.appendBodyPart(data: data, name: "data")
+
+        var encodingError: NSError?
+
+        // When
+        do {
+            try multipartFormData.writeEncodedDataToDisk(fileURL)
+        } catch {
+            encodingError = error as NSError
+        }
+
+        // Then
+        XCTAssertNil(encodingError, "encoding error should be nil")
+
+        if let fileData = NSData(contentsOfURL: fileURL) {
+            let boundary = multipartFormData.boundary
+
+            let expectedFileData = (
+                BoundaryGenerator.boundary(boundaryType: .Initial, boundaryKey: boundary) +
+                "Content-Disposition: form-data; name=\"data\"\(CRLF)\(CRLF)" +
+                "Lorem ipsum dolor sit amet." +
+                BoundaryGenerator.boundary(boundaryType: .Final, boundaryKey: boundary)
+            ).dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+
+            XCTAssertEqual(fileData, expectedFileData, "file data should match expected file data")
+        } else {
+            XCTFail("file data should not be nil")
+        }
+    }
+
+    func testWritingMultipleEncodedDataBodyPartsToDisk() {
+        // Given
+        let fileURL = temporaryFileURL()
+        let multipartFormData = MultipartFormData()
+
+        let french = "français".dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+        let japanese = "日本語".dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+        let emoji = "😃👍🏻🍻🎉".dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+
+        multipartFormData.appendBodyPart(data: french, name: "french")
+        multipartFormData.appendBodyPart(data: japanese, name: "japanese")
+        multipartFormData.appendBodyPart(data: emoji, name: "emoji")
+
+        var encodingError: NSError?
+
+        // When
+        do {
+            try multipartFormData.writeEncodedDataToDisk(fileURL)
+        } catch {
+            encodingError = error as NSError
+        }
+
+        // Then
+        XCTAssertNil(encodingError, "encoding error should be nil")
+
+        if let fileData = NSData(contentsOfURL: fileURL) {
+            let boundary = multipartFormData.boundary
+
+            let expectedFileData = (
+                BoundaryGenerator.boundary(boundaryType: .Initial, boundaryKey: boundary) +
+                "Content-Disposition: form-data; name=\"french\"\(CRLF)\(CRLF)" +
+                "français" +
+                BoundaryGenerator.boundary(boundaryType: .Encapsulated, boundaryKey: boundary) +
+                "Content-Disposition: form-data; name=\"japanese\"\(CRLF)\(CRLF)" +
+                "日本語" +
+                BoundaryGenerator.boundary(boundaryType: .Encapsulated, boundaryKey: boundary) +
+                "Content-Disposition: form-data; name=\"emoji\"\(CRLF)\(CRLF)" +
+                "😃👍🏻🍻🎉" +
+                BoundaryGenerator.boundary(boundaryType: .Final, boundaryKey: boundary)
+            ).dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+
+            XCTAssertEqual(fileData, expectedFileData, "file data should match expected file data")
+        } else {
+            XCTFail("file data should not be nil")
+        }
+    }
+
+    func testWritingEncodedFileBodyPartToDisk() {
+        // Given
+        let fileURL = temporaryFileURL()
+        let multipartFormData = MultipartFormData()
+
+        let unicornImageURL = URLForResource("unicorn", withExtension: "png")
+        multipartFormData.appendBodyPart(fileURL: unicornImageURL, name: "unicorn")
+
+        var encodingError: NSError?
+
+        // When
+        do {
+            try multipartFormData.writeEncodedDataToDisk(fileURL)
+        } catch {
+            encodingError = error as NSError
+        }
+
+        // Then
+        XCTAssertNil(encodingError, "encoding error should be nil")
+
+        if let fileData = NSData(contentsOfURL: fileURL) {
+            let boundary = multipartFormData.boundary
+
+            let expectedFileData = NSMutableData()
+            expectedFileData.appendData(BoundaryGenerator.boundaryData(boundaryType: .Initial, boundaryKey: boundary))
+            expectedFileData.appendData((
+                "Content-Disposition: form-data; name=\"unicorn\"; filename=\"unicorn.png\"\(CRLF)" +
+                "Content-Type: image/png\(CRLF)\(CRLF)"
+                ).dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+            )
+            expectedFileData.appendData(NSData(contentsOfURL: unicornImageURL)!)
+            expectedFileData.appendData(BoundaryGenerator.boundaryData(boundaryType: .Final, boundaryKey: boundary))
+
+            XCTAssertEqual(fileData, expectedFileData, "file data should match expected file data")
+        } else {
+            XCTFail("file data should not be nil")
+        }
+    }
+
+    func testWritingMultipleEncodedFileBodyPartsToDisk() {
+        // Given
+        let fileURL = temporaryFileURL()
+        let multipartFormData = MultipartFormData()
+
+        let unicornImageURL = URLForResource("unicorn", withExtension: "png")
+        let rainbowImageURL = URLForResource("rainbow", withExtension: "jpg")
+
+        multipartFormData.appendBodyPart(fileURL: unicornImageURL, name: "unicorn")
+        multipartFormData.appendBodyPart(fileURL: rainbowImageURL, name: "rainbow")
+
+        var encodingError: NSError?
+
+        // When
+        do {
+            try multipartFormData.writeEncodedDataToDisk(fileURL)
+        } catch {
+            encodingError = error as NSError
+        }
+
+        // Then
+        XCTAssertNil(encodingError, "encoding error should be nil")
+
+        if let fileData = NSData(contentsOfURL: fileURL) {
+            let boundary = multipartFormData.boundary
+
+            let expectedFileData = NSMutableData()
+            expectedFileData.appendData(BoundaryGenerator.boundaryData(boundaryType: .Initial, boundaryKey: boundary))
+            expectedFileData.appendData((
+                "Content-Disposition: form-data; name=\"unicorn\"; filename=\"unicorn.png\"\(CRLF)" +
+                "Content-Type: image/png\(CRLF)\(CRLF)"
+                ).dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+            )
+            expectedFileData.appendData(NSData(contentsOfURL: unicornImageURL)!)
+            expectedFileData.appendData(BoundaryGenerator.boundaryData(boundaryType: .Encapsulated, boundaryKey: boundary))
+            expectedFileData.appendData((
+                "Content-Disposition: form-data; name=\"rainbow\"; filename=\"rainbow.jpg\"\(CRLF)" +
+                "Content-Type: image/jpeg\(CRLF)\(CRLF)"
+                ).dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+            )
+            expectedFileData.appendData(NSData(contentsOfURL: rainbowImageURL)!)
+            expectedFileData.appendData(BoundaryGenerator.boundaryData(boundaryType: .Final, boundaryKey: boundary))
+
+            XCTAssertEqual(fileData, expectedFileData, "file data should match expected file data")
+        } else {
+            XCTFail("file data should not be nil")
+        }
+    }
+
+    func testWritingEncodedStreamBodyPartToDisk() {
+        // Given
+        let fileURL = temporaryFileURL()
+        let multipartFormData = MultipartFormData()
+
+        let unicornImageURL = URLForResource("unicorn", withExtension: "png")
+        let unicornDataLength = UInt64(NSData(contentsOfURL: unicornImageURL)!.length)
+        let unicornStream = NSInputStream(URL: unicornImageURL)!
+
+        multipartFormData.appendBodyPart(
+            stream: unicornStream,
+            length: unicornDataLength,
+            name: "unicorn",
+            fileName: "unicorn.png",
+            mimeType: "image/png"
+        )
+
+        var encodingError: NSError?
+
+        // When
+        do {
+            try multipartFormData.writeEncodedDataToDisk(fileURL)
+        } catch {
+            encodingError = error as NSError
+        }
+
+        // Then
+        XCTAssertNil(encodingError, "encoding error should be nil")
+
+        if let fileData = NSData(contentsOfURL: fileURL) {
+            let boundary = multipartFormData.boundary
+
+            let expectedFileData = NSMutableData()
+            expectedFileData.appendData(BoundaryGenerator.boundaryData(boundaryType: .Initial, boundaryKey: boundary))
+            expectedFileData.appendData((
+                "Content-Disposition: form-data; name=\"unicorn\"; filename=\"unicorn.png\"\(CRLF)" +
+                "Content-Type: image/png\(CRLF)\(CRLF)"
+                ).dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+            )
+            expectedFileData.appendData(NSData(contentsOfURL: unicornImageURL)!)
+            expectedFileData.appendData(BoundaryGenerator.boundaryData(boundaryType: .Final, boundaryKey: boundary))
+
+            XCTAssertEqual(fileData, expectedFileData, "file data should match expected file data")
+        } else {
+            XCTFail("file data should not be nil")
+        }
+    }
+
+    func testWritingMultipleEncodedStreamBodyPartsToDisk() {
+        // Given
+        let fileURL = temporaryFileURL()
+        let multipartFormData = MultipartFormData()
+
+        let unicornImageURL = URLForResource("unicorn", withExtension: "png")
+        let unicornDataLength = UInt64(NSData(contentsOfURL: unicornImageURL)!.length)
+        let unicornStream = NSInputStream(URL: unicornImageURL)!
+
+        let rainbowImageURL = URLForResource("rainbow", withExtension: "jpg")
+        let rainbowDataLength = UInt64(NSData(contentsOfURL: rainbowImageURL)!.length)
+        let rainbowStream = NSInputStream(URL: rainbowImageURL)!
+
+        multipartFormData.appendBodyPart(
+            stream: unicornStream,
+            length: unicornDataLength,
+            name: "unicorn",
+            fileName: "unicorn.png",
+            mimeType: "image/png"
+        )
+        multipartFormData.appendBodyPart(
+            stream: rainbowStream,
+            length: rainbowDataLength,
+            name: "rainbow",
+            fileName: "rainbow.jpg",
+            mimeType: "image/jpeg"
+        )
+
+
+        var encodingError: NSError?
+
+        // When
+        do {
+            try multipartFormData.writeEncodedDataToDisk(fileURL)
+        } catch {
+            encodingError = error as NSError
+        }
+
+        // Then
+        XCTAssertNil(encodingError, "encoding error should be nil")
+
+        if let fileData = NSData(contentsOfURL: fileURL) {
+            let boundary = multipartFormData.boundary
+
+            let expectedFileData = NSMutableData()
+            expectedFileData.appendData(BoundaryGenerator.boundaryData(boundaryType: .Initial, boundaryKey: boundary))
+            expectedFileData.appendData((
+                "Content-Disposition: form-data; name=\"unicorn\"; filename=\"unicorn.png\"\(CRLF)" +
+                "Content-Type: image/png\(CRLF)\(CRLF)"
+                ).dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+            )
+            expectedFileData.appendData(NSData(contentsOfURL: unicornImageURL)!)
+            expectedFileData.appendData(BoundaryGenerator.boundaryData(boundaryType: .Encapsulated, boundaryKey: boundary))
+            expectedFileData.appendData((
+                "Content-Disposition: form-data; name=\"rainbow\"; filename=\"rainbow.jpg\"\(CRLF)" +
+                "Content-Type: image/jpeg\(CRLF)\(CRLF)"
+                ).dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+            )
+            expectedFileData.appendData(NSData(contentsOfURL: rainbowImageURL)!)
+            expectedFileData.appendData(BoundaryGenerator.boundaryData(boundaryType: .Final, boundaryKey: boundary))
+
+            XCTAssertEqual(fileData, expectedFileData, "file data should match expected file data")
+        } else {
+            XCTFail("file data should not be nil")
+        }
+    }
+
+    func testWritingMultipleEncodedBodyPartsWithVaryingTypesToDisk() {
+        // Given
+        let fileURL = temporaryFileURL()
+        let multipartFormData = MultipartFormData()
+
+        let loremData = "Lorem ipsum.".dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+
+        let unicornImageURL = URLForResource("unicorn", withExtension: "png")
+
+        let rainbowImageURL = URLForResource("rainbow", withExtension: "jpg")
+        let rainbowDataLength = UInt64(NSData(contentsOfURL: rainbowImageURL)!.length)
+        let rainbowStream = NSInputStream(URL: rainbowImageURL)!
+
+        multipartFormData.appendBodyPart(data: loremData, name: "lorem")
+        multipartFormData.appendBodyPart(fileURL: unicornImageURL, name: "unicorn")
+        multipartFormData.appendBodyPart(
+            stream: rainbowStream,
+            length: rainbowDataLength,
+            name: "rainbow",
+            fileName: "rainbow.jpg",
+            mimeType: "image/jpeg"
+        )
+
+        var encodingError: NSError?
+
+        // When
+        do {
+            try multipartFormData.writeEncodedDataToDisk(fileURL)
+        } catch {
+            encodingError = error as NSError
+        }
+
+        // Then
+        XCTAssertNil(encodingError, "encoding error should be nil")
+
+        if let fileData = NSData(contentsOfURL: fileURL) {
+            let boundary = multipartFormData.boundary
+
+            let expectedFileData = NSMutableData()
+            expectedFileData.appendData(BoundaryGenerator.boundaryData(boundaryType: .Initial, boundaryKey: boundary))
+            expectedFileData.appendData((
+                "Content-Disposition: form-data; name=\"lorem\"\(CRLF)\(CRLF)"
+                ).dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+            )
+            expectedFileData.appendData(loremData)
+            expectedFileData.appendData(BoundaryGenerator.boundaryData(boundaryType: .Encapsulated, boundaryKey: boundary))
+            expectedFileData.appendData((
+                "Content-Disposition: form-data; name=\"unicorn\"; filename=\"unicorn.png\"\(CRLF)" +
+                "Content-Type: image/png\(CRLF)\(CRLF)"
+                ).dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+            )
+            expectedFileData.appendData(NSData(contentsOfURL: unicornImageURL)!)
+            expectedFileData.appendData(BoundaryGenerator.boundaryData(boundaryType: .Encapsulated, boundaryKey: boundary))
+            expectedFileData.appendData((
+                "Content-Disposition: form-data; name=\"rainbow\"; filename=\"rainbow.jpg\"\(CRLF)" +
+                "Content-Type: image/jpeg\(CRLF)\(CRLF)"
+                ).dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+            )
+            expectedFileData.appendData(NSData(contentsOfURL: rainbowImageURL)!)
+            expectedFileData.appendData(BoundaryGenerator.boundaryData(boundaryType: .Final, boundaryKey: boundary))
+
+            XCTAssertEqual(fileData, expectedFileData, "file data should match expected file data")
+        } else {
+            XCTFail("file data should not be nil")
+        }
+    }
+}
+
+// MARK: -
+
+class MultipartFormDataFailureTestCase: BaseTestCase {
+    func testThatAppendingFileBodyPartWithInvalidLastPathComponentReturnsError() {
+        // Given 
+        let fileURL = NSURL(string: "")!
+        let multipartFormData = MultipartFormData()
+        multipartFormData.appendBodyPart(fileURL: fileURL, name: "empty_data")
+
+        var encodingError: NSError?
+
+        // When
+        do {
+            try multipartFormData.encode()
+        } catch {
+            encodingError = error as NSError
+        }
+
+        // Then
+        XCTAssertNotNil(encodingError, "encoding error should not be nil")
+
+        if let error = encodingError {
+            XCTAssertEqual(error.domain, "com.alamofire.error", "error domain does not match expected value")
+            XCTAssertEqual(error.code, NSURLErrorBadURL, "error code does not match expected value")
+
+            if let failureReason = error.userInfo[NSLocalizedFailureReasonErrorKey] as? String {
+                let expectedFailureReason = "Failed to extract the fileName of the provided URL: \(fileURL)"
+                XCTAssertEqual(failureReason, expectedFailureReason, "failure reason does not match expected value")
+            } else {
+                XCTFail("failure reason should not be nil")
+            }
+        }
+    }
+
+    func testThatAppendingFileBodyPartThatIsNotFileURLReturnsError() {
+        // Given
+        let fileURL = NSURL(string: "https://example.com/image.jpg")!
+        let multipartFormData = MultipartFormData()
+        multipartFormData.appendBodyPart(fileURL: fileURL, name: "empty_data")
+
+        var encodingError: NSError?
+
+        // When
+        do {
+            try multipartFormData.encode()
+        } catch {
+            encodingError = error as NSError
+        }
+
+        // Then
+        XCTAssertNotNil(encodingError, "encoding error should not be nil")
+
+        if let error = encodingError {
+            XCTAssertEqual(error.domain, "com.alamofire.error", "error domain does not match expected value")
+            XCTAssertEqual(error.code, NSURLErrorBadURL, "error code does not match expected value")
+
+            if let failureReason = error.userInfo[NSLocalizedFailureReasonErrorKey] as? String {
+                let expectedFailureReason = "The file URL does not point to a file URL: \(fileURL)"
+                XCTAssertEqual(failureReason, expectedFailureReason, "error failure reason does not match expected value")
+            } else {
+                XCTFail("failure reason should not be nil")
+            }
+        }
+    }
+
+    func testThatAppendingFileBodyPartThatIsNotReachableReturnsError() {
+        // Given
+        let filePath = (NSTemporaryDirectory() as NSString).stringByAppendingPathComponent("does_not_exist.jpg")
+        let fileURL = NSURL(fileURLWithPath: filePath)
+        let multipartFormData = MultipartFormData()
+        multipartFormData.appendBodyPart(fileURL: fileURL, name: "empty_data")
+
+        var encodingError: NSError?
+
+        // When
+        do {
+            try multipartFormData.encode()
+        } catch {
+            encodingError = error as NSError
+        }
+
+        // Then
+        XCTAssertNotNil(encodingError, "encoding error should not be nil")
+
+        if let error = encodingError {
+            XCTAssertEqual(error.domain, "com.alamofire.error", "error domain does not match expected value")
+            XCTAssertEqual(error.code, NSURLErrorBadURL, "error code does not match expected value")
+
+            if let failureReason = error.userInfo[NSLocalizedFailureReasonErrorKey] as? String {
+                let expectedFailureReason = "The file URL is not reachable: \(fileURL)"
+                XCTAssertEqual(failureReason, expectedFailureReason, "error failure reason does not match expected value")
+            } else {
+                XCTFail("failure reason should not be nil")
+            }
+        }
+    }
+
+    func testThatAppendingFileBodyPartThatIsDirectoryReturnsError() {
+        // Given
+        let directoryURL = NSURL(fileURLWithPath: NSTemporaryDirectory(), isDirectory: true)
+        let multipartFormData = MultipartFormData()
+        multipartFormData.appendBodyPart(fileURL: directoryURL, name: "empty_data")
+
+        var encodingError: NSError?
+
+        // When
+        do {
+            try multipartFormData.encode()
+        } catch {
+            encodingError = error as NSError
+        }
+
+        // Then
+        XCTAssertNotNil(encodingError, "encoding error should not be nil")
+
+        if let error = encodingError {
+            XCTAssertEqual(error.domain, "com.alamofire.error", "error domain does not match expected value")
+            XCTAssertEqual(error.code, NSURLErrorBadURL, "error code does not match expected value")
+
+            if let failureReason = error.userInfo[NSLocalizedFailureReasonErrorKey] as? String {
+                let expectedFailureReason = "The file URL is a directory, not a file: \(directoryURL)"
+                XCTAssertEqual(failureReason, expectedFailureReason, "error failure reason does not match expected value")
+            } else {
+                XCTFail("failure reason should not be nil")
+            }
+        }
+    }
+
+    func testThatWritingEncodedDataToExistingFileURLFails() {
+        // Given
+        let fileURL = temporaryFileURL()
+
+        var writerError: NSError?
+
+        do {
+            try "dummy data".writeToURL(fileURL, atomically: true, encoding: NSUTF8StringEncoding)
+        } catch {
+            writerError = error as NSError
+        }
+
+        let multipartFormData = MultipartFormData()
+        let data = "Lorem ipsum dolor sit amet.".dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+        multipartFormData.appendBodyPart(data: data, name: "data")
+
+        var encodingError: NSError?
+
+        // When
+        do {
+            try multipartFormData.writeEncodedDataToDisk(fileURL)
+        } catch {
+            encodingError = error as NSError
+        }
+
+        // Then
+        XCTAssertNil(writerError, "writer error should be nil")
+        XCTAssertNotNil(encodingError, "encoding error should not be nil")
+
+        if let encodingError = encodingError {
+            XCTAssertEqual(encodingError.domain, "com.alamofire.error", "encoding error domain does not match expected value")
+            XCTAssertEqual(encodingError.code, NSURLErrorBadURL, "encoding error code does not match expected value")
+        }
+    }
+
+    func testThatWritingEncodedDataToBadURLFails() {
+        // Given
+        let fileURL = NSURL(string: "/this/is/not/a/valid/url")!
+
+        let multipartFormData = MultipartFormData()
+        let data = "Lorem ipsum dolor sit amet.".dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+        multipartFormData.appendBodyPart(data: data, name: "data")
+
+        var encodingError: NSError?
+
+        // When
+        do {
+            try multipartFormData.writeEncodedDataToDisk(fileURL)
+        } catch {
+            encodingError = error as NSError
+        }
+
+        // Then
+        XCTAssertNotNil(encodingError, "encoding error should not be nil")
+
+        if let encodingError = encodingError {
+            XCTAssertEqual(encodingError.domain, "com.alamofire.error", "encoding error domain does not match expected value")
+            XCTAssertEqual(encodingError.code, NSURLErrorBadURL, "encoding error code does not match expected value")
+        }
+    }
+}
diff --git a/swift/Alamofire-3.3.0/Tests/NSURLSessionConfiguration+AlamofireTests.swift b/swift/Alamofire-3.3.0/Tests/NSURLSessionConfiguration+AlamofireTests.swift
new file mode 100755
index 0000000..c583e4b
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/NSURLSessionConfiguration+AlamofireTests.swift
@@ -0,0 +1,37 @@
+// NSURLSessionConfiguration+AlamofireTests.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import Foundation
+
+extension NSURLSessionConfiguration {
+    static func backgroundSessionConfigurationForAllPlatformsWithIdentifier(identifier: String) -> NSURLSessionConfiguration {
+        let configuration: NSURLSessionConfiguration
+
+        if #available(OSX 10.10, *) {
+            configuration = NSURLSessionConfiguration.backgroundSessionConfigurationWithIdentifier(identifier)
+        } else {
+            configuration = NSURLSessionConfiguration.backgroundSessionConfiguration(identifier)
+        }
+
+        return configuration
+    }
+}
diff --git a/swift/Alamofire-3.3.0/Tests/NetworkReachabilityManagerTests.swift b/swift/Alamofire-3.3.0/Tests/NetworkReachabilityManagerTests.swift
new file mode 100755
index 0000000..7595076
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/NetworkReachabilityManagerTests.swift
@@ -0,0 +1,220 @@
+// NetworkReachabilityManagerTests.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+@testable import Alamofire
+import Foundation
+import SystemConfiguration
+import XCTest
+
+class NetworkReachabilityManagerTestCase: BaseTestCase {
+
+    // MARK: - Tests - Initialization
+
+    func testThatManagerCanBeInitializedFromHost() {
+        // Given, When
+        let manager = NetworkReachabilityManager(host: "localhost")
+
+        // Then
+        XCTAssertNotNil(manager)
+    }
+
+    func testThatManagerCanBeInitializedFromAddress() {
+        // Given, When
+        let manager = NetworkReachabilityManager()
+
+        // Then
+        XCTAssertNotNil(manager)
+    }
+
+    func testThatHostManagerIsReachableOnWiFi() {
+        // Given, When
+        let manager = NetworkReachabilityManager(host: "localhost")
+
+        // Then
+        XCTAssertEqual(manager?.networkReachabilityStatus, .Reachable(.EthernetOrWiFi))
+        XCTAssertEqual(manager?.isReachable, true)
+        XCTAssertEqual(manager?.isReachableOnWWAN, false)
+        XCTAssertEqual(manager?.isReachableOnEthernetOrWiFi, true)
+    }
+
+    func testThatHostManagerStartsWithReachableStatus() {
+        // Given, When
+        let manager = NetworkReachabilityManager(host: "localhost")
+
+        // Then
+        XCTAssertEqual(manager?.networkReachabilityStatus, .Reachable(.EthernetOrWiFi))
+        XCTAssertEqual(manager?.isReachable, true)
+        XCTAssertEqual(manager?.isReachableOnWWAN, false)
+        XCTAssertEqual(manager?.isReachableOnEthernetOrWiFi, true)
+    }
+
+    func testThatAddressManagerStartsWithReachableStatus() {
+        // Given, When
+        let manager = NetworkReachabilityManager()
+
+        // Then
+        XCTAssertEqual(manager?.networkReachabilityStatus, .Reachable(.EthernetOrWiFi))
+        XCTAssertEqual(manager?.isReachable, true)
+        XCTAssertEqual(manager?.isReachableOnWWAN, false)
+        XCTAssertEqual(manager?.isReachableOnEthernetOrWiFi, true)
+    }
+
+    func testThatHostManagerCanBeDeinitialized() {
+        // Given
+        var manager: NetworkReachabilityManager? = NetworkReachabilityManager(host: "localhost")
+
+        // When
+        manager = nil
+
+        // Then
+        XCTAssertNil(manager)
+    }
+
+    func testThatAddressManagerCanBeDeinitialized() {
+        // Given
+        var manager: NetworkReachabilityManager? = NetworkReachabilityManager()
+
+        // When
+        manager = nil
+
+        // Then
+        XCTAssertNil(manager)
+    }
+
+    // MARK: - Tests - Listener
+
+    func testThatHostManagerIsNotifiedWhenStartListeningIsCalled() {
+        // Given
+        let manager = NetworkReachabilityManager(host: "localhost")
+        let expectation = expectationWithDescription("listener closure should be executed")
+
+        var networkReachabilityStatus: NetworkReachabilityManager.NetworkReachabilityStatus?
+
+        manager?.listener = { status in
+            networkReachabilityStatus = status
+            expectation.fulfill()
+        }
+
+        // When
+        manager?.startListening()
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertEqual(networkReachabilityStatus, .Reachable(.EthernetOrWiFi))
+    }
+
+    func testThatAddressManagerIsNotifiedWhenStartListeningIsCalled() {
+        // Given
+        let manager = NetworkReachabilityManager()
+        let expectation = expectationWithDescription("listener closure should be executed")
+
+        var networkReachabilityStatus: NetworkReachabilityManager.NetworkReachabilityStatus?
+
+        manager?.listener = { status in
+            networkReachabilityStatus = status
+            expectation.fulfill()
+        }
+
+        // When
+        manager?.startListening()
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertEqual(networkReachabilityStatus, .Reachable(.EthernetOrWiFi))
+    }
+
+    // MARK: - Tests - Network Reachability Status
+
+    func testThatManagerReturnsNotReachableStatusWhenReachableFlagIsAbsent() {
+        // Given
+        let manager = NetworkReachabilityManager()
+        let flags: SCNetworkReachabilityFlags = [.ConnectionOnDemand]
+
+        // When
+        let networkReachabilityStatus = manager?.networkReachabilityStatusForFlags(flags)
+
+        // Then
+        XCTAssertEqual(networkReachabilityStatus, .NotReachable)
+    }
+
+    func testThatManagerReturnsNotReachableStatusWhenInterventionIsRequired() {
+        // Given
+        let manager = NetworkReachabilityManager()
+        let flags: SCNetworkReachabilityFlags = [.Reachable, .ConnectionRequired, .ConnectionOnDemand, .InterventionRequired]
+
+        // When
+        let networkReachabilityStatus = manager?.networkReachabilityStatusForFlags(flags)
+
+        // Then
+        XCTAssertEqual(networkReachabilityStatus, .NotReachable)
+    }
+
+    func testThatManagerReturnsReachableOnWiFiStatusWhenConnectionIsNotRequired() {
+        // Given
+        let manager = NetworkReachabilityManager()
+        let flags: SCNetworkReachabilityFlags = [.Reachable]
+
+        // When
+        let networkReachabilityStatus = manager?.networkReachabilityStatusForFlags(flags)
+
+        // Then
+        XCTAssertEqual(networkReachabilityStatus, .Reachable(.EthernetOrWiFi))
+    }
+
+    func testThatManagerReturnsReachableOnWiFiStatusWhenConnectionIsOnDemand() {
+        // Given
+        let manager = NetworkReachabilityManager()
+        let flags: SCNetworkReachabilityFlags = [.Reachable, .ConnectionRequired, .ConnectionOnDemand]
+
+        // When
+        let networkReachabilityStatus = manager?.networkReachabilityStatusForFlags(flags)
+
+        // Then
+        XCTAssertEqual(networkReachabilityStatus, .Reachable(.EthernetOrWiFi))
+    }
+
+    func testThatManagerReturnsReachableOnWiFiStatusWhenConnectionIsOnTraffic() {
+        // Given
+        let manager = NetworkReachabilityManager()
+        let flags: SCNetworkReachabilityFlags = [.Reachable, .ConnectionRequired, .ConnectionOnTraffic]
+
+        // When
+        let networkReachabilityStatus = manager?.networkReachabilityStatusForFlags(flags)
+
+        // Then
+        XCTAssertEqual(networkReachabilityStatus, .Reachable(.EthernetOrWiFi))
+    }
+
+#if os(iOS)
+    func testThatManagerReturnsReachableOnWWANStatusWhenIsWWAN() {
+        // Given
+        let manager = NetworkReachabilityManager()
+        let flags: SCNetworkReachabilityFlags = [.Reachable, .IsWWAN]
+
+        // When
+        let networkReachabilityStatus = manager?.networkReachabilityStatusForFlags(flags)
+
+        // Then
+        XCTAssertEqual(networkReachabilityStatus, .Reachable(.WWAN))
+    }
+#endif
+}
diff --git a/swift/Alamofire-3.3.0/Tests/ParameterEncodingTests.swift b/swift/Alamofire-3.3.0/Tests/ParameterEncodingTests.swift
new file mode 100755
index 0000000..104b1e5
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/ParameterEncodingTests.swift
@@ -0,0 +1,677 @@
+// ParameterEncodingTests.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import Alamofire
+import Foundation
+import XCTest
+
+class ParameterEncodingTestCase: BaseTestCase {
+    let URLRequest = NSURLRequest(URL: NSURL(string: "https://example.com/")!)
+}
+
+// MARK: -
+
+class URLParameterEncodingTestCase: ParameterEncodingTestCase {
+    let encoding: ParameterEncoding = .URL
+
+    // MARK: Tests - Parameter Types
+
+    func testURLParameterEncodeNilParameters() {
+        // Given
+        // When
+        let (URLRequest, _) = encoding.encode(self.URLRequest, parameters: nil)
+
+        // Then
+        XCTAssertNil(URLRequest.URL?.query, "query should be nil")
+    }
+    
+    func testURLParameterEncodeEmptyDictionaryParameter() {
+        // Given
+        let parameters: [String: AnyObject] = [:]
+        
+        // When
+        let (URLRequest, _) = encoding.encode(self.URLRequest, parameters: parameters)
+        
+        // Then
+        XCTAssertNil(URLRequest.URL?.query, "query should be nil")
+    }
+
+    func testURLParameterEncodeOneStringKeyStringValueParameter() {
+        // Given
+        let parameters = ["foo": "bar"]
+
+        // When
+        let (URLRequest, _) = encoding.encode(self.URLRequest, parameters: parameters)
+
+        // Then
+        XCTAssertEqual(URLRequest.URL?.query ?? "", "foo=bar", "query is incorrect")
+    }
+
+    func testURLParameterEncodeOneStringKeyStringValueParameterAppendedToQuery() {
+        // Given
+        let mutableURLRequest = self.URLRequest.URLRequest
+        let URLComponents = NSURLComponents(URL: mutableURLRequest.URL!, resolvingAgainstBaseURL: false)!
+        URLComponents.query = "baz=qux"
+        mutableURLRequest.URL = URLComponents.URL
+
+        let parameters = ["foo": "bar"]
+
+        // When
+        let (URLRequest, _) = encoding.encode(mutableURLRequest, parameters: parameters)
+
+        // Then
+        XCTAssertEqual(URLRequest.URL?.query ?? "", "baz=qux&foo=bar", "query is incorrect")
+    }
+
+    func testURLParameterEncodeTwoStringKeyStringValueParameters() {
+        // Given
+        let parameters = ["foo": "bar", "baz": "qux"]
+
+        // When
+        let (URLRequest, _) = encoding.encode(self.URLRequest, parameters: parameters)
+
+        // Then
+        XCTAssertEqual(URLRequest.URL?.query ?? "", "baz=qux&foo=bar", "query is incorrect")
+    }
+
+    func testURLParameterEncodeStringKeyIntegerValueParameter() {
+        // Given
+        let parameters = ["foo": 1]
+
+        // When
+        let (URLRequest, _) = encoding.encode(self.URLRequest, parameters: parameters)
+
+        // Then
+        XCTAssertEqual(URLRequest.URL?.query ?? "", "foo=1", "query is incorrect")
+    }
+
+    func testURLParameterEncodeStringKeyDoubleValueParameter() {
+        // Given
+        let parameters = ["foo": 1.1]
+
+        // When
+        let (URLRequest, _) = encoding.encode(self.URLRequest, parameters: parameters)
+
+        // Then
+        XCTAssertEqual(URLRequest.URL?.query ?? "", "foo=1.1", "query is incorrect")
+    }
+
+    func testURLParameterEncodeStringKeyBoolValueParameter() {
+        // Given
+        let parameters = ["foo": true]
+
+        // When
+        let (URLRequest, _) = encoding.encode(self.URLRequest, parameters: parameters)
+
+        // Then
+        XCTAssertEqual(URLRequest.URL?.query ?? "", "foo=1", "query is incorrect")
+    }
+
+    func testURLParameterEncodeStringKeyArrayValueParameter() {
+        // Given
+        let parameters = ["foo": ["a", 1, true]]
+
+        // When
+        let (URLRequest, _) = encoding.encode(self.URLRequest, parameters: parameters)
+
+        // Then
+        XCTAssertEqual(URLRequest.URL?.query ?? "", "foo%5B%5D=a&foo%5B%5D=1&foo%5B%5D=1", "query is incorrect")
+    }
+
+    func testURLParameterEncodeStringKeyDictionaryValueParameter() {
+        // Given
+        let parameters = ["foo": ["bar": 1]]
+
+        // When
+        let (URLRequest, _) = encoding.encode(self.URLRequest, parameters: parameters)
+
+        // Then
+        XCTAssertEqual(URLRequest.URL?.query ?? "", "foo%5Bbar%5D=1", "query is incorrect")
+    }
+
+    func testURLParameterEncodeStringKeyNestedDictionaryValueParameter() {
+        // Given
+        let parameters = ["foo": ["bar": ["baz": 1]]]
+
+        // When
+        let (URLRequest, _) = encoding.encode(self.URLRequest, parameters: parameters)
+
+        // Then
+        XCTAssertEqual(URLRequest.URL?.query ?? "", "foo%5Bbar%5D%5Bbaz%5D=1", "query is incorrect")
+    }
+
+    func testURLParameterEncodeStringKeyNestedDictionaryArrayValueParameter() {
+        // Given
+        let parameters = ["foo": ["bar": ["baz": ["a", 1, true]]]]
+
+        // When
+        let (URLRequest, _) = encoding.encode(self.URLRequest, parameters: parameters)
+
+        // Then
+        let expectedQuery = "foo%5Bbar%5D%5Bbaz%5D%5B%5D=a&foo%5Bbar%5D%5Bbaz%5D%5B%5D=1&foo%5Bbar%5D%5Bbaz%5D%5B%5D=1"
+        XCTAssertEqual(URLRequest.URL?.query ?? "", expectedQuery, "query is incorrect")
+    }
+
+    // MARK: Tests - All Reserved / Unreserved / Illegal Characters According to RFC 3986
+
+    func testThatReservedCharactersArePercentEscapedMinusQuestionMarkAndForwardSlash() {
+        // Given
+        let generalDelimiters = ":#[]@"
+        let subDelimiters = "!$&'()*+,;="
+        let parameters = ["reserved": "\(generalDelimiters)\(subDelimiters)"]
+
+        // When
+        let (URLRequest, _) = encoding.encode(self.URLRequest, parameters: parameters)
+
+        // Then
+        let expectedQuery = "reserved=%3A%23%5B%5D%40%21%24%26%27%28%29%2A%2B%2C%3B%3D"
+        XCTAssertEqual(URLRequest.URL?.query ?? "", expectedQuery, "query is incorrect")
+    }
+
+    func testThatReservedCharactersQuestionMarkAndForwardSlashAreNotPercentEscaped() {
+        // Given
+        let parameters = ["reserved": "?/"]
+
+        // When
+        let (URLRequest, _) = encoding.encode(self.URLRequest, parameters: parameters)
+
+        // Then
+        XCTAssertEqual(URLRequest.URL?.query ?? "", "reserved=?/", "query is incorrect")
+    }
+
+    func testThatUnreservedNumericCharactersAreNotPercentEscaped() {
+        // Given
+        let parameters = ["numbers": "0123456789"]
+
+        // When
+        let (URLRequest, _) = encoding.encode(self.URLRequest, parameters: parameters)
+
+        // Then
+        XCTAssertEqual(URLRequest.URL?.query ?? "", "numbers=0123456789", "query is incorrect")
+    }
+
+    func testThatUnreservedLowercaseCharactersAreNotPercentEscaped() {
+        // Given
+        let parameters = ["lowercase": "abcdefghijklmnopqrstuvwxyz"]
+
+        // When
+        let (URLRequest, _) = encoding.encode(self.URLRequest, parameters: parameters)
+
+        // Then
+        XCTAssertEqual(URLRequest.URL?.query ?? "", "lowercase=abcdefghijklmnopqrstuvwxyz", "query is incorrect")
+    }
+
+    func testThatUnreservedUppercaseCharactersAreNotPercentEscaped() {
+        // Given
+        let parameters = ["uppercase": "ABCDEFGHIJKLMNOPQRSTUVWXYZ"]
+
+        // When
+        let (URLRequest, _) = encoding.encode(self.URLRequest, parameters: parameters)
+
+        // Then
+        XCTAssertEqual(URLRequest.URL?.query ?? "", "uppercase=ABCDEFGHIJKLMNOPQRSTUVWXYZ", "query is incorrect")
+    }
+
+    func testThatIllegalASCIICharactersArePercentEscaped() {
+        // Given
+        let parameters = ["illegal": " \"#%<>[]\\^`{}|"]
+
+        // When
+        let (URLRequest, _) = encoding.encode(self.URLRequest, parameters: parameters)
+
+        // Then
+        let expectedQuery = "illegal=%20%22%23%25%3C%3E%5B%5D%5C%5E%60%7B%7D%7C"
+        XCTAssertEqual(URLRequest.URL?.query ?? "", expectedQuery, "query is incorrect")
+    }
+
+    // MARK: Tests - Special Character Queries
+
+    func testURLParameterEncodeStringWithAmpersandKeyStringWithAmpersandValueParameter() {
+        // Given
+        let parameters = ["foo&bar": "baz&qux", "foobar": "bazqux"]
+
+        // When
+        let (URLRequest, _) = encoding.encode(self.URLRequest, parameters: parameters)
+
+        // Then
+        XCTAssertEqual(URLRequest.URL?.query ?? "", "foo%26bar=baz%26qux&foobar=bazqux", "query is incorrect")
+    }
+
+    func testURLParameterEncodeStringWithQuestionMarkKeyStringWithQuestionMarkValueParameter() {
+        // Given
+        let parameters = ["?foo?": "?bar?"]
+
+        // When
+        let (URLRequest, _) = encoding.encode(self.URLRequest, parameters: parameters)
+
+        // Then
+        XCTAssertEqual(URLRequest.URL?.query ?? "", "?foo?=?bar?", "query is incorrect")
+    }
+
+    func testURLParameterEncodeStringWithSlashKeyStringWithQuestionMarkValueParameter() {
+        // Given
+        let parameters = ["foo": "/bar/baz/qux"]
+
+        // When
+        let (URLRequest, _) = encoding.encode(self.URLRequest, parameters: parameters)
+
+        // Then
+        XCTAssertEqual(URLRequest.URL?.query ?? "", "foo=/bar/baz/qux", "query is incorrect")
+    }
+
+    func testURLParameterEncodeStringWithSpaceKeyStringWithSpaceValueParameter() {
+        // Given
+        let parameters = [" foo ": " bar "]
+
+        // When
+        let (URLRequest, _) = encoding.encode(self.URLRequest, parameters: parameters)
+
+        // Then
+        XCTAssertEqual(URLRequest.URL?.query ?? "", "%20foo%20=%20bar%20", "query is incorrect")
+    }
+
+    func testURLParameterEncodeStringWithPlusKeyStringWithPlusValueParameter() {
+        // Given
+        let parameters = ["+foo+": "+bar+"]
+
+        // When
+        let (URLRequest, _) = encoding.encode(self.URLRequest, parameters: parameters)
+
+        // Then
+        XCTAssertEqual(URLRequest.URL?.query ?? "", "%2Bfoo%2B=%2Bbar%2B", "query is incorrect")
+    }
+
+    func testURLParameterEncodeStringKeyPercentEncodedStringValueParameter() {
+        // Given
+        let parameters = ["percent": "%25"]
+
+        // When
+        let (URLRequest, _) = encoding.encode(self.URLRequest, parameters: parameters)
+
+        // Then
+        XCTAssertEqual(URLRequest.URL?.query ?? "", "percent=%2525", "query is incorrect")
+    }
+
+    func testURLParameterEncodeStringKeyNonLatinStringValueParameter() {
+        // Given
+        let parameters = [
+            "french": "français",
+            "japanese": "日本語",
+            "arabic": "العربية",
+            "emoji": "😃"
+        ]
+
+        // When
+        let (URLRequest, _) = encoding.encode(self.URLRequest, parameters: parameters)
+
+        // Then
+        let expectedParameterValues = [
+            "arabic=%D8%A7%D9%84%D8%B9%D8%B1%D8%A8%D9%8A%D8%A9",
+            "emoji=%F0%9F%98%83",
+            "french=fran%C3%A7ais",
+            "japanese=%E6%97%A5%E6%9C%AC%E8%AA%9E"
+        ]
+
+        let expectedQuery = expectedParameterValues.joinWithSeparator("&")
+        XCTAssertEqual(URLRequest.URL?.query ?? "", expectedQuery, "query is incorrect")
+    }
+
+    func testURLParameterEncodeStringForRequestWithPrecomposedQuery() {
+        // Given
+        let URL = NSURL(string: "https://example.com/movies?hd=[1]")!
+        let parameters = ["page": "0"]
+
+        // When
+        let (URLRequest, _) = encoding.encode(NSURLRequest(URL: URL), parameters: parameters)
+
+        // Then
+        XCTAssertEqual(URLRequest.URL?.query ?? "", "hd=%5B1%5D&page=0", "query is incorrect")
+    }
+
+    func testURLParameterEncodeStringWithPlusKeyStringWithPlusValueParameterForRequestWithPrecomposedQuery() {
+        // Given
+        let URL = NSURL(string: "https://example.com/movie?hd=[1]")!
+        let parameters = ["+foo+": "+bar+"]
+
+        // When
+        let (URLRequest, _) = encoding.encode(NSURLRequest(URL: URL), parameters: parameters)
+
+        // Then
+        XCTAssertEqual(URLRequest.URL?.query ?? "", "hd=%5B1%5D&%2Bfoo%2B=%2Bbar%2B", "query is incorrect")
+    }
+
+    func testURLParameterEncodeStringWithThousandsOfChineseCharacters() {
+        // Given
+        let repeatedCount = 2_000
+        let URL = NSURL(string: "https://example.com/movies")!
+        let parameters = ["chinese": String(count: repeatedCount, repeatedString: "一二三四五六七八九十")]
+
+        // When
+        let (URLRequest, _) = encoding.encode(NSURLRequest(URL: URL), parameters: parameters)
+
+        // Then
+        var expected = "chinese="
+        for _ in 0..<repeatedCount {
+            expected += "%E4%B8%80%E4%BA%8C%E4%B8%89%E5%9B%9B%E4%BA%94%E5%85%AD%E4%B8%83%E5%85%AB%E4%B9%9D%E5%8D%81"
+        }
+        XCTAssertEqual(URLRequest.URL?.query ?? "", expected, "query is incorrect")
+    }
+
+    // MARK: Tests - Varying HTTP Methods
+
+    func testThatURLParameterEncodingEncodesGETParametersInURL() {
+        // Given
+        let mutableURLRequest = self.URLRequest.URLRequest
+        mutableURLRequest.HTTPMethod = Method.GET.rawValue
+        let parameters = ["foo": 1, "bar": 2]
+
+        // When
+        let (URLRequest, _) = encoding.encode(mutableURLRequest, parameters: parameters)
+
+        // Then
+        XCTAssertEqual(URLRequest.URL?.query ?? "", "bar=2&foo=1", "query is incorrect")
+        XCTAssertNil(URLRequest.valueForHTTPHeaderField("Content-Type"), "Content-Type should be nil")
+        XCTAssertNil(URLRequest.HTTPBody, "HTTPBody should be nil")
+    }
+
+    func testThatURLParameterEncodingEncodesPOSTParametersInHTTPBody() {
+        // Given
+        let mutableURLRequest = self.URLRequest.URLRequest
+        mutableURLRequest.HTTPMethod = Method.POST.rawValue
+        let parameters = ["foo": 1, "bar": 2]
+
+        // When
+        let (URLRequest, _) = encoding.encode(mutableURLRequest, parameters: parameters)
+
+        // Then
+        XCTAssertEqual(
+            URLRequest.valueForHTTPHeaderField("Content-Type") ?? "",
+            "application/x-www-form-urlencoded; charset=utf-8",
+            "Content-Type should be application/x-www-form-urlencoded"
+        )
+        XCTAssertNotNil(URLRequest.HTTPBody, "HTTPBody should not be nil")
+
+        if let
+            HTTPBody = URLRequest.HTTPBody,
+            decodedHTTPBody = String(data: HTTPBody, encoding: NSUTF8StringEncoding)
+        {
+            XCTAssertEqual(decodedHTTPBody, "bar=2&foo=1", "HTTPBody is incorrect")
+        } else {
+            XCTFail("decoded http body should not be nil")
+        }
+    }
+
+    func testThatURLEncodedInURLParameterEncodingEncodesPOSTParametersInURL() {
+        // Given
+        let mutableURLRequest = self.URLRequest.URLRequest
+        mutableURLRequest.HTTPMethod = Method.POST.rawValue
+        let parameters = ["foo": 1, "bar": 2]
+
+        // When
+        let (URLRequest, _) = ParameterEncoding.URLEncodedInURL.encode(mutableURLRequest, parameters: parameters)
+
+        // Then
+        XCTAssertEqual(URLRequest.URL?.query ?? "", "bar=2&foo=1", "query is incorrect")
+        XCTAssertNil(URLRequest.valueForHTTPHeaderField("Content-Type"), "Content-Type should be nil")
+        XCTAssertNil(URLRequest.HTTPBody, "HTTPBody should be nil")
+    }
+}
+
+// MARK: -
+
+class JSONParameterEncodingTestCase: ParameterEncodingTestCase {
+    // MARK: Properties
+
+    let encoding: ParameterEncoding = .JSON
+
+    // MARK: Tests
+
+    func testJSONParameterEncodeNilParameters() {
+        // Given
+        // When
+        let (URLRequest, error) = encoding.encode(self.URLRequest, parameters: nil)
+
+        // Then
+        XCTAssertNil(error, "error should be nil")
+        XCTAssertNil(URLRequest.URL?.query, "query should be nil")
+        XCTAssertNil(URLRequest.valueForHTTPHeaderField("Content-Type"), "Content-Type should be nil")
+        XCTAssertNil(URLRequest.HTTPBody, "HTTPBody should be nil")
+    }
+
+    func testJSONParameterEncodeComplexParameters() {
+        // Given
+        let parameters = [
+            "foo": "bar",
+            "baz": ["a", 1, true],
+            "qux": [
+                "a": 1,
+                "b": [2, 2],
+                "c": [3, 3, 3]
+            ]
+        ]
+
+        // When
+        let (URLRequest, error) = encoding.encode(self.URLRequest, parameters: parameters)
+
+        // Then
+        XCTAssertNil(error, "error should be nil")
+        XCTAssertNil(URLRequest.URL?.query, "query should be nil")
+        XCTAssertNotNil(URLRequest.valueForHTTPHeaderField("Content-Type"), "Content-Type should not be nil")
+        XCTAssertEqual(
+            URLRequest.valueForHTTPHeaderField("Content-Type") ?? "",
+            "application/json",
+            "Content-Type should be application/json"
+        )
+        XCTAssertNotNil(URLRequest.HTTPBody, "HTTPBody should not be nil")
+
+        if let HTTPBody = URLRequest.HTTPBody {
+            do {
+                let JSON = try NSJSONSerialization.JSONObjectWithData(HTTPBody, options: .AllowFragments)
+
+                if let JSON = JSON as? NSObject {
+                    XCTAssertEqual(JSON, parameters as NSObject, "HTTPBody JSON does not equal parameters")
+                } else {
+                    XCTFail("JSON should be an NSObject")
+                }
+            } catch {
+                XCTFail("JSON should not be nil")
+            }
+        } else {
+            XCTFail("JSON should not be nil")
+        }
+    }
+
+    func testJSONParameterEncodeParametersRetainsCustomContentType() {
+        // Given
+        let mutableURLRequest = NSMutableURLRequest(URL: NSURL(string: "https://example.com/")!)
+        mutableURLRequest.setValue("application/custom-json-type+json", forHTTPHeaderField: "Content-Type")
+
+        let parameters = ["foo": "bar"]
+
+        // When
+        let (URLRequest, error) = encoding.encode(mutableURLRequest, parameters: parameters)
+
+        // Then
+        XCTAssertNil(error)
+        XCTAssertNil(URLRequest.URL?.query)
+        XCTAssertEqual(URLRequest.valueForHTTPHeaderField("Content-Type"), "application/custom-json-type+json")
+    }
+}
+
+// MARK: -
+
+class PropertyListParameterEncodingTestCase: ParameterEncodingTestCase {
+    // MARK: Properties
+
+    let encoding: ParameterEncoding = .PropertyList(.XMLFormat_v1_0, 0)
+
+    // MARK: Tests
+
+    func testPropertyListParameterEncodeNilParameters() {
+        // Given
+        // When
+        let (URLRequest, error) = encoding.encode(self.URLRequest, parameters: nil)
+
+        // Then
+        XCTAssertNil(error, "error should be nil")
+        XCTAssertNil(URLRequest.URL?.query, "query should be nil")
+        XCTAssertNil(URLRequest.valueForHTTPHeaderField("Content-Type"), "Content-Type should be nil")
+        XCTAssertNil(URLRequest.HTTPBody, "HTTPBody should be nil")
+    }
+
+    func testPropertyListParameterEncodeComplexParameters() {
+        // Given
+        let parameters = [
+            "foo": "bar",
+            "baz": ["a", 1, true],
+            "qux": [
+                "a": 1,
+                "b": [2, 2],
+                "c": [3, 3, 3]
+            ]
+        ]
+
+        // When
+        let (URLRequest, error) = encoding.encode(self.URLRequest, parameters: parameters)
+
+        // Then
+        XCTAssertNil(error, "error should be nil")
+        XCTAssertNil(URLRequest.URL?.query, "query should be nil")
+        XCTAssertNotNil(URLRequest.valueForHTTPHeaderField("Content-Type"), "Content-Type should not be nil")
+        XCTAssertEqual(
+            URLRequest.valueForHTTPHeaderField("Content-Type") ?? "",
+            "application/x-plist",
+            "Content-Type should be application/x-plist"
+        )
+        XCTAssertNotNil(URLRequest.HTTPBody, "HTTPBody should not be nil")
+
+        if let HTTPBody = URLRequest.HTTPBody {
+            do {
+                let plist = try NSPropertyListSerialization.propertyListWithData(
+                    HTTPBody,
+                    options: NSPropertyListReadOptions.Immutable,
+                    format: nil
+                )
+                if let plist = plist as? NSObject {
+                    XCTAssertEqual(plist, parameters as NSObject, "HTTPBody plist does not equal parameters")
+                } else {
+                    XCTFail("plist should be an NSObject")
+                }
+            } catch {
+                XCTFail("plist should not be nil")
+            }
+        }
+    }
+
+    func testPropertyListParameterEncodeDateAndDataParameters() {
+        // Given
+        let date: NSDate = NSDate()
+        let data: NSData = "data".dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+
+        let parameters = [
+            "date": date,
+            "data": data
+        ]
+
+        // When
+        let (URLRequest, error) = encoding.encode(self.URLRequest, parameters: parameters)
+
+        // Then
+        XCTAssertNil(error, "error should be nil")
+        XCTAssertNil(URLRequest.URL?.query, "query should be nil")
+        XCTAssertNotNil(URLRequest.valueForHTTPHeaderField("Content-Type"), "Content-Type should not be nil")
+        XCTAssertEqual(
+            URLRequest.valueForHTTPHeaderField("Content-Type") ?? "",
+            "application/x-plist",
+            "Content-Type should be application/x-plist"
+        )
+        XCTAssertNotNil(URLRequest.HTTPBody, "HTTPBody should not be nil")
+
+        if let HTTPBody = URLRequest.HTTPBody {
+            do {
+                let plist = try NSPropertyListSerialization.propertyListWithData(
+                    HTTPBody,
+                    options: NSPropertyListReadOptions.Immutable,
+                    format: nil
+                )
+                XCTAssertTrue(plist.valueForKey("date") is NSDate, "date is not NSDate")
+                XCTAssertTrue(plist.valueForKey("data") is NSData, "data is not NSData")
+            } catch {
+                XCTFail("plist should not be nil")
+            }
+        } else {
+            XCTFail("HTTPBody should not be nil")
+        }
+    }
+
+    func testPropertyListParameterEncodeParametersRetainsCustomContentType() {
+        // Given
+        let mutableURLRequest = NSMutableURLRequest(URL: NSURL(string: "https://example.com/")!)
+        mutableURLRequest.setValue("application/custom-plist-type+plist", forHTTPHeaderField: "Content-Type")
+
+        let parameters = ["foo": "bar"]
+
+        // When
+        let (URLRequest, error) = encoding.encode(mutableURLRequest, parameters: parameters)
+
+        // Then
+        XCTAssertNil(error)
+        XCTAssertNil(URLRequest.URL?.query)
+        XCTAssertEqual(URLRequest.valueForHTTPHeaderField("Content-Type"), "application/custom-plist-type+plist")
+    }
+}
+
+// MARK: -
+
+class CustomParameterEncodingTestCase: ParameterEncodingTestCase {
+    // MARK: Tests
+
+    func testCustomParameterEncode() {
+        // Given
+        let encodingClosure: (URLRequestConvertible, [String: AnyObject]?) -> (NSMutableURLRequest, NSError?) = { URLRequest, parameters in
+            guard let parameters = parameters else { return (URLRequest.URLRequest, nil) }
+
+            var URLString = URLRequest.URLRequest.URLString + "?"
+
+            parameters.forEach { URLString += "\($0)=\($1)" }
+
+            let mutableURLRequest = URLRequest.URLRequest
+            mutableURLRequest.URL = NSURL(string: URLString)!
+
+            return (mutableURLRequest, nil)
+        }
+
+        // When
+        let encoding: ParameterEncoding = .Custom(encodingClosure)
+
+        // Then
+        let URL = NSURL(string: "https://example.com")!
+        let URLRequest = NSURLRequest(URL: URL)
+        let parameters: [String: AnyObject] = ["foo": "bar"]
+
+        XCTAssertEqual(
+            encoding.encode(URLRequest, parameters: parameters).0.URLString,
+            "https://example.com?foo=bar",
+            "the encoded URL should match the expected value"
+        )
+    }
+}
diff --git a/swift/Alamofire-3.3.0/Tests/RequestTests.swift b/swift/Alamofire-3.3.0/Tests/RequestTests.swift
new file mode 100755
index 0000000..1cbaa8c
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/RequestTests.swift
@@ -0,0 +1,617 @@
+// RequestTests.swift
+//
+// Copyright (c) 2014-2015 Alamofire Software Foundation (http://alamofire.org)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import Alamofire
+import Foundation
+import XCTest
+
+class RequestInitializationTestCase: BaseTestCase {
+    func testRequestClassMethodWithMethodAndURL() {
+        // Given
+        let URLString = "https://httpbin.org/"
+
+        // When
+        let request = Alamofire.request(.GET, URLString)
+
+        // Then
+        XCTAssertNotNil(request.request, "request URL request should not be nil")
+        XCTAssertEqual(request.request?.HTTPMethod ?? "", "GET", "request HTTP method should match expected value")
+        XCTAssertEqual(request.request?.URLString ?? "", URLString, "request URL string should be equal")
+        XCTAssertNil(request.response, "request response should be nil")
+    }
+
+    func testRequestClassMethodWithMethodAndURLAndParameters() {
+        // Given
+        let URLString = "https://httpbin.org/get"
+
+        // When
+        let request = Alamofire.request(.GET, URLString, parameters: ["foo": "bar"])
+
+        // Then
+        XCTAssertNotNil(request.request, "request URL request should not be nil")
+        XCTAssertEqual(request.request?.HTTPMethod ?? "", "GET", "request HTTP method should match expected value")
+        XCTAssertNotEqual(request.request?.URLString ?? "", URLString, "request URL string should be equal")
+        XCTAssertEqual(request.request?.URL?.query ?? "", "foo=bar", "query is incorrect")
+        XCTAssertNil(request.response, "request response should be nil")
+    }
+
+    func testRequestClassMethodWithMethodURLParametersAndHeaders() {
+        // Given
+        let URLString = "https://httpbin.org/get"
+        let headers = ["Authorization": "123456"]
+
+        // When
+        let request = Alamofire.request(.GET, URLString, parameters: ["foo": "bar"], headers: headers)
+
+        // Then
+        XCTAssertNotNil(request.request, "request should not be nil")
+        XCTAssertEqual(request.request?.HTTPMethod ?? "", "GET", "request HTTP method should match expected value")
+        XCTAssertNotEqual(request.request?.URLString ?? "", URLString, "request URL string should be equal")
+        XCTAssertEqual(request.request?.URL?.query ?? "", "foo=bar", "query is incorrect")
+
+        let authorizationHeader = request.request?.valueForHTTPHeaderField("Authorization") ?? ""
+        XCTAssertEqual(authorizationHeader, "123456", "Authorization header is incorrect")
+
+        XCTAssertNil(request.response, "response should be nil")
+    }
+}
+
+// MARK: -
+
+class RequestResponseTestCase: BaseTestCase {
+    func testRequestResponse() {
+        // Given
+        let URLString = "https://httpbin.org/get"
+
+        let expectation = expectationWithDescription("GET request should succeed: \(URLString)")
+
+        var request: NSURLRequest?
+        var response: NSHTTPURLResponse?
+        var data: NSData?
+        var error: NSError?
+
+        // When
+        Alamofire.request(.GET, URLString, parameters: ["foo": "bar"])
+            .response { responseRequest, responseResponse, responseData, responseError in
+                request = responseRequest
+                response = responseResponse
+                data = responseData
+                error = responseError
+
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(request, "request should not be nil")
+        XCTAssertNotNil(response, "response should not be nil")
+        XCTAssertNotNil(data, "data should not be nil")
+        XCTAssertNil(error, "error should be nil")
+    }
+
+    func testRequestResponseWithProgress() {
+        // Given
+        let randomBytes = 4 * 1024 * 1024
+        let URLString = "https://httpbin.org/bytes/\(randomBytes)"
+
+        let expectation = expectationWithDescription("Bytes download progress should be reported: \(URLString)")
+
+        var byteValues: [(bytes: Int64, totalBytes: Int64, totalBytesExpected: Int64)] = []
+        var progressValues: [(completedUnitCount: Int64, totalUnitCount: Int64)] = []
+        var responseRequest: NSURLRequest?
+        var responseResponse: NSHTTPURLResponse?
+        var responseData: NSData?
+        var responseError: ErrorType?
+
+        // When
+        let request = Alamofire.request(.GET, URLString)
+        request.progress { bytesRead, totalBytesRead, totalBytesExpectedToRead in
+            let bytes = (bytes: bytesRead, totalBytes: totalBytesRead, totalBytesExpected: totalBytesExpectedToRead)
+            byteValues.append(bytes)
+
+            let progress = (
+                completedUnitCount: request.progress.completedUnitCount,
+                totalUnitCount: request.progress.totalUnitCount
+            )
+            progressValues.append(progress)
+        }
+        request.response { request, response, data, error in
+            responseRequest = request
+            responseResponse = response
+            responseData = data
+            responseError = error
+
+            expectation.fulfill()
+        }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(responseRequest, "response request should not be nil")
+        XCTAssertNotNil(responseResponse, "response response should not be nil")
+        XCTAssertNotNil(responseData, "response data should not be nil")
+        XCTAssertNil(responseError, "response error should be nil")
+
+        XCTAssertEqual(byteValues.count, progressValues.count, "byteValues count should equal progressValues count")
+
+        if byteValues.count == progressValues.count {
+            for index in 0..<byteValues.count {
+                let byteValue = byteValues[index]
+                let progressValue = progressValues[index]
+
+                XCTAssertGreaterThan(byteValue.bytes, 0, "reported bytes should always be greater than 0")
+                XCTAssertEqual(
+                    byteValue.totalBytes,
+                    progressValue.completedUnitCount,
+                    "total bytes should be equal to completed unit count"
+                )
+                XCTAssertEqual(
+                    byteValue.totalBytesExpected,
+                    progressValue.totalUnitCount,
+                    "total bytes expected should be equal to total unit count"
+                )
+            }
+        }
+
+        if let
+            lastByteValue = byteValues.last,
+            lastProgressValue = progressValues.last
+        {
+            let byteValueFractionalCompletion = Double(lastByteValue.totalBytes) / Double(lastByteValue.totalBytesExpected)
+            let progressValueFractionalCompletion = Double(lastProgressValue.0) / Double(lastProgressValue.1)
+
+            XCTAssertEqual(byteValueFractionalCompletion, 1.0, "byte value fractional completion should equal 1.0")
+            XCTAssertEqual(progressValueFractionalCompletion, 1.0, "progress value fractional completion should equal 1.0")
+        } else {
+            XCTFail("last item in bytesValues and progressValues should not be nil")
+        }
+    }
+
+    func testRequestResponseWithStream() {
+        // Given
+        let randomBytes = 4 * 1024 * 1024
+        let URLString = "https://httpbin.org/bytes/\(randomBytes)"
+
+        let expectation = expectationWithDescription("Bytes download progress should be reported: \(URLString)")
+
+        var byteValues: [(bytes: Int64, totalBytes: Int64, totalBytesExpected: Int64)] = []
+        var progressValues: [(completedUnitCount: Int64, totalUnitCount: Int64)] = []
+        var accumulatedData = [NSData]()
+
+        var responseRequest: NSURLRequest?
+        var responseResponse: NSHTTPURLResponse?
+        var responseData: NSData?
+        var responseError: ErrorType?
+
+        // When
+        let request = Alamofire.request(.GET, URLString)
+        request.progress { bytesRead, totalBytesRead, totalBytesExpectedToRead in
+            let bytes = (bytes: bytesRead, totalBytes: totalBytesRead, totalBytesExpected: totalBytesExpectedToRead)
+            byteValues.append(bytes)
+
+            let progress = (
+                completedUnitCount: request.progress.completedUnitCount,
+                totalUnitCount: request.progress.totalUnitCount
+            )
+            progressValues.append(progress)
+        }
+        request.stream { accumulatedData.append($0) }
+        request.response { request, response, data, error in
+            responseRequest = request
+            responseResponse = response
+            responseData = data
+            responseError = error
+
+            expectation.fulfill()
+        }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(responseRequest, "response request should not be nil")
+        XCTAssertNotNil(responseResponse, "response response should not be nil")
+        XCTAssertNil(responseData, "response data should be nil")
+        XCTAssertNil(responseError, "response error should be nil")
+        XCTAssertGreaterThanOrEqual(accumulatedData.count, 1, "accumulated data should have one or more parts")
+
+        XCTAssertEqual(byteValues.count, progressValues.count, "byteValues count should equal progressValues count")
+
+        if byteValues.count == progressValues.count {
+            for index in 0..<byteValues.count {
+                let byteValue = byteValues[index]
+                let progressValue = progressValues[index]
+
+                XCTAssertGreaterThan(byteValue.bytes, 0, "reported bytes should always be greater than 0")
+                XCTAssertEqual(
+                    byteValue.totalBytes,
+                    progressValue.completedUnitCount,
+                    "total bytes should be equal to completed unit count"
+                )
+                XCTAssertEqual(
+                    byteValue.totalBytesExpected,
+                    progressValue.totalUnitCount,
+                    "total bytes expected should be equal to total unit count"
+                )
+            }
+        }
+
+        if let
+            lastByteValue = byteValues.last,
+            lastProgressValue = progressValues.last
+        {
+            let byteValueFractionalCompletion = Double(lastByteValue.totalBytes) / Double(lastByteValue.totalBytesExpected)
+            let progressValueFractionalCompletion = Double(lastProgressValue.0) / Double(lastProgressValue.1)
+
+            XCTAssertEqual(byteValueFractionalCompletion, 1.0, "byte value fractional completion should equal 1.0")
+            XCTAssertEqual(
+                progressValueFractionalCompletion,
+                1.0,
+                "progress value fractional completion should equal 1.0"
+            )
+            XCTAssertEqual(
+                accumulatedData.reduce(Int64(0)) { $0 + $1.length },
+                lastByteValue.totalBytes,
+                "accumulated data length should match byte count"
+            )
+        } else {
+            XCTFail("last item in bytesValues and progressValues should not be nil")
+        }
+    }
+
+    func testPOSTRequestWithUnicodeParameters() {
+        // Given
+        let URLString = "https://httpbin.org/post"
+        let parameters = [
+            "french": "français",
+            "japanese": "日本語",
+            "arabic": "العربية",
+            "emoji": "😃"
+        ]
+
+        let expectation = expectationWithDescription("request should succeed")
+
+        var response: Response<AnyObject, NSError>?
+
+        // When
+        Alamofire.request(.POST, URLString, parameters: parameters)
+            .responseJSON { closureResponse in
+                response = closureResponse
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        if let response = response {
+            XCTAssertNotNil(response.request, "request should not be nil")
+            XCTAssertNotNil(response.response, "response should not be nil")
+            XCTAssertNotNil(response.data, "data should not be nil")
+
+            if let
+                JSON = response.result.value as? [String: AnyObject],
+                form = JSON["form"] as? [String: String]
+            {
+                XCTAssertEqual(form["french"], parameters["french"], "french parameter value should match form value")
+                XCTAssertEqual(form["japanese"], parameters["japanese"], "japanese parameter value should match form value")
+                XCTAssertEqual(form["arabic"], parameters["arabic"], "arabic parameter value should match form value")
+                XCTAssertEqual(form["emoji"], parameters["emoji"], "emoji parameter value should match form value")
+            } else {
+                XCTFail("form parameter in JSON should not be nil")
+            }
+        } else {
+            XCTFail("response should not be nil")
+        }
+    }
+
+    func testPOSTRequestWithBase64EncodedImages() {
+        // Given
+        let URLString = "https://httpbin.org/post"
+
+        let pngBase64EncodedString: String = {
+            let URL = URLForResource("unicorn", withExtension: "png")
+            let data = NSData(contentsOfURL: URL)!
+
+            return data.base64EncodedStringWithOptions(.Encoding64CharacterLineLength)
+        }()
+
+        let jpegBase64EncodedString: String = {
+            let URL = URLForResource("rainbow", withExtension: "jpg")
+            let data = NSData(contentsOfURL: URL)!
+
+            return data.base64EncodedStringWithOptions(.Encoding64CharacterLineLength)
+        }()
+
+        let parameters = [
+            "email": "user@alamofire.org",
+            "png_image": pngBase64EncodedString,
+            "jpeg_image": jpegBase64EncodedString
+        ]
+
+        let expectation = expectationWithDescription("request should succeed")
+
+        var response: Response<AnyObject, NSError>?
+
+        // When
+        Alamofire.request(.POST, URLString, parameters: parameters)
+            .responseJSON { closureResponse in
+                response = closureResponse
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        if let response = response {
+            XCTAssertNotNil(response.request, "request should not be nil")
+            XCTAssertNotNil(response.response, "response should not be nil")
+            XCTAssertNotNil(response.data, "data should not be nil")
+            XCTAssertTrue(response.result.isSuccess, "result should be success")
+
+            if let
+                JSON = response.result.value as? [String: AnyObject],
+                form = JSON["form"] as? [String: String]
+            {
+                XCTAssertEqual(form["email"], parameters["email"], "email parameter value should match form value")
+                XCTAssertEqual(form["png_image"], parameters["png_image"], "png_image parameter value should match form value")
+                XCTAssertEqual(form["jpeg_image"], parameters["jpeg_image"], "jpeg_image parameter value should match form value")
+            } else {
+                XCTFail("form parameter in JSON should not be nil")
+            }
+        } else {
+            XCTFail("response should not be nil")
+        }
+    }
+}
+
+// MARK: -
+
+extension Request {
+    private func preValidate(operation: Void -> Void) -> Self {
+        delegate.queue.addOperationWithBlock {
+            operation()
+        }
+
+        return self
+    }
+
+    private func postValidate(operation: Void -> Void) -> Self {
+        delegate.queue.addOperationWithBlock {
+            operation()
+        }
+
+        return self
+    }
+}
+
+// MARK: -
+
+class RequestExtensionTestCase: BaseTestCase {
+    func testThatRequestExtensionHasAccessToTaskDelegateQueue() {
+        // Given
+        let URLString = "https://httpbin.org/get"
+        let expectation = expectationWithDescription("GET request should succeed: \(URLString)")
+
+        var responses: [String] = []
+
+        // When
+        Alamofire.request(.GET, URLString)
+            .preValidate {
+                responses.append("preValidate")
+            }
+            .validate()
+            .postValidate {
+                responses.append("postValidate")
+            }
+            .response { _, _, _, _ in
+                responses.append("response")
+                expectation.fulfill()
+        }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        if responses.count == 3 {
+            XCTAssertEqual(responses[0], "preValidate", "response at index 0 should be preValidate")
+            XCTAssertEqual(responses[1], "postValidate", "response at index 1 should be postValidate")
+            XCTAssertEqual(responses[2], "response", "response at index 2 should be response")
+        } else {
+            XCTFail("responses count should be equal to 3")
+        }
+    }
+}
+
+// MARK: -
+
+class RequestDescriptionTestCase: BaseTestCase {
+    func testRequestDescription() {
+        // Given
+        let URLString = "https://httpbin.org/get"
+        let request = Alamofire.request(.GET, URLString)
+        let initialRequestDescription = request.description
+
+        let expectation = expectationWithDescription("Request description should update: \(URLString)")
+
+        var finalRequestDescription: String?
+        var response: NSHTTPURLResponse?
+
+        // When
+        request.response { _, responseResponse, _, _ in
+            finalRequestDescription = request.description
+            response = responseResponse
+
+            expectation.fulfill()
+        }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertEqual(initialRequestDescription, "GET https://httpbin.org/get", "incorrect request description")
+        XCTAssertEqual(
+            finalRequestDescription ?? "",
+            "GET https://httpbin.org/get (\(response?.statusCode ?? -1))",
+            "incorrect request description"
+        )
+    }
+}
+
+// MARK: -
+
+class RequestDebugDescriptionTestCase: BaseTestCase {
+    // MARK: Properties
+
+    let manager: Manager = {
+        let manager = Manager(configuration: NSURLSessionConfiguration.defaultSessionConfiguration())
+        manager.startRequestsImmediately = false
+        return manager
+    }()
+
+    let managerDisallowingCookies: Manager = {
+        let configuration = NSURLSessionConfiguration.defaultSessionConfiguration()
+        configuration.HTTPShouldSetCookies = false
+
+        let manager = Manager(configuration: configuration)
+        manager.startRequestsImmediately = false
+
+        return manager
+    }()
+
+    // MARK: Tests
+
+    func testGETRequestDebugDescription() {
+        // Given
+        let URLString = "https://httpbin.org/get"
+
+        // When
+        let request = manager.request(.GET, URLString)
+        let components = cURLCommandComponents(request)
+
+        // Then
+        XCTAssertEqual(components[0..<3], ["$", "curl", "-i"], "components should be equal")
+        XCTAssertFalse(components.contains("-X"), "command should not contain explicit -X flag")
+        XCTAssertEqual(components.last ?? "", "\"\(URLString)\"", "URL component should be equal")
+    }
+
+    func testPOSTRequestDebugDescription() {
+        // Given
+        let URLString = "https://httpbin.org/post"
+
+        // When
+        let request = manager.request(.POST, URLString)
+        let components = cURLCommandComponents(request)
+
+        // Then
+        XCTAssertEqual(components[0..<3], ["$", "curl", "-i"], "components should be equal")
+        XCTAssertEqual(components[3..<5], ["-X", "POST"], "command should contain explicit -X flag")
+        XCTAssertEqual(components.last ?? "", "\"\(URLString)\"", "URL component should be equal")
+    }
+
+    func testPOSTRequestWithJSONParametersDebugDescription() {
+        // Given
+        let URLString = "https://httpbin.org/post"
+
+        // When
+        let request = manager.request(.POST, URLString, parameters: ["foo": "bar"], encoding: .JSON)
+        let components = cURLCommandComponents(request)
+
+        // Then
+        XCTAssertEqual(components[0..<3], ["$", "curl", "-i"], "components should be equal")
+        XCTAssertEqual(components[3..<5], ["-X", "POST"], "command should contain explicit -X flag")
+        XCTAssertTrue(
+            request.debugDescription.rangeOfString("-H \"Content-Type: application/json\"") != nil,
+            "command should contain 'application/json' Content-Type"
+        )
+        XCTAssertTrue(
+            request.debugDescription.rangeOfString("-d \"{\\\"foo\\\":\\\"bar\\\"}\"") != nil,
+            "command data should contain JSON encoded parameters"
+        )
+        XCTAssertEqual(components.last ?? "", "\"\(URLString)\"", "URL component should be equal")
+    }
+
+    func testPOSTRequestWithCookieDebugDescription() {
+        // Given
+        let URLString = "https://httpbin.org/post"
+
+        let properties = [
+            NSHTTPCookieDomain: "httpbin.org",
+            NSHTTPCookiePath: "/post",
+            NSHTTPCookieName: "foo",
+            NSHTTPCookieValue: "bar",
+        ]
+
+        let cookie = NSHTTPCookie(properties: properties)!
+        manager.session.configuration.HTTPCookieStorage?.setCookie(cookie)
+
+        // When
+        let request = manager.request(.POST, URLString)
+        let components = cURLCommandComponents(request)
+
+        // Then
+        XCTAssertEqual(components[0..<3], ["$", "curl", "-i"], "components should be equal")
+        XCTAssertEqual(components[3..<5], ["-X", "POST"], "command should contain explicit -X flag")
+        XCTAssertEqual(components.last ?? "", "\"\(URLString)\"", "URL component should be equal")
+        XCTAssertEqual(components[5..<6], ["-b"], "command should contain -b flag")
+    }
+
+    func testPOSTRequestWithCookiesDisabledDebugDescription() {
+        // Given
+        let URLString = "https://httpbin.org/post"
+
+        let properties = [
+            NSHTTPCookieDomain: "httpbin.org",
+            NSHTTPCookiePath: "/post",
+            NSHTTPCookieName: "foo",
+            NSHTTPCookieValue: "bar",
+        ]
+
+        let cookie = NSHTTPCookie(properties: properties)!
+        managerDisallowingCookies.session.configuration.HTTPCookieStorage?.setCookie(cookie)
+
+        // When
+        let request = managerDisallowingCookies.request(.POST, URLString)
+        let components = cURLCommandComponents(request)
+
+        // Then
+        let cookieComponents = components.filter { $0 == "-b" }
+        XCTAssertTrue(cookieComponents.isEmpty, "command should not contain -b flag")
+    }
+
+    func testThatRequestWithInvalidURLDebugDescription() {
+        // Given
+        let URLString = "invalid_url"
+
+        // When
+        let request = manager.request(.GET, URLString)
+        let debugDescription = request.debugDescription
+
+        // Then
+        XCTAssertNotNil(debugDescription, "debugDescription should not crash")
+    }
+
+    // MARK: Test Helper Methods
+
+    private func cURLCommandComponents(request: Request) -> [String] {
+        let whitespaceCharacterSet = NSCharacterSet.whitespaceAndNewlineCharacterSet()
+        return request.debugDescription.componentsSeparatedByCharactersInSet(whitespaceCharacterSet)
+                                       .filter { $0 != "" && $0 != "\\" }
+    }
+}
diff --git a/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/alamofire-root-ca.cer b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/alamofire-root-ca.cer
new file mode 100755
index 0000000..b5ae743
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/alamofire-root-ca.cer
Binary files differ
diff --git a/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/alamofire-signing-ca1.cer b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/alamofire-signing-ca1.cer
new file mode 100755
index 0000000..38596c5
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/alamofire-signing-ca1.cer
Binary files differ
diff --git a/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/alamofire-signing-ca2.cer b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/alamofire-signing-ca2.cer
new file mode 100755
index 0000000..edd135c
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/alamofire-signing-ca2.cer
Binary files differ
diff --git a/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/expired.cer b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/expired.cer
new file mode 100755
index 0000000..af5e484
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/expired.cer
Binary files differ
diff --git a/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/missing-dns-name-and-uri.cer b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/missing-dns-name-and-uri.cer
new file mode 100755
index 0000000..9e4ef3c
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/missing-dns-name-and-uri.cer
Binary files differ
diff --git a/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/multiple-dns-names.cer b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/multiple-dns-names.cer
new file mode 100755
index 0000000..39828eb
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/multiple-dns-names.cer
Binary files differ
diff --git a/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/signed-by-ca1.cer b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/signed-by-ca1.cer
new file mode 100755
index 0000000..1acfcfc
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/signed-by-ca1.cer
Binary files differ
diff --git a/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/signed-by-ca2.cer b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/signed-by-ca2.cer
new file mode 100755
index 0000000..709889d
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/signed-by-ca2.cer
Binary files differ
diff --git a/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/test.alamofire.org.cer b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/test.alamofire.org.cer
new file mode 100755
index 0000000..01c404b
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/test.alamofire.org.cer
Binary files differ
diff --git a/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/valid-dns-name.cer b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/valid-dns-name.cer
new file mode 100755
index 0000000..a5da56d
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/valid-dns-name.cer
Binary files differ
diff --git a/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/valid-uri.cer b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/valid-uri.cer
new file mode 100755
index 0000000..80838d4
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/valid-uri.cer
Binary files differ
diff --git a/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/wildcard.alamofire.org.cer b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/wildcard.alamofire.org.cer
new file mode 100755
index 0000000..959a5d8
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/alamofire.org/wildcard.alamofire.org.cer
Binary files differ
diff --git a/swift/Alamofire-3.3.0/Tests/Resources/Certificates/disig.sk/intermediate-ca-disig.cer b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/disig.sk/intermediate-ca-disig.cer
new file mode 100755
index 0000000..14866ee
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/disig.sk/intermediate-ca-disig.cer
Binary files differ
diff --git a/swift/Alamofire-3.3.0/Tests/Resources/Certificates/disig.sk/root-ca-disig.cer b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/disig.sk/root-ca-disig.cer
new file mode 100755
index 0000000..e5e2343
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/disig.sk/root-ca-disig.cer
Binary files differ
diff --git a/swift/Alamofire-3.3.0/Tests/Resources/Certificates/disig.sk/testssl-expire.disig.sk.cer b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/disig.sk/testssl-expire.disig.sk.cer
new file mode 100755
index 0000000..6779096
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/disig.sk/testssl-expire.disig.sk.cer
Binary files differ
diff --git a/swift/Alamofire-3.3.0/Tests/Resources/Certificates/selfSignedAndMalformedCerts/certDER.cer b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/selfSignedAndMalformedCerts/certDER.cer
new file mode 100755
index 0000000..a9a2bdb
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/selfSignedAndMalformedCerts/certDER.cer
Binary files differ
diff --git a/swift/Alamofire-3.3.0/Tests/Resources/Certificates/selfSignedAndMalformedCerts/certDER.crt b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/selfSignedAndMalformedCerts/certDER.crt
new file mode 100755
index 0000000..a9a2bdb
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/selfSignedAndMalformedCerts/certDER.crt
Binary files differ
diff --git a/swift/Alamofire-3.3.0/Tests/Resources/Certificates/selfSignedAndMalformedCerts/certDER.der b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/selfSignedAndMalformedCerts/certDER.der
new file mode 100755
index 0000000..a9a2bdb
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/selfSignedAndMalformedCerts/certDER.der
Binary files differ
diff --git a/swift/Alamofire-3.3.0/Tests/Resources/Certificates/selfSignedAndMalformedCerts/certPEM.cer b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/selfSignedAndMalformedCerts/certPEM.cer
new file mode 100755
index 0000000..d22b9ab
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/selfSignedAndMalformedCerts/certPEM.cer
@@ -0,0 +1,24 @@
+-----BEGIN CERTIFICATE-----
+MIID9DCCAtygAwIBAgIJAIqBVOBRW4qMMA0GCSqGSIb3DQEBCwUAMFkxCzAJBgNV
+BAYTAlVTMQswCQYDVQQIEwJDQTERMA8GA1UEBxMIQmVya2VsZXkxKjAoBgNVBAoT
+IVRlc3RpbmcgQ2VydGlmaWNhdGVzIGluIEFsYW1vRmlyZTAeFw0xNTEyMTEwMjA5
+MDlaFw0xNjEyMTAwMjA5MDlaMFkxCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTER
+MA8GA1UEBxMIQmVya2VsZXkxKjAoBgNVBAoTIVRlc3RpbmcgQ2VydGlmaWNhdGVz
+IGluIEFsYW1vRmlyZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJy9
+FTR4QzhYyo2v2yv8SwlBQ32MHQF8Ez1J+YBsyZjcTVOGJtyPxrbJxGuRhyDzKUqz
+X/zTsT+JPvZQXXBmyq0l0DhCcK84cHyVLcdEAzukam85EpJRWzSg8kDKzuTx2oLk
+X8Zdcj7EEtYWV/5+/YahM4tXYhg+Lqm6koJEVHMld6zfedC7HN+jsTb73IrAY0dd
+BPl7WPgDIPEl0kcGI6F7NS0+CKsgX412E5+TGUkvA8VI+e9+cn/EXBdklVQQGSOu
+rHpcoOi1VqnQI0hGXlFi4MpamwMG2yArIUU0TXZ7G+/AbUYiGdB6ogvg5UTCfyZy
+UXVljSJyzYmLs7hXQK8CAwEAAaOBvjCBuzAdBgNVHQ4EFgQU9EaWHrJGYvpCEW5f
+CUEMRk9DlN8wgYsGA1UdIwSBgzCBgIAU9EaWHrJGYvpCEW5fCUEMRk9DlN+hXaRb
+MFkxCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTERMA8GA1UEBxMIQmVya2VsZXkx
+KjAoBgNVBAoTIVRlc3RpbmcgQ2VydGlmaWNhdGVzIGluIEFsYW1vRmlyZYIJAIqB
+VOBRW4qMMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAEeHeXNZGHJW
+VImbOHrYmSsZ5jFnzjGw8ynkOrcoJzaxg3OHoo/pNCQ7KcrIa5YPNFiNoaSa/Lzn
+LBt6HkM1Vi1rMaERHLWp/W5ruInCu4CuVtQshdNcOEofJ03wdrQylOBZq8MZkTVn
+NcqUFg/sBANM/9WhafVi7XaUjWl+V7ZnzdbKP/ywvsiJ+wyKMA7Wt19HMrV2dTBz
+CD4vxpwOBev0oTp2NvAHdgNkeK52skHoz+MY8uivVJQr4hqLYJPXUyAcVZCaqeK/
+hxDkbRo6eZsYcjTRqMKtGMVjHHd8alXcVJwcuWkhUYxy8jRf0kFj/9mMie9jRokJ
+ovKLbNJfEbI=
+-----END CERTIFICATE-----
diff --git a/swift/Alamofire-3.3.0/Tests/Resources/Certificates/selfSignedAndMalformedCerts/certPEM.crt b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/selfSignedAndMalformedCerts/certPEM.crt
new file mode 100755
index 0000000..d22b9ab
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/selfSignedAndMalformedCerts/certPEM.crt
@@ -0,0 +1,24 @@
+-----BEGIN CERTIFICATE-----
+MIID9DCCAtygAwIBAgIJAIqBVOBRW4qMMA0GCSqGSIb3DQEBCwUAMFkxCzAJBgNV
+BAYTAlVTMQswCQYDVQQIEwJDQTERMA8GA1UEBxMIQmVya2VsZXkxKjAoBgNVBAoT
+IVRlc3RpbmcgQ2VydGlmaWNhdGVzIGluIEFsYW1vRmlyZTAeFw0xNTEyMTEwMjA5
+MDlaFw0xNjEyMTAwMjA5MDlaMFkxCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTER
+MA8GA1UEBxMIQmVya2VsZXkxKjAoBgNVBAoTIVRlc3RpbmcgQ2VydGlmaWNhdGVz
+IGluIEFsYW1vRmlyZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJy9
+FTR4QzhYyo2v2yv8SwlBQ32MHQF8Ez1J+YBsyZjcTVOGJtyPxrbJxGuRhyDzKUqz
+X/zTsT+JPvZQXXBmyq0l0DhCcK84cHyVLcdEAzukam85EpJRWzSg8kDKzuTx2oLk
+X8Zdcj7EEtYWV/5+/YahM4tXYhg+Lqm6koJEVHMld6zfedC7HN+jsTb73IrAY0dd
+BPl7WPgDIPEl0kcGI6F7NS0+CKsgX412E5+TGUkvA8VI+e9+cn/EXBdklVQQGSOu
+rHpcoOi1VqnQI0hGXlFi4MpamwMG2yArIUU0TXZ7G+/AbUYiGdB6ogvg5UTCfyZy
+UXVljSJyzYmLs7hXQK8CAwEAAaOBvjCBuzAdBgNVHQ4EFgQU9EaWHrJGYvpCEW5f
+CUEMRk9DlN8wgYsGA1UdIwSBgzCBgIAU9EaWHrJGYvpCEW5fCUEMRk9DlN+hXaRb
+MFkxCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTERMA8GA1UEBxMIQmVya2VsZXkx
+KjAoBgNVBAoTIVRlc3RpbmcgQ2VydGlmaWNhdGVzIGluIEFsYW1vRmlyZYIJAIqB
+VOBRW4qMMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAEeHeXNZGHJW
+VImbOHrYmSsZ5jFnzjGw8ynkOrcoJzaxg3OHoo/pNCQ7KcrIa5YPNFiNoaSa/Lzn
+LBt6HkM1Vi1rMaERHLWp/W5ruInCu4CuVtQshdNcOEofJ03wdrQylOBZq8MZkTVn
+NcqUFg/sBANM/9WhafVi7XaUjWl+V7ZnzdbKP/ywvsiJ+wyKMA7Wt19HMrV2dTBz
+CD4vxpwOBev0oTp2NvAHdgNkeK52skHoz+MY8uivVJQr4hqLYJPXUyAcVZCaqeK/
+hxDkbRo6eZsYcjTRqMKtGMVjHHd8alXcVJwcuWkhUYxy8jRf0kFj/9mMie9jRokJ
+ovKLbNJfEbI=
+-----END CERTIFICATE-----
diff --git a/swift/Alamofire-3.3.0/Tests/Resources/Certificates/selfSignedAndMalformedCerts/keyDER.der b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/selfSignedAndMalformedCerts/keyDER.der
new file mode 100755
index 0000000..969657d
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/selfSignedAndMalformedCerts/keyDER.der
Binary files differ
diff --git a/swift/Alamofire-3.3.0/Tests/Resources/Certificates/selfSignedAndMalformedCerts/randomGibberish.crt b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/selfSignedAndMalformedCerts/randomGibberish.crt
new file mode 100755
index 0000000..23d1360
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/Resources/Certificates/selfSignedAndMalformedCerts/randomGibberish.crt
Binary files differ
diff --git a/swift/Alamofire-3.3.0/Tests/Resources/Images/rainbow.jpg b/swift/Alamofire-3.3.0/Tests/Resources/Images/rainbow.jpg
new file mode 100755
index 0000000..9122468
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/Resources/Images/rainbow.jpg
Binary files differ
diff --git a/swift/Alamofire-3.3.0/Tests/Resources/Images/unicorn.png b/swift/Alamofire-3.3.0/Tests/Resources/Images/unicorn.png
new file mode 100755
index 0000000..bc504e5
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/Resources/Images/unicorn.png
Binary files differ
diff --git a/swift/Alamofire-3.3.0/Tests/ResponseSerializationTests.swift b/swift/Alamofire-3.3.0/Tests/ResponseSerializationTests.swift
new file mode 100755
index 0000000..9d3b712
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/ResponseSerializationTests.swift
@@ -0,0 +1,591 @@
+// ResponseSerializationTests.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import Alamofire
+import Foundation
+import XCTest
+
+class ResponseSerializationTestCase: BaseTestCase {
+    let error = NSError(domain: Error.Domain, code: -10000, userInfo: nil)
+
+    // MARK: - Data Response Serializer Tests
+
+    func testThatDataResponseSerializerSucceedsWhenDataIsNotNil() {
+        // Given
+        let serializer = Request.dataResponseSerializer()
+        let data = "data".dataUsingEncoding(NSUTF8StringEncoding)!
+
+        // When
+        let result = serializer.serializeResponse(nil, nil, data, nil)
+
+        // Then
+        XCTAssertTrue(result.isSuccess, "result is success should be true")
+        XCTAssertNotNil(result.value, "result value should not be nil")
+        XCTAssertNil(result.error, "result error should be nil")
+    }
+
+    func testThatDataResponseSerializerFailsWhenDataIsNil() {
+        // Given
+        let serializer = Request.dataResponseSerializer()
+
+        // When
+        let result = serializer.serializeResponse(nil, nil, nil, nil)
+
+        // Then
+        XCTAssertTrue(result.isFailure, "result is failure should be true")
+        XCTAssertNil(result.value, "result value should be nil")
+        XCTAssertNotNil(result.error, "result error should not be nil")
+
+        if let error = result.error {
+            XCTAssertEqual(error.domain, Error.Domain, "error domain should match expected value")
+            XCTAssertEqual(error.code, Error.Code.DataSerializationFailed.rawValue, "error code should match expected value")
+        } else {
+            XCTFail("error should not be nil")
+        }
+    }
+
+    func testThatDataResponseSerializerFailsWhenErrorIsNotNil() {
+        // Given
+        let serializer = Request.dataResponseSerializer()
+
+        // When
+        let result = serializer.serializeResponse(nil, nil, nil, error)
+
+        // Then
+        XCTAssertTrue(result.isFailure, "result is failure should be true")
+        XCTAssertNil(result.value, "result value should be nil")
+        XCTAssertNotNil(result.error, "result error should not be nil")
+
+        if let error = result.error {
+            XCTAssertEqual(error.domain, Error.Domain, "error domain should match expected value")
+            XCTAssertEqual(error.code, self.error.code, "error code should match expected value")
+        } else {
+            XCTFail("error should not be nil")
+        }
+    }
+
+    func testThatDataResponseSerializerFailsWhenDataIsNilWithNon204ResponseStatusCode() {
+        // Given
+        let serializer = Request.dataResponseSerializer()
+        let URL = NSURL(string: "https://httpbin.org/get")!
+        let response = NSHTTPURLResponse(URL: URL, statusCode: 200, HTTPVersion: "HTTP/1.1", headerFields: nil)
+
+        // When
+        let result = serializer.serializeResponse(nil, response, nil, nil)
+
+        // Then
+        XCTAssertTrue(result.isFailure, "result is failure should be true")
+        XCTAssertNil(result.value, "result value should be nil")
+        XCTAssertNotNil(result.error, "result error should not be nil")
+
+        if let error = result.error {
+            XCTAssertEqual(error.domain, Error.Domain, "error domain should match expected value")
+            XCTAssertEqual(error.code, Error.Code.DataSerializationFailed.rawValue, "error code should match expected value")
+        } else {
+            XCTFail("error should not be nil")
+        }
+    }
+
+    func testThatDataResponseSerializerSucceedsWhenDataIsNilWith204ResponseStatusCode() {
+        // Given
+        let serializer = Request.dataResponseSerializer()
+        let URL = NSURL(string: "https://httpbin.org/get")!
+        let response = NSHTTPURLResponse(URL: URL, statusCode: 204, HTTPVersion: "HTTP/1.1", headerFields: nil)
+
+        // When
+        let result = serializer.serializeResponse(nil, response, nil, nil)
+
+        // Then
+        XCTAssertTrue(result.isSuccess, "result is success should be true")
+        XCTAssertNotNil(result.value, "result value should not be nil")
+        XCTAssertNil(result.error, "result error should be nil")
+
+        if let data = result.value {
+            XCTAssertEqual(data.length, 0, "data length should be zero")
+        }
+    }
+
+    // MARK: - String Response Serializer Tests
+
+    func testThatStringResponseSerializerFailsWhenDataIsNil() {
+        // Given
+        let serializer = Request.stringResponseSerializer()
+
+        // When
+        let result = serializer.serializeResponse(nil, nil, nil, nil)
+
+        // Then
+        XCTAssertTrue(result.isFailure, "result is failure should be true")
+        XCTAssertNil(result.value, "result value should be nil")
+        XCTAssertNotNil(result.error, "result error should not be nil")
+
+        if let error = result.error {
+            XCTAssertEqual(error.domain, Error.Domain, "error domain should match expected value")
+            XCTAssertEqual(error.code, Error.Code.StringSerializationFailed.rawValue, "error code should match expected value")
+        } else {
+            XCTFail("error should not be nil")
+        }
+    }
+
+    func testThatStringResponseSerializerSucceedsWhenDataIsEmpty() {
+        // Given
+        let serializer = Request.stringResponseSerializer()
+
+        // When
+        let result = serializer.serializeResponse(nil, nil, NSData(), nil)
+
+        // Then
+        XCTAssertTrue(result.isSuccess, "result is success should be true")
+        XCTAssertNotNil(result.value, "result value should not be nil")
+        XCTAssertNil(result.error, "result error should be nil")
+    }
+
+    func testThatStringResponseSerializerSucceedsWithUTF8DataAndNoProvidedEncoding() {
+        let serializer = Request.stringResponseSerializer()
+        let data = "data".dataUsingEncoding(NSUTF8StringEncoding)!
+
+        // When
+        let result = serializer.serializeResponse(nil, nil, data, nil)
+
+        // Then
+        XCTAssertTrue(result.isSuccess, "result is success should be true")
+        XCTAssertNotNil(result.value, "result value should not be nil")
+        XCTAssertNil(result.error, "result error should be nil")
+    }
+
+    func testThatStringResponseSerializerSucceedsWithUTF8DataAndUTF8ProvidedEncoding() {
+        let serializer = Request.stringResponseSerializer(encoding: NSUTF8StringEncoding)
+        let data = "data".dataUsingEncoding(NSUTF8StringEncoding)!
+
+        // When
+        let result = serializer.serializeResponse(nil, nil, data, nil)
+
+        // Then
+        XCTAssertTrue(result.isSuccess, "result is success should be true")
+        XCTAssertNotNil(result.value, "result value should not be nil")
+        XCTAssertNil(result.error, "result error should be nil")
+    }
+
+    func testThatStringResponseSerializerSucceedsWithUTF8DataUsingResponseTextEncodingName() {
+        let serializer = Request.stringResponseSerializer()
+        let data = "data".dataUsingEncoding(NSUTF8StringEncoding)!
+        let response = NSHTTPURLResponse(
+            URL: NSURL(string: "https://httpbin.org/get")!,
+            statusCode: 200,
+            HTTPVersion: "HTTP/1.1",
+            headerFields: ["Content-Type": "image/jpeg; charset=utf-8"]
+        )
+
+        // When
+        let result = serializer.serializeResponse(nil, response, data, nil)
+
+        // Then
+        XCTAssertTrue(result.isSuccess, "result is success should be true")
+        XCTAssertNotNil(result.value, "result value should not be nil")
+        XCTAssertNil(result.error, "result error should be nil")
+    }
+
+    func testThatStringResponseSerializerFailsWithUTF32DataAndUTF8ProvidedEncoding() {
+        // Given
+        let serializer = Request.stringResponseSerializer(encoding: NSUTF8StringEncoding)
+        let data = "random data".dataUsingEncoding(NSUTF32StringEncoding)!
+
+        // When
+        let result = serializer.serializeResponse(nil, nil, data, nil)
+
+        // Then
+        XCTAssertTrue(result.isFailure, "result is failure should be true")
+        XCTAssertNil(result.value, "result value should be nil")
+        XCTAssertNotNil(result.error, "result error should not be nil")
+
+        if let error = result.error {
+            XCTAssertEqual(error.domain, Error.Domain, "error domain should match expected value")
+            XCTAssertEqual(error.code, Error.Code.StringSerializationFailed.rawValue, "error code should match expected value")
+        } else {
+            XCTFail("error should not be nil")
+        }
+    }
+
+    func testThatStringResponseSerializerFailsWithUTF32DataAndUTF8ResponseEncoding() {
+        // Given
+        let serializer = Request.stringResponseSerializer()
+        let data = "random data".dataUsingEncoding(NSUTF32StringEncoding)!
+        let response = NSHTTPURLResponse(
+            URL: NSURL(string: "https://httpbin.org/get")!,
+            statusCode: 200,
+            HTTPVersion: "HTTP/1.1",
+            headerFields: ["Content-Type": "image/jpeg; charset=utf-8"]
+        )
+
+        // When
+        let result = serializer.serializeResponse(nil, response, data, nil)
+
+        // Then
+        XCTAssertTrue(result.isFailure, "result is failure should be true")
+        XCTAssertNil(result.value, "result value should be nil")
+        XCTAssertNotNil(result.error, "result error should not be nil")
+
+        if let error = result.error {
+            XCTAssertEqual(error.domain, Error.Domain, "error domain should match expected value")
+            XCTAssertEqual(error.code, Error.Code.StringSerializationFailed.rawValue, "error code should match expected value")
+        } else {
+            XCTFail("error should not be nil")
+        }
+    }
+
+    func testThatStringResponseSerializerFailsWhenErrorIsNotNil() {
+        // Given
+        let serializer = Request.stringResponseSerializer()
+
+        // When
+        let result = serializer.serializeResponse(nil, nil, nil, error)
+
+        // Then
+        XCTAssertTrue(result.isFailure, "result is failure should be true")
+        XCTAssertNil(result.value, "result value should be nil")
+        XCTAssertNotNil(result.error, "result error should not be nil")
+
+        if let error = result.error {
+            XCTAssertEqual(error.domain, Error.Domain, "error domain should match expected value")
+            XCTAssertEqual(error.code, self.error.code, "error code should match expected value")
+        } else {
+            XCTFail("error should not be nil")
+        }
+    }
+
+    func testThatStringResponseSerializerFailsWhenDataIsNilWithNon204ResponseStatusCode() {
+        // Given
+        let serializer = Request.stringResponseSerializer()
+        let URL = NSURL(string: "https://httpbin.org/get")!
+        let response = NSHTTPURLResponse(URL: URL, statusCode: 200, HTTPVersion: "HTTP/1.1", headerFields: nil)
+
+        // When
+        let result = serializer.serializeResponse(nil, response, nil, nil)
+
+        // Then
+        XCTAssertTrue(result.isFailure, "result is failure should be true")
+        XCTAssertNil(result.value, "result value should be nil")
+        XCTAssertNotNil(result.error, "result error should not be nil")
+
+        if let error = result.error {
+            XCTAssertEqual(error.domain, Error.Domain, "error domain should match expected value")
+            XCTAssertEqual(error.code, Error.Code.StringSerializationFailed.rawValue, "error code should match expected value")
+        } else {
+            XCTFail("error should not be nil")
+        }
+    }
+
+    func testThatStringResponseSerializerSucceedsWhenDataIsNilWith204ResponseStatusCode() {
+        // Given
+        let serializer = Request.stringResponseSerializer()
+        let URL = NSURL(string: "https://httpbin.org/get")!
+        let response = NSHTTPURLResponse(URL: URL, statusCode: 204, HTTPVersion: "HTTP/1.1", headerFields: nil)
+
+        // When
+        let result = serializer.serializeResponse(nil, response, nil, nil)
+
+        // Then
+        XCTAssertTrue(result.isSuccess, "result is success should be true")
+        XCTAssertNotNil(result.value, "result value should not be nil")
+        XCTAssertNil(result.error, "result error should be nil")
+
+        if let string = result.value {
+            XCTAssertEqual(string, "", "string should be equal to empty string")
+        }
+    }
+
+    // MARK: - JSON Response Serializer Tests
+
+    func testThatJSONResponseSerializerFailsWhenDataIsNil() {
+        // Given
+        let serializer = Request.JSONResponseSerializer()
+
+        // When
+        let result = serializer.serializeResponse(nil, nil, nil, nil)
+
+        // Then
+        XCTAssertTrue(result.isFailure, "result is failure should be true")
+        XCTAssertNil(result.value, "result value should be nil")
+        XCTAssertNotNil(result.error, "result error should not be nil")
+
+        if let error = result.error {
+            XCTAssertEqual(error.domain, Error.Domain, "error domain should match expected value")
+            XCTAssertEqual(error.code, Error.Code.JSONSerializationFailed.rawValue, "error code should match expected value")
+        } else {
+            XCTFail("error should not be nil")
+        }
+    }
+
+    func testThatJSONResponseSerializerFailsWhenDataIsEmpty() {
+        // Given
+        let serializer = Request.JSONResponseSerializer()
+
+        // When
+        let result = serializer.serializeResponse(nil, nil, NSData(), nil)
+
+        // Then
+        XCTAssertTrue(result.isFailure, "result is failure should be true")
+        XCTAssertNil(result.value, "result value should be nil")
+        XCTAssertNotNil(result.error, "result error should not be nil")
+
+        if let error = result.error {
+            XCTAssertEqual(error.domain, Error.Domain, "error domain should match expected value")
+            XCTAssertEqual(error.code, Error.Code.JSONSerializationFailed.rawValue, "error code should match expected value")
+        } else {
+            XCTFail("error should not be nil")
+        }
+    }
+
+    func testThatJSONResponseSerializerSucceedsWhenDataIsValidJSON() {
+        // Given
+        let serializer = Request.JSONResponseSerializer()
+        let data = "{\"json\": true}".dataUsingEncoding(NSUTF8StringEncoding)!
+
+        // When
+        let result = serializer.serializeResponse(nil, nil, data, nil)
+
+        // Then
+        XCTAssertTrue(result.isSuccess, "result is success should be true")
+        XCTAssertNotNil(result.value, "result value should not be nil")
+        XCTAssertNil(result.error, "result error should be nil")
+    }
+
+    func testThatJSONResponseSerializerFailsWhenDataIsInvalidJSON() {
+        // Given
+        let serializer = Request.JSONResponseSerializer()
+        let data = "definitely not valid json".dataUsingEncoding(NSUTF8StringEncoding)!
+
+        // When
+        let result = serializer.serializeResponse(nil, nil, data, nil)
+
+        // Then
+        XCTAssertTrue(result.isFailure, "result is failure should be true")
+        XCTAssertNil(result.value, "result value should be nil")
+        XCTAssertNotNil(result.error, "result error should not be nil")
+
+        if let error = result.error {
+            XCTAssertEqual(error.domain, NSCocoaErrorDomain, "error domain should match expected value")
+            XCTAssertEqual(error.code, 3840, "error code should match expected value")
+        } else {
+            XCTFail("error should not be nil")
+        }
+    }
+
+    func testThatJSONResponseSerializerFailsWhenErrorIsNotNil() {
+        // Given
+        let serializer = Request.JSONResponseSerializer()
+
+        // When
+        let result = serializer.serializeResponse(nil, nil, nil, error)
+
+        // Then
+        XCTAssertTrue(result.isFailure, "result is failure should be true")
+        XCTAssertNil(result.value, "result value should be nil")
+        XCTAssertNotNil(result.error, "result error should not be nil")
+
+        if let error = result.error {
+            XCTAssertEqual(error.domain, Error.Domain, "error domain should match expected value")
+            XCTAssertEqual(error.code, self.error.code, "error code should match expected value")
+        } else {
+            XCTFail("error should not be nil")
+        }
+    }
+
+    func testThatJSONResponseSerializerFailsWhenDataIsNilWithNon204ResponseStatusCode() {
+        // Given
+        let serializer = Request.JSONResponseSerializer()
+        let URL = NSURL(string: "https://httpbin.org/get")!
+        let response = NSHTTPURLResponse(URL: URL, statusCode: 200, HTTPVersion: "HTTP/1.1", headerFields: nil)
+
+        // When
+        let result = serializer.serializeResponse(nil, response, nil, nil)
+
+        // Then
+        XCTAssertTrue(result.isFailure, "result is failure should be true")
+        XCTAssertNil(result.value, "result value should be nil")
+        XCTAssertNotNil(result.error, "result error should not be nil")
+
+        if let error = result.error {
+            XCTAssertEqual(error.domain, Error.Domain, "error domain should match expected value")
+            XCTAssertEqual(error.code, Error.Code.JSONSerializationFailed.rawValue, "error code should match expected value")
+        } else {
+            XCTFail("error should not be nil")
+        }
+    }
+
+    func testThatJSONResponseSerializerSucceedsWhenDataIsNilWith204ResponseStatusCode() {
+        // Given
+        let serializer = Request.JSONResponseSerializer()
+        let URL = NSURL(string: "https://httpbin.org/get")!
+        let response = NSHTTPURLResponse(URL: URL, statusCode: 204, HTTPVersion: "HTTP/1.1", headerFields: nil)
+
+        // When
+        let result = serializer.serializeResponse(nil, response, nil, nil)
+
+        // Then
+        XCTAssertTrue(result.isSuccess, "result is success should be true")
+        XCTAssertNotNil(result.value, "result value should not be nil")
+        XCTAssertNil(result.error, "result error should be nil")
+
+        if let json = result.value as? NSNull {
+            XCTAssertEqual(json, NSNull(), "json should be equal to NSNull")
+        }
+    }
+
+    // MARK: - Property List Response Serializer Tests
+
+    func testThatPropertyListResponseSerializerFailsWhenDataIsNil() {
+        // Given
+        let serializer = Request.propertyListResponseSerializer()
+
+        // When
+        let result = serializer.serializeResponse(nil, nil, nil, nil)
+
+        // Then
+        XCTAssertTrue(result.isFailure, "result is failure should be true")
+        XCTAssertNil(result.value, "result value should be nil")
+        XCTAssertNotNil(result.error, "result error should not be nil")
+
+        if let error = result.error {
+            XCTAssertEqual(error.domain, Error.Domain, "error domain should match expected value")
+            XCTAssertEqual(error.code, Error.Code.PropertyListSerializationFailed.rawValue, "error code should match expected value")
+        } else {
+            XCTFail("error should not be nil")
+        }
+    }
+
+    func testThatPropertyListResponseSerializerFailsWhenDataIsEmpty() {
+        // Given
+        let serializer = Request.propertyListResponseSerializer()
+
+        // When
+        let result = serializer.serializeResponse(nil, nil, NSData(), nil)
+
+        // Then
+        XCTAssertTrue(result.isFailure, "result is failure should be true")
+        XCTAssertNil(result.value, "result value should be nil")
+        XCTAssertNotNil(result.error, "result error should not be nil")
+
+        if let error = result.error {
+            XCTAssertEqual(error.domain, Error.Domain, "error domain should match expected value")
+            XCTAssertEqual(error.code, Error.Code.PropertyListSerializationFailed.rawValue, "error code should match expected value")
+        } else {
+            XCTFail("error should not be nil")
+        }
+    }
+
+    func testThatPropertyListResponseSerializerSucceedsWhenDataIsValidPropertyListData() {
+        // Given
+        let serializer = Request.propertyListResponseSerializer()
+        let data = NSKeyedArchiver.archivedDataWithRootObject(["foo": "bar"])
+
+        // When
+        let result = serializer.serializeResponse(nil, nil, data, nil)
+
+        // Then
+        XCTAssertTrue(result.isSuccess, "result is success should be true")
+        XCTAssertNotNil(result.value, "result value should not be nil")
+        XCTAssertNil(result.error, "result error should be nil")
+    }
+
+    func testThatPropertyListResponseSerializerFailsWhenDataIsInvalidPropertyListData() {
+        // Given
+        let serializer = Request.propertyListResponseSerializer()
+        let data = "definitely not valid plist data".dataUsingEncoding(NSUTF8StringEncoding)!
+
+        // When
+        let result = serializer.serializeResponse(nil, nil, data, nil)
+
+        // Then
+        XCTAssertTrue(result.isFailure, "result is failure should be true")
+        XCTAssertNil(result.value, "result value should be nil")
+        XCTAssertNotNil(result.error, "result error should not be nil")
+
+        if let error = result.error {
+            XCTAssertEqual(error.domain, NSCocoaErrorDomain, "error domain should match expected value")
+            XCTAssertEqual(error.code, 3840, "error code should match expected value")
+        } else {
+            XCTFail("error should not be nil")
+        }
+    }
+
+    func testThatPropertyListResponseSerializerFailsWhenErrorIsNotNil() {
+        // Given
+        let serializer = Request.propertyListResponseSerializer()
+
+        // When
+        let result = serializer.serializeResponse(nil, nil, nil, error)
+
+        // Then
+        XCTAssertTrue(result.isFailure, "result is failure should be true")
+        XCTAssertNil(result.value, "result value should be nil")
+        XCTAssertNotNil(result.error, "result error should not be nil")
+
+        if let error = result.error {
+            XCTAssertEqual(error.domain, Error.Domain, "error domain should match expected value")
+            XCTAssertEqual(error.code, self.error.code, "error code should match expected value")
+        } else {
+            XCTFail("error should not be nil")
+        }
+    }
+
+    func testThatPropertyListResponseSerializerFailsWhenDataIsNilWithNon204ResponseStatusCode() {
+        // Given
+        let serializer = Request.propertyListResponseSerializer()
+        let URL = NSURL(string: "https://httpbin.org/get")!
+        let response = NSHTTPURLResponse(URL: URL, statusCode: 200, HTTPVersion: "HTTP/1.1", headerFields: nil)
+
+        // When
+        let result = serializer.serializeResponse(nil, response, nil, nil)
+
+        // Then
+        XCTAssertTrue(result.isFailure, "result is failure should be true")
+        XCTAssertNil(result.value, "result value should be nil")
+        XCTAssertNotNil(result.error, "result error should not be nil")
+
+        if let error = result.error {
+            XCTAssertEqual(error.domain, Error.Domain, "error domain should match expected value")
+            XCTAssertEqual(error.code, Error.Code.PropertyListSerializationFailed.rawValue, "error code should match expected value")
+        } else {
+            XCTFail("error should not be nil")
+        }
+    }
+
+    func testThatPropertyListResponseSerializerSucceedsWhenDataIsNilWith204ResponseStatusCode() {
+        // Given
+        let serializer = Request.propertyListResponseSerializer()
+        let URL = NSURL(string: "https://httpbin.org/get")!
+        let response = NSHTTPURLResponse(URL: URL, statusCode: 204, HTTPVersion: "HTTP/1.1", headerFields: nil)
+
+        // When
+        let result = serializer.serializeResponse(nil, response, nil, nil)
+
+        // Then
+        XCTAssertTrue(result.isSuccess, "result is success should be true")
+        XCTAssertNotNil(result.value, "result value should not be nil")
+        XCTAssertNil(result.error, "result error should be nil")
+
+        if let plist = result.value as? NSNull {
+            XCTAssertEqual(plist, NSNull(), "plist should be equal to NSNull")
+        }
+    }
+}
diff --git a/swift/Alamofire-3.3.0/Tests/ResponseTests.swift b/swift/Alamofire-3.3.0/Tests/ResponseTests.swift
new file mode 100755
index 0000000..7c6c462
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/ResponseTests.swift
@@ -0,0 +1,533 @@
+// ResponseTests.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import Alamofire
+import Foundation
+import XCTest
+
+class ResponseDataTestCase: BaseTestCase {
+    func testThatResponseDataReturnsSuccessResultWithValidData() {
+        // Given
+        let URLString = "https://httpbin.org/get"
+        let expectation = expectationWithDescription("request should succeed")
+
+        var response: Response<NSData, NSError>?
+
+        // When
+        Alamofire.request(.GET, URLString, parameters: ["foo": "bar"])
+            .responseData { closureResponse in
+                response = closureResponse
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        if let response = response {
+            XCTAssertNotNil(response.request, "request should not be nil")
+            XCTAssertNotNil(response.response, "response should not be nil")
+            XCTAssertNotNil(response.data, "data should not be nil")
+            XCTAssertTrue(response.result.isSuccess, "result should be success")
+        } else {
+            XCTFail("response should not be nil")
+        }
+    }
+
+    func testThatResponseDataReturnsFailureResultWithOptionalDataAndError() {
+        // Given
+        let URLString = "https://invalid-url-here.org/this/does/not/exist"
+        let expectation = expectationWithDescription("request should fail with 404")
+
+        var response: Response<NSData, NSError>?
+
+        // When
+        Alamofire.request(.GET, URLString, parameters: ["foo": "bar"])
+            .responseData { closureResponse in
+                response = closureResponse
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        if let response = response {
+            XCTAssertNotNil(response.request, "request should not be nil")
+            XCTAssertNil(response.response, "response should be nil")
+            XCTAssertNotNil(response.data, "data should not be nil")
+            XCTAssertTrue(response.result.isFailure, "result should be failure")
+        } else {
+            XCTFail("response should not be nil")
+        }
+    }
+}
+
+// MARK: -
+
+class ResponseStringTestCase: BaseTestCase {
+    func testThatResponseStringReturnsSuccessResultWithValidString() {
+        // Given
+        let URLString = "https://httpbin.org/get"
+        let expectation = expectationWithDescription("request should succeed")
+
+        var response: Response<String, NSError>?
+
+        // When
+        Alamofire.request(.GET, URLString, parameters: ["foo": "bar"])
+            .responseString { closureResponse in
+                response = closureResponse
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        if let response = response {
+            XCTAssertNotNil(response.request, "request should not be nil")
+            XCTAssertNotNil(response.response, "response should not be nil")
+            XCTAssertNotNil(response.data, "data should not be nil")
+            XCTAssertTrue(response.result.isSuccess, "result should be success")
+        } else {
+            XCTFail("response should not be nil")
+        }
+    }
+
+    func testThatResponseStringReturnsFailureResultWithOptionalDataAndError() {
+        // Given
+        let URLString = "https://invalid-url-here.org/this/does/not/exist"
+        let expectation = expectationWithDescription("request should fail with 404")
+
+        var response: Response<String, NSError>?
+
+        // When
+        Alamofire.request(.GET, URLString, parameters: ["foo": "bar"])
+            .responseString { closureResponse in
+                response = closureResponse
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        if let response = response {
+            XCTAssertNotNil(response.request, "request should not be nil")
+            XCTAssertNil(response.response, "response should be nil")
+            XCTAssertNotNil(response.data, "data should not be nil")
+            XCTAssertTrue(response.result.isFailure, "result should be failure")
+        } else {
+            XCTFail("response should not be nil")
+        }
+    }
+}
+
+// MARK: -
+
+class ResponseJSONTestCase: BaseTestCase {
+    func testThatResponseJSONReturnsSuccessResultWithValidJSON() {
+        // Given
+        let URLString = "https://httpbin.org/get"
+        let expectation = expectationWithDescription("request should succeed")
+
+        var response: Response<AnyObject, NSError>?
+
+        // When
+        Alamofire.request(.GET, URLString, parameters: ["foo": "bar"])
+            .responseJSON { closureResponse in
+                response = closureResponse
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        if let response = response {
+            XCTAssertNotNil(response.request, "request should not be nil")
+            XCTAssertNotNil(response.response, "response should not be nil")
+            XCTAssertNotNil(response.data, "data should not be nil")
+            XCTAssertTrue(response.result.isSuccess, "result should be success")
+        } else {
+            XCTFail("response should not be nil")
+        }
+    }
+
+    func testThatResponseStringReturnsFailureResultWithOptionalDataAndError() {
+        // Given
+        let URLString = "https://invalid-url-here.org/this/does/not/exist"
+        let expectation = expectationWithDescription("request should fail with 404")
+
+        var response: Response<AnyObject, NSError>?
+
+        // When
+        Alamofire.request(.GET, URLString, parameters: ["foo": "bar"])
+            .responseJSON { closureResponse in
+                response = closureResponse
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        if let response = response {
+            XCTAssertNotNil(response.request, "request should not be nil")
+            XCTAssertNil(response.response, "response should be nil")
+            XCTAssertNotNil(response.data, "data should not be nil")
+            XCTAssertTrue(response.result.isFailure, "result should be failure")
+        } else {
+            XCTFail("response should not be nil")
+        }
+    }
+
+    func testThatResponseJSONReturnsSuccessResultForGETRequest() {
+        // Given
+        let URLString = "https://httpbin.org/get"
+        let expectation = expectationWithDescription("request should succeed")
+
+        var response: Response<AnyObject, NSError>?
+
+        // When
+        Alamofire.request(.GET, URLString, parameters: ["foo": "bar"])
+            .responseJSON { closureResponse in
+                response = closureResponse
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        if let response = response {
+            XCTAssertNotNil(response.request, "request should not be nil")
+            XCTAssertNotNil(response.response, "response should not be nil")
+            XCTAssertNotNil(response.data, "data should not be nil")
+            XCTAssertTrue(response.result.isSuccess, "result should be success")
+
+            // The `as NSString` cast is necessary due to a compiler bug. See the following rdar for more info.
+            // - https://openradar.appspot.com/radar?id=5517037090635776
+            if let args = response.result.value?["args" as NSString] as? [String: String] {
+                XCTAssertEqual(args, ["foo": "bar"], "args should match parameters")
+            } else {
+                XCTFail("args should not be nil")
+            }
+        } else {
+            XCTFail("response should not be nil")
+        }
+    }
+
+    func testThatResponseJSONReturnsSuccessResultForPOSTRequest() {
+        // Given
+        let URLString = "https://httpbin.org/post"
+        let expectation = expectationWithDescription("request should succeed")
+
+        var response: Response<AnyObject, NSError>?
+
+        // When
+        Alamofire.request(.POST, URLString, parameters: ["foo": "bar"])
+            .responseJSON { closureResponse in
+                response = closureResponse
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        if let response = response {
+            XCTAssertNotNil(response.request, "request should not be nil")
+            XCTAssertNotNil(response.response, "response should not be nil")
+            XCTAssertNotNil(response.data, "data should not be nil")
+            XCTAssertTrue(response.result.isSuccess, "result should be success")
+
+            // The `as NSString` cast is necessary due to a compiler bug. See the following rdar for more info.
+            // - https://openradar.appspot.com/radar?id=5517037090635776
+            if let form = response.result.value?["form" as NSString] as? [String: String] {
+                XCTAssertEqual(form, ["foo": "bar"], "form should match parameters")
+            } else {
+                XCTFail("form should not be nil")
+            }
+        } else {
+            XCTFail("response should not be nil")
+        }
+    }
+}
+
+// MARK: -
+
+class RedirectResponseTestCase: BaseTestCase {
+
+    // MARK: Setup and Teardown
+
+    override func tearDown() {
+        super.tearDown()
+        Alamofire.Manager.sharedInstance.delegate.taskWillPerformHTTPRedirection = nil
+    }
+
+    // MARK: Tests
+
+    func testThatRequestWillPerformHTTPRedirectionByDefault() {
+        // Given
+        let redirectURLString = "https://www.apple.com"
+        let URLString = "https://httpbin.org/redirect-to?url=\(redirectURLString)"
+
+        let expectation = expectationWithDescription("Request should redirect to \(redirectURLString)")
+
+        var request: NSURLRequest?
+        var response: NSHTTPURLResponse?
+        var data: NSData?
+        var error: NSError?
+
+        // When
+        Alamofire.request(.GET, URLString)
+            .response { responseRequest, responseResponse, responseData, responseError in
+                request = responseRequest
+                response = responseResponse
+                data = responseData
+                error = responseError
+
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(request, "request should not be nil")
+        XCTAssertNotNil(response, "response should not be nil")
+        XCTAssertNotNil(data, "data should not be nil")
+        XCTAssertNil(error, "error should be nil")
+
+        XCTAssertEqual(response?.URL?.URLString ?? "", redirectURLString, "response URL should match the redirect URL")
+        XCTAssertEqual(response?.statusCode ?? -1, 200, "response should have a 200 status code")
+    }
+
+    func testThatRequestWillPerformRedirectionMultipleTimesByDefault() {
+        // Given
+        let redirectURLString = "https://httpbin.org/get"
+        let URLString = "https://httpbin.org/redirect/5"
+
+        let expectation = expectationWithDescription("Request should redirect to \(redirectURLString)")
+
+        var request: NSURLRequest?
+        var response: NSHTTPURLResponse?
+        var data: NSData?
+        var error: NSError?
+
+        // When
+        Alamofire.request(.GET, URLString)
+            .response { responseRequest, responseResponse, responseData, responseError in
+                request = responseRequest
+                response = responseResponse
+                data = responseData
+                error = responseError
+
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(request, "request should not be nil")
+        XCTAssertNotNil(response, "response should not be nil")
+        XCTAssertNotNil(data, "data should not be nil")
+        XCTAssertNil(error, "error should be nil")
+
+        XCTAssertEqual(response?.URL?.URLString ?? "", redirectURLString, "response URL should match the redirect URL")
+        XCTAssertEqual(response?.statusCode ?? -1, 200, "response should have a 200 status code")
+    }
+
+    func testThatTaskOverrideClosureCanPerformHTTPRedirection() {
+        // Given
+        let redirectURLString = "https://www.apple.com"
+        let URLString = "https://httpbin.org/redirect-to?url=\(redirectURLString)"
+
+        let expectation = expectationWithDescription("Request should redirect to \(redirectURLString)")
+        let delegate: Alamofire.Manager.SessionDelegate = Alamofire.Manager.sharedInstance.delegate
+
+        delegate.taskWillPerformHTTPRedirection = { _, _, _, request in
+            return request
+        }
+
+        var request: NSURLRequest?
+        var response: NSHTTPURLResponse?
+        var data: NSData?
+        var error: NSError?
+
+        // When
+        Alamofire.request(.GET, URLString)
+            .response { responseRequest, responseResponse, responseData, responseError in
+                request = responseRequest
+                response = responseResponse
+                data = responseData
+                error = responseError
+
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(request, "request should not be nil")
+        XCTAssertNotNil(response, "response should not be nil")
+        XCTAssertNotNil(data, "data should not be nil")
+        XCTAssertNil(error, "error should be nil")
+
+        XCTAssertEqual(response?.URL?.URLString ?? "", redirectURLString, "response URL should match the redirect URL")
+        XCTAssertEqual(response?.statusCode ?? -1, 200, "response should have a 200 status code")
+    }
+
+    func testThatTaskOverrideClosureCanCancelHTTPRedirection() {
+        // Given
+        let redirectURLString = "https://www.apple.com"
+        let URLString = "https://httpbin.org/redirect-to?url=\(redirectURLString)"
+
+        let expectation = expectationWithDescription("Request should not redirect to \(redirectURLString)")
+        let delegate: Alamofire.Manager.SessionDelegate = Alamofire.Manager.sharedInstance.delegate
+
+        delegate.taskWillPerformHTTPRedirection = { _, _, _, _ in
+            return nil
+        }
+
+        var request: NSURLRequest?
+        var response: NSHTTPURLResponse?
+        var data: NSData?
+        var error: NSError?
+
+        // When
+        Alamofire.request(.GET, URLString)
+            .response { responseRequest, responseResponse, responseData, responseError in
+                request = responseRequest
+                response = responseResponse
+                data = responseData
+                error = responseError
+
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(request, "request should not be nil")
+        XCTAssertNotNil(response, "response should not be nil")
+        XCTAssertNotNil(data, "data should not be nil")
+        XCTAssertNil(error, "error should be nil")
+
+        XCTAssertEqual(response?.URL?.URLString ?? "", URLString, "response URL should match the origin URL")
+        XCTAssertEqual(response?.statusCode ?? -1, 302, "response should have a 302 status code")
+    }
+
+    func testThatTaskOverrideClosureIsCalledMultipleTimesForMultipleHTTPRedirects() {
+        // Given
+        let redirectURLString = "https://httpbin.org/get"
+        let URLString = "https://httpbin.org/redirect/5"
+
+        let expectation = expectationWithDescription("Request should redirect to \(redirectURLString)")
+        let delegate: Alamofire.Manager.SessionDelegate = Alamofire.Manager.sharedInstance.delegate
+        var totalRedirectCount = 0
+
+        delegate.taskWillPerformHTTPRedirection = { _, _, _, request in
+            totalRedirectCount += 1
+            return request
+        }
+
+        var request: NSURLRequest?
+        var response: NSHTTPURLResponse?
+        var data: NSData?
+        var error: NSError?
+
+        // When
+        Alamofire.request(.GET, URLString)
+            .response { responseRequest, responseResponse, responseData, responseError in
+                request = responseRequest
+                response = responseResponse
+                data = responseData
+                error = responseError
+
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(request, "request should not be nil")
+        XCTAssertNotNil(response, "response should not be nil")
+        XCTAssertNotNil(data, "data should not be nil")
+        XCTAssertNil(error, "error should be nil")
+
+        XCTAssertEqual(response?.URL?.URLString ?? "", redirectURLString, "response URL should match the redirect URL")
+        XCTAssertEqual(response?.statusCode ?? -1, 200, "response should have a 200 status code")
+        XCTAssertEqual(totalRedirectCount, 5, "total redirect count should be 5")
+    }
+
+    func testThatRedirectedRequestContainsAllHeadersFromOriginalRequest() {
+        // Given
+        let redirectURLString = "https://httpbin.org/get"
+        let URLString = "https://httpbin.org/redirect-to?url=\(redirectURLString)"
+        let headers = [
+            "Authorization": "1234",
+            "Custom-Header": "foobar",
+        ]
+
+        // NOTE: It appears that most headers are maintained during a redirect with the exception of the `Authorization`
+        // header. It appears that Apple's strips the `Authorization` header from the redirected URL request. If you
+        // need to maintain the `Authorization` header, you need to manually append it to the redirected request.
+
+        let manager = Manager(configuration: NSURLSessionConfiguration.ephemeralSessionConfiguration())
+
+        manager.delegate.taskWillPerformHTTPRedirection = { session, task, response, request in
+            var redirectedRequest = request
+
+            if let
+                originalRequest = task.originalRequest,
+                headers = originalRequest.allHTTPHeaderFields,
+                authorizationHeaderValue = headers["Authorization"]
+            {
+                let mutableRequest = request.mutableCopy() as! NSMutableURLRequest
+                mutableRequest.setValue(authorizationHeaderValue, forHTTPHeaderField: "Authorization")
+                redirectedRequest = mutableRequest
+            }
+
+            return redirectedRequest
+        }
+
+        let expectation = expectationWithDescription("Request should redirect to \(redirectURLString)")
+
+        var response: Response<AnyObject, NSError>?
+
+        // When
+        manager.request(.GET, URLString, headers: headers)
+            .responseJSON { closureResponse in
+                response = closureResponse
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(response?.request, "request should not be nil")
+        XCTAssertNotNil(response?.response, "response should not be nil")
+        XCTAssertNotNil(response?.data, "data should not be nil")
+        XCTAssertTrue(response?.result.isSuccess ?? false, "response result should be a success")
+
+        if let
+            JSON = response?.result.value as? [String: AnyObject],
+            headers = JSON["headers"] as? [String: String]
+        {
+            XCTAssertEqual(headers["Custom-Header"], "foobar", "Custom-Header should be equal to foobar")
+            XCTAssertEqual(headers["Authorization"], "1234", "Authorization header should be equal to 1234")
+        }
+    }
+}
diff --git a/swift/Alamofire-3.3.0/Tests/ResultTests.swift b/swift/Alamofire-3.3.0/Tests/ResultTests.swift
new file mode 100755
index 0000000..4b1f002
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/ResultTests.swift
@@ -0,0 +1,145 @@
+// ResultTests.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+@testable import Alamofire
+import Foundation
+import XCTest
+
+class ResultTestCase: BaseTestCase {
+    let error = Error.errorWithCode(.StatusCodeValidationFailed, failureReason: "Status code validation failed")
+
+    // MARK: - Is Success Tests
+
+    func testThatIsSuccessPropertyReturnsTrueForSuccessCase() {
+        // Given, When
+        let result = Result<String, NSError>.Success("success")
+
+        // Then
+        XCTAssertTrue(result.isSuccess, "result is success should be true for success case")
+    }
+
+    func testThatIsSuccessPropertyReturnsFalseForFailureCase() {
+        // Given, When
+        let result = Result<String, NSError>.Failure(error)
+
+        // Then
+        XCTAssertFalse(result.isSuccess, "result is success should be true for failure case")
+    }
+
+    // MARK: - Is Failure Tests
+
+    func testThatIsFailurePropertyReturnsFalseForSuccessCase() {
+        // Given, When
+        let result = Result<String, NSError>.Success("success")
+
+        // Then
+        XCTAssertFalse(result.isFailure, "result is failure should be false for success case")
+    }
+
+    func testThatIsFailurePropertyReturnsTrueForFailureCase() {
+        // Given, When
+        let result = Result<String, NSError>.Failure(error)
+
+        // Then
+        XCTAssertTrue(result.isFailure, "result is failure should be true for failure case")
+    }
+
+    // MARK: - Value Tests
+
+    func testThatValuePropertyReturnsValueForSuccessCase() {
+        // Given, When
+        let result = Result<String, NSError>.Success("success")
+
+        // Then
+        XCTAssertEqual(result.value ?? "", "success", "result value should match expected value")
+    }
+
+    func testThatValuePropertyReturnsNilForFailureCase() {
+        // Given, When
+        let result = Result<String, NSError>.Failure(error)
+
+        // Then
+        XCTAssertNil(result.value, "result value should be nil for failure case")
+    }
+
+    // MARK: - Error Tests
+
+    func testThatErrorPropertyReturnsNilForSuccessCase() {
+        // Given, When
+        let result = Result<String, NSError>.Success("success")
+
+        // Then
+        XCTAssertTrue(result.error == nil, "result error should be nil for success case")
+    }
+
+    func testThatErrorPropertyReturnsErrorForFailureCase() {
+        // Given, When
+        let result = Result<String, NSError>.Failure(error)
+
+        // Then
+        XCTAssertTrue(result.error != nil, "result error should not be nil for failure case")
+    }
+
+    // MARK: - Description Tests
+
+    func testThatDescriptionStringMatchesExpectedValueForSuccessCase() {
+        // Given, When
+        let result = Result<String, NSError>.Success("success")
+
+        // Then
+        XCTAssertEqual(result.description, "SUCCESS", "result description should match expected value for success case")
+    }
+
+    func testThatDescriptionStringMatchesExpectedValueForFailureCase() {
+        // Given, When
+        let result = Result<String, NSError>.Failure(error)
+
+        // Then
+        XCTAssertEqual(result.description, "FAILURE", "result description should match expected value for failure case")
+    }
+
+    // MARK: - Debug Description Tests
+
+    func testThatDebugDescriptionStringMatchesExpectedValueForSuccessCase() {
+        // Given, When
+        let result = Result<String, NSError>.Success("success value")
+
+        // Then
+        XCTAssertEqual(
+            result.debugDescription,
+            "SUCCESS: success value",
+            "result debug description should match expected value for success case"
+        )
+    }
+
+    func testThatDebugDescriptionStringMatchesExpectedValueForFailureCase() {
+        // Given, When
+        let result = Result<String, NSError>.Failure(error)
+
+        // Then
+        XCTAssertEqual(
+            result.debugDescription,
+            "FAILURE: \(error)",
+            "result debug description should match expected value for failure case"
+        )
+    }
+}
diff --git a/swift/Alamofire-3.3.0/Tests/ServerTrustPolicyTests.swift b/swift/Alamofire-3.3.0/Tests/ServerTrustPolicyTests.swift
new file mode 100755
index 0000000..2c24188
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/ServerTrustPolicyTests.swift
@@ -0,0 +1,1418 @@
+// MultipartFormDataTests.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import Alamofire
+import Foundation
+import XCTest
+
+private struct TestCertificates {
+    // Root Certificates
+    static let RootCA = TestCertificates.certificateWithFileName("alamofire-root-ca")
+
+    // Intermediate Certificates
+    static let IntermediateCA1 = TestCertificates.certificateWithFileName("alamofire-signing-ca1")
+    static let IntermediateCA2 = TestCertificates.certificateWithFileName("alamofire-signing-ca2")
+
+    // Leaf Certificates - Signed by CA1
+    static let LeafWildcard = TestCertificates.certificateWithFileName("wildcard.alamofire.org")
+    static let LeafMultipleDNSNames = TestCertificates.certificateWithFileName("multiple-dns-names")
+    static let LeafSignedByCA1 = TestCertificates.certificateWithFileName("signed-by-ca1")
+    static let LeafDNSNameAndURI = TestCertificates.certificateWithFileName("test.alamofire.org")
+
+    // Leaf Certificates - Signed by CA2
+    static let LeafExpired = TestCertificates.certificateWithFileName("expired")
+    static let LeafMissingDNSNameAndURI = TestCertificates.certificateWithFileName("missing-dns-name-and-uri")
+    static let LeafSignedByCA2 = TestCertificates.certificateWithFileName("signed-by-ca2")
+    static let LeafValidDNSName = TestCertificates.certificateWithFileName("valid-dns-name")
+    static let LeafValidURI = TestCertificates.certificateWithFileName("valid-uri")
+
+    static func certificateWithFileName(fileName: String) -> SecCertificate {
+        class Bundle {}
+        let filePath = NSBundle(forClass: Bundle.self).pathForResource(fileName, ofType: "cer")!
+        let data = NSData(contentsOfFile: filePath)!
+        let certificate = SecCertificateCreateWithData(nil, data)!
+
+        return certificate
+    }
+}
+
+// MARK: -
+
+private struct TestPublicKeys {
+    // Root Public Keys
+    static let RootCA = TestPublicKeys.publicKeyForCertificate(TestCertificates.RootCA)
+
+    // Intermediate Public Keys
+    static let IntermediateCA1 = TestPublicKeys.publicKeyForCertificate(TestCertificates.IntermediateCA1)
+    static let IntermediateCA2 = TestPublicKeys.publicKeyForCertificate(TestCertificates.IntermediateCA2)
+
+    // Leaf Public Keys - Signed by CA1
+    static let LeafWildcard = TestPublicKeys.publicKeyForCertificate(TestCertificates.LeafWildcard)
+    static let LeafMultipleDNSNames = TestPublicKeys.publicKeyForCertificate(TestCertificates.LeafMultipleDNSNames)
+    static let LeafSignedByCA1 = TestPublicKeys.publicKeyForCertificate(TestCertificates.LeafSignedByCA1)
+    static let LeafDNSNameAndURI = TestPublicKeys.publicKeyForCertificate(TestCertificates.LeafDNSNameAndURI)
+
+    // Leaf Public Keys - Signed by CA2
+    static let LeafExpired = TestPublicKeys.publicKeyForCertificate(TestCertificates.LeafExpired)
+    static let LeafMissingDNSNameAndURI = TestPublicKeys.publicKeyForCertificate(TestCertificates.LeafMissingDNSNameAndURI)
+    static let LeafSignedByCA2 = TestPublicKeys.publicKeyForCertificate(TestCertificates.LeafSignedByCA2)
+    static let LeafValidDNSName = TestPublicKeys.publicKeyForCertificate(TestCertificates.LeafValidDNSName)
+    static let LeafValidURI = TestPublicKeys.publicKeyForCertificate(TestCertificates.LeafValidURI)
+
+    static func publicKeyForCertificate(certificate: SecCertificate) -> SecKey {
+        let policy = SecPolicyCreateBasicX509()
+        var trust: SecTrust?
+        SecTrustCreateWithCertificates(certificate, policy, &trust)
+
+        let publicKey = SecTrustCopyPublicKey(trust!)!
+
+        return publicKey
+    }
+}
+
+// MARK: -
+
+private enum TestTrusts {
+    // Leaf Trusts - Signed by CA1
+    case LeafWildcard
+    case LeafMultipleDNSNames
+    case LeafSignedByCA1
+    case LeafDNSNameAndURI
+
+    // Leaf Trusts - Signed by CA2
+    case LeafExpired
+    case LeafMissingDNSNameAndURI
+    case LeafSignedByCA2
+    case LeafValidDNSName
+    case LeafValidURI
+
+    // Invalid Trusts
+    case LeafValidDNSNameMissingIntermediate
+    case LeafValidDNSNameWithIncorrectIntermediate
+
+    var trust: SecTrust {
+        let trust: SecTrust
+
+        switch self {
+        case .LeafWildcard:
+            trust = TestTrusts.trustWithCertificates([
+                TestCertificates.LeafWildcard,
+                TestCertificates.IntermediateCA1,
+                TestCertificates.RootCA
+            ])
+        case .LeafMultipleDNSNames:
+            trust = TestTrusts.trustWithCertificates([
+                TestCertificates.LeafMultipleDNSNames,
+                TestCertificates.IntermediateCA1,
+                TestCertificates.RootCA
+            ])
+        case .LeafSignedByCA1:
+            trust = TestTrusts.trustWithCertificates([
+                TestCertificates.LeafSignedByCA1,
+                TestCertificates.IntermediateCA1,
+                TestCertificates.RootCA
+            ])
+        case .LeafDNSNameAndURI:
+            trust = TestTrusts.trustWithCertificates([
+                TestCertificates.LeafDNSNameAndURI,
+                TestCertificates.IntermediateCA1,
+                TestCertificates.RootCA
+            ])
+        case .LeafExpired:
+            trust = TestTrusts.trustWithCertificates([
+                TestCertificates.LeafExpired,
+                TestCertificates.IntermediateCA2,
+                TestCertificates.RootCA
+            ])
+        case .LeafMissingDNSNameAndURI:
+            trust = TestTrusts.trustWithCertificates([
+                TestCertificates.LeafMissingDNSNameAndURI,
+                TestCertificates.IntermediateCA2,
+                TestCertificates.RootCA
+            ])
+        case .LeafSignedByCA2:
+            trust = TestTrusts.trustWithCertificates([
+                TestCertificates.LeafSignedByCA2,
+                TestCertificates.IntermediateCA2,
+                TestCertificates.RootCA
+            ])
+        case .LeafValidDNSName:
+            trust = TestTrusts.trustWithCertificates([
+                TestCertificates.LeafValidDNSName,
+                TestCertificates.IntermediateCA2,
+                TestCertificates.RootCA
+            ])
+        case .LeafValidURI:
+            trust = TestTrusts.trustWithCertificates([
+                TestCertificates.LeafValidURI,
+                TestCertificates.IntermediateCA2,
+                TestCertificates.RootCA
+            ])
+        case LeafValidDNSNameMissingIntermediate:
+            trust = TestTrusts.trustWithCertificates([
+                TestCertificates.LeafValidDNSName,
+                TestCertificates.RootCA
+            ])
+        case LeafValidDNSNameWithIncorrectIntermediate:
+            trust = TestTrusts.trustWithCertificates([
+                TestCertificates.LeafValidDNSName,
+                TestCertificates.IntermediateCA1,
+                TestCertificates.RootCA
+            ])
+        }
+
+        return trust
+    }
+
+    static func trustWithCertificates(certificates: [SecCertificate]) -> SecTrust {
+        let policy = SecPolicyCreateBasicX509()
+        var trust: SecTrust?
+        SecTrustCreateWithCertificates(certificates, policy, &trust)
+
+        return trust!
+    }
+}
+
+// MARK: - Basic X509 and SSL Exploration Tests -
+
+class ServerTrustPolicyTestCase: BaseTestCase {
+    func setRootCertificateAsLoneAnchorCertificateForTrust(trust: SecTrust) {
+        SecTrustSetAnchorCertificates(trust, [TestCertificates.RootCA])
+        SecTrustSetAnchorCertificatesOnly(trust, true)
+    }
+
+    func trustIsValid(trust: SecTrust) -> Bool {
+        var isValid = false
+
+        var result = SecTrustResultType(kSecTrustResultInvalid)
+        let status = SecTrustEvaluate(trust, &result)
+
+        if status == errSecSuccess {
+            let unspecified = SecTrustResultType(kSecTrustResultUnspecified)
+            let proceed = SecTrustResultType(kSecTrustResultProceed)
+
+            isValid = result == unspecified || result == proceed
+        }
+
+        return isValid
+    }
+}
+
+// MARK: -
+
+class ServerTrustPolicyExplorationBasicX509PolicyValidationTestCase: ServerTrustPolicyTestCase {
+    func testThatAnchoredRootCertificatePassesBasicX509ValidationWithRootInTrust() {
+        // Given
+        let trust = TestTrusts.trustWithCertificates([
+            TestCertificates.LeafDNSNameAndURI,
+            TestCertificates.IntermediateCA1,
+            TestCertificates.RootCA
+        ])
+
+        setRootCertificateAsLoneAnchorCertificateForTrust(trust)
+
+        // When
+        let policies = [SecPolicyCreateBasicX509()]
+        SecTrustSetPolicies(trust, policies)
+
+        // Then
+        XCTAssertTrue(trustIsValid(trust), "trust should be valid")
+    }
+
+    func testThatAnchoredRootCertificatePassesBasicX509ValidationWithoutRootInTrust() {
+        // Given
+        let trust = TestTrusts.LeafDNSNameAndURI.trust
+        setRootCertificateAsLoneAnchorCertificateForTrust(trust)
+
+        // When
+        let policies = [SecPolicyCreateBasicX509()]
+        SecTrustSetPolicies(trust, policies)
+
+        // Then
+        XCTAssertTrue(trustIsValid(trust), "trust should be valid")
+    }
+
+    func testThatCertificateMissingDNSNamePassesBasicX509Validation() {
+        // Given
+        let trust = TestTrusts.LeafMissingDNSNameAndURI.trust
+        setRootCertificateAsLoneAnchorCertificateForTrust(trust)
+
+        // When
+        let policies = [SecPolicyCreateBasicX509()]
+        SecTrustSetPolicies(trust, policies)
+
+        // Then
+        XCTAssertTrue(trustIsValid(trust), "trust should be valid")
+    }
+
+    func testThatExpiredCertificateFailsBasicX509Validation() {
+        // Given
+        let trust = TestTrusts.LeafExpired.trust
+        setRootCertificateAsLoneAnchorCertificateForTrust(trust)
+
+        // When
+        let policies = [SecPolicyCreateBasicX509()]
+        SecTrustSetPolicies(trust, policies)
+
+        // Then
+        XCTAssertFalse(trustIsValid(trust), "trust should not be valid")
+    }
+}
+
+// MARK: -
+
+class ServerTrustPolicyExplorationSSLPolicyValidationTestCase: ServerTrustPolicyTestCase {
+    func testThatAnchoredRootCertificatePassesSSLValidationWithRootInTrust() {
+        // Given
+        let trust = TestTrusts.trustWithCertificates([
+            TestCertificates.LeafDNSNameAndURI,
+            TestCertificates.IntermediateCA1,
+            TestCertificates.RootCA
+        ])
+
+        setRootCertificateAsLoneAnchorCertificateForTrust(trust)
+
+        // When
+        let policies = [SecPolicyCreateSSL(true, "test.alamofire.org")]
+        SecTrustSetPolicies(trust, policies)
+
+        // Then
+        XCTAssertTrue(trustIsValid(trust), "trust should be valid")
+    }
+
+    func testThatAnchoredRootCertificatePassesSSLValidationWithoutRootInTrust() {
+        // Given
+        let trust = TestTrusts.LeafDNSNameAndURI.trust
+        setRootCertificateAsLoneAnchorCertificateForTrust(trust)
+
+        // When
+        let policies = [SecPolicyCreateSSL(true, "test.alamofire.org")]
+        SecTrustSetPolicies(trust, policies)
+
+        // Then
+        XCTAssertTrue(trustIsValid(trust), "trust should be valid")
+    }
+
+    func testThatCertificateMissingDNSNameFailsSSLValidation() {
+        // Given
+        let trust = TestTrusts.LeafMissingDNSNameAndURI.trust
+        setRootCertificateAsLoneAnchorCertificateForTrust(trust)
+
+        // When
+        let policies = [SecPolicyCreateSSL(true, "test.alamofire.org")]
+        SecTrustSetPolicies(trust, policies)
+
+        // Then
+        XCTAssertFalse(trustIsValid(trust), "trust should not be valid")
+    }
+
+    func testThatWildcardCertificatePassesSSLValidation() {
+        // Given
+        let trust = TestTrusts.LeafWildcard.trust // *.alamofire.org
+        setRootCertificateAsLoneAnchorCertificateForTrust(trust)
+
+        // When
+        let policies = [SecPolicyCreateSSL(true, "test.alamofire.org")]
+        SecTrustSetPolicies(trust, policies)
+
+        // Then
+        XCTAssertTrue(trustIsValid(trust), "trust should be valid")
+    }
+
+    func testThatDNSNameCertificatePassesSSLValidation() {
+        // Given
+        let trust = TestTrusts.LeafValidDNSName.trust
+        setRootCertificateAsLoneAnchorCertificateForTrust(trust)
+
+        // When
+        let policies = [SecPolicyCreateSSL(true, "test.alamofire.org")]
+        SecTrustSetPolicies(trust, policies)
+
+        // Then
+        XCTAssertTrue(trustIsValid(trust), "trust should be valid")
+    }
+
+    func testThatURICertificateFailsSSLValidation() {
+        // Given
+        let trust = TestTrusts.LeafValidURI.trust
+        setRootCertificateAsLoneAnchorCertificateForTrust(trust)
+
+        // When
+        let policies = [SecPolicyCreateSSL(true, "test.alamofire.org")]
+        SecTrustSetPolicies(trust, policies)
+
+        // Then
+        XCTAssertFalse(trustIsValid(trust), "trust should not be valid")
+    }
+
+    func testThatMultipleDNSNamesCertificatePassesSSLValidationForAllEntries() {
+        // Given
+        let trust = TestTrusts.LeafMultipleDNSNames.trust
+        setRootCertificateAsLoneAnchorCertificateForTrust(trust)
+
+        // When
+        let policies = [
+            SecPolicyCreateSSL(true, "test.alamofire.org"),
+            SecPolicyCreateSSL(true, "blog.alamofire.org"),
+            SecPolicyCreateSSL(true, "www.alamofire.org")
+        ]
+        SecTrustSetPolicies(trust, policies)
+
+        // Then
+        XCTAssertTrue(trustIsValid(trust), "trust should not be valid")
+    }
+
+    func testThatPassingNilForHostParameterAllowsCertificateMissingDNSNameToPassSSLValidation() {
+        // Given
+        let trust = TestTrusts.LeafMissingDNSNameAndURI.trust
+        setRootCertificateAsLoneAnchorCertificateForTrust(trust)
+
+        // When
+        let policies = [SecPolicyCreateSSL(true, nil)]
+        SecTrustSetPolicies(trust, policies)
+
+        // Then
+        XCTAssertTrue(trustIsValid(trust), "trust should not be valid")
+    }
+
+    func testThatExpiredCertificateFailsSSLValidation() {
+        // Given
+        let trust = TestTrusts.LeafExpired.trust
+        setRootCertificateAsLoneAnchorCertificateForTrust(trust)
+
+        // When
+        let policies = [SecPolicyCreateSSL(true, "test.alamofire.org")]
+        SecTrustSetPolicies(trust, policies)
+
+        // Then
+        XCTAssertFalse(trustIsValid(trust), "trust should not be valid")
+    }
+}
+
+// MARK: - Server Trust Policy Tests -
+
+class ServerTrustPolicyPerformDefaultEvaluationTestCase: ServerTrustPolicyTestCase {
+
+    // MARK: Do NOT Validate Host
+
+    func testThatValidCertificateChainPassesEvaluationWithoutHostValidation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafValidDNSName.trust
+        let serverTrustPolicy = ServerTrustPolicy.PerformDefaultEvaluation(validateHost: false)
+
+        // When
+        setRootCertificateAsLoneAnchorCertificateForTrust(serverTrust)
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertTrue(serverTrustIsValid, "server trust should pass evaluation")
+    }
+
+    func testThatNonAnchoredRootCertificateChainFailsEvaluationWithoutHostValidation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.trustWithCertificates([
+            TestCertificates.LeafValidDNSName,
+            TestCertificates.IntermediateCA2
+        ])
+        let serverTrustPolicy = ServerTrustPolicy.PerformDefaultEvaluation(validateHost: false)
+
+        // When
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertFalse(serverTrustIsValid, "server trust should not pass evaluation")
+    }
+
+    func testThatMissingDNSNameLeafCertificatePassesEvaluationWithoutHostValidation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafMissingDNSNameAndURI.trust
+        let serverTrustPolicy = ServerTrustPolicy.PerformDefaultEvaluation(validateHost: false)
+
+        // When
+        setRootCertificateAsLoneAnchorCertificateForTrust(serverTrust)
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertTrue(serverTrustIsValid, "server trust should pass evaluation")
+    }
+
+    func testThatExpiredCertificateChainFailsEvaluationWithoutHostValidation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafExpired.trust
+        let serverTrustPolicy = ServerTrustPolicy.PerformDefaultEvaluation(validateHost: false)
+
+        // When
+        setRootCertificateAsLoneAnchorCertificateForTrust(serverTrust)
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertFalse(serverTrustIsValid, "server trust should not pass evaluation")
+    }
+
+    func testThatMissingIntermediateCertificateInChainFailsEvaluationWithoutHostValidation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafValidDNSNameMissingIntermediate.trust
+        let serverTrustPolicy = ServerTrustPolicy.PerformDefaultEvaluation(validateHost: false)
+
+        // When
+        setRootCertificateAsLoneAnchorCertificateForTrust(serverTrust)
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertFalse(serverTrustIsValid, "server trust should not pass evaluation")
+    }
+
+    // MARK: Validate Host
+
+    func testThatValidCertificateChainPassesEvaluationWithHostValidation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafValidDNSName.trust
+        let serverTrustPolicy = ServerTrustPolicy.PerformDefaultEvaluation(validateHost: true)
+
+        // When
+        setRootCertificateAsLoneAnchorCertificateForTrust(serverTrust)
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertTrue(serverTrustIsValid, "server trust should pass evaluation")
+    }
+
+    func testThatNonAnchoredRootCertificateChainFailsEvaluationWithHostValidation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.trustWithCertificates([
+            TestCertificates.LeafValidDNSName,
+            TestCertificates.IntermediateCA2
+        ])
+        let serverTrustPolicy = ServerTrustPolicy.PerformDefaultEvaluation(validateHost: true)
+
+        // When
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertFalse(serverTrustIsValid, "server trust should not pass evaluation")
+    }
+
+    func testThatMissingDNSNameLeafCertificateFailsEvaluationWithHostValidation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafMissingDNSNameAndURI.trust
+        let serverTrustPolicy = ServerTrustPolicy.PerformDefaultEvaluation(validateHost: true)
+
+        // When
+        setRootCertificateAsLoneAnchorCertificateForTrust(serverTrust)
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertFalse(serverTrustIsValid, "server trust should not pass evaluation")
+    }
+
+    func testThatWildcardedLeafCertificateChainPassesEvaluationWithHostValidation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafWildcard.trust
+        let serverTrustPolicy = ServerTrustPolicy.PerformDefaultEvaluation(validateHost: true)
+
+        // When
+        setRootCertificateAsLoneAnchorCertificateForTrust(serverTrust)
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertTrue(serverTrustIsValid, "server trust should pass evaluation")
+    }
+
+    func testThatExpiredCertificateChainFailsEvaluationWithHostValidation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafExpired.trust
+        let serverTrustPolicy = ServerTrustPolicy.PerformDefaultEvaluation(validateHost: true)
+
+        // When
+        setRootCertificateAsLoneAnchorCertificateForTrust(serverTrust)
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertFalse(serverTrustIsValid, "server trust should not pass evaluation")
+    }
+
+    func testThatMissingIntermediateCertificateInChainFailsEvaluationWithHostValidation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafValidDNSNameMissingIntermediate.trust
+        let serverTrustPolicy = ServerTrustPolicy.PerformDefaultEvaluation(validateHost: true)
+
+        // When
+        setRootCertificateAsLoneAnchorCertificateForTrust(serverTrust)
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertFalse(serverTrustIsValid, "server trust should not pass evaluation")
+    }
+}
+
+// MARK: -
+
+class ServerTrustPolicyPinCertificatesTestCase: ServerTrustPolicyTestCase {
+
+    // MARK: Validate Certificate Chain Without Validating Host
+
+    func testThatPinnedLeafCertificatePassesEvaluationWithoutHostValidation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafValidDNSName.trust
+        let certificates = [TestCertificates.LeafValidDNSName]
+        let serverTrustPolicy = ServerTrustPolicy.PinCertificates(
+            certificates: certificates,
+            validateCertificateChain: true,
+            validateHost: false
+        )
+
+        // When
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertTrue(serverTrustIsValid, "server trust should pass evaluation")
+    }
+
+    func testThatPinnedIntermediateCertificatePassesEvaluationWithoutHostValidation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafValidDNSName.trust
+        let certificates = [TestCertificates.IntermediateCA2]
+        let serverTrustPolicy = ServerTrustPolicy.PinCertificates(
+            certificates: certificates,
+            validateCertificateChain: true,
+            validateHost: false
+        )
+
+        // When
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertTrue(serverTrustIsValid, "server trust should pass evaluation")
+    }
+
+    func testThatPinnedRootCertificatePassesEvaluationWithoutHostValidation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafValidDNSName.trust
+        let certificates = [TestCertificates.RootCA]
+        let serverTrustPolicy = ServerTrustPolicy.PinCertificates(
+            certificates: certificates,
+            validateCertificateChain: true,
+            validateHost: false
+        )
+
+        // When
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertTrue(serverTrustIsValid, "server trust should pass evaluation")
+    }
+
+    func testThatPinningLeafCertificateNotInCertificateChainFailsEvaluationWithoutHostValidation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafValidDNSName.trust
+        let certificates = [TestCertificates.LeafSignedByCA2]
+        let serverTrustPolicy = ServerTrustPolicy.PinCertificates(
+            certificates: certificates,
+            validateCertificateChain: true,
+            validateHost: false
+        )
+
+        // When
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertFalse(serverTrustIsValid, "server trust should not pass evaluation")
+    }
+
+    func testThatPinningIntermediateCertificateNotInCertificateChainFailsEvaluationWithoutHostValidation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafValidDNSName.trust
+        let certificates = [TestCertificates.IntermediateCA1]
+        let serverTrustPolicy = ServerTrustPolicy.PinCertificates(
+            certificates: certificates,
+            validateCertificateChain: true,
+            validateHost: false
+        )
+
+        // When
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertFalse(serverTrustIsValid, "server trust should not pass evaluation")
+    }
+
+    func testThatPinningExpiredLeafCertificateFailsEvaluationWithoutHostValidation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafExpired.trust
+        let certificates = [TestCertificates.LeafExpired]
+        let serverTrustPolicy = ServerTrustPolicy.PinCertificates(
+            certificates: certificates,
+            validateCertificateChain: true,
+            validateHost: false
+        )
+
+        // When
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertFalse(serverTrustIsValid, "server trust should not pass evaluation")
+    }
+
+    func testThatPinningIntermediateCertificateWithExpiredLeafCertificateFailsEvaluationWithoutHostValidation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafExpired.trust
+        let certificates = [TestCertificates.IntermediateCA2]
+        let serverTrustPolicy = ServerTrustPolicy.PinCertificates(
+            certificates: certificates,
+            validateCertificateChain: true,
+            validateHost: false
+        )
+
+        // When
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertFalse(serverTrustIsValid, "server trust should not pass evaluation")
+    }
+
+    // MARK: Validate Certificate Chain and Host
+
+    func testThatPinnedLeafCertificatePassesEvaluationWithHostValidation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafValidDNSName.trust
+        let certificates = [TestCertificates.LeafValidDNSName]
+        let serverTrustPolicy = ServerTrustPolicy.PinCertificates(
+            certificates: certificates,
+            validateCertificateChain: true,
+            validateHost: true
+        )
+
+        // When
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertTrue(serverTrustIsValid, "server trust should pass evaluation")
+    }
+
+    func testThatPinnedIntermediateCertificatePassesEvaluationWithHostValidation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafValidDNSName.trust
+        let certificates = [TestCertificates.IntermediateCA2]
+        let serverTrustPolicy = ServerTrustPolicy.PinCertificates(
+            certificates: certificates,
+            validateCertificateChain: true,
+            validateHost: true
+        )
+
+        // When
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertTrue(serverTrustIsValid, "server trust should pass evaluation")
+    }
+
+    func testThatPinnedRootCertificatePassesEvaluationWithHostValidation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafValidDNSName.trust
+        let certificates = [TestCertificates.RootCA]
+        let serverTrustPolicy = ServerTrustPolicy.PinCertificates(
+            certificates: certificates,
+            validateCertificateChain: true,
+            validateHost: true
+        )
+
+        // When
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertTrue(serverTrustIsValid, "server trust should pass evaluation")
+    }
+
+    func testThatPinningLeafCertificateNotInCertificateChainFailsEvaluationWithHostValidation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafValidDNSName.trust
+        let certificates = [TestCertificates.LeafSignedByCA2]
+        let serverTrustPolicy = ServerTrustPolicy.PinCertificates(
+            certificates: certificates,
+            validateCertificateChain: true,
+            validateHost: true
+        )
+
+        // When
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertFalse(serverTrustIsValid, "server trust should not pass evaluation")
+    }
+
+    func testThatPinningIntermediateCertificateNotInCertificateChainFailsEvaluationWithHostValidation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafValidDNSName.trust
+        let certificates = [TestCertificates.IntermediateCA1]
+        let serverTrustPolicy = ServerTrustPolicy.PinCertificates(
+            certificates: certificates,
+            validateCertificateChain: true,
+            validateHost: true
+        )
+
+        // When
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertFalse(serverTrustIsValid, "server trust should not pass evaluation")
+    }
+
+    func testThatPinningExpiredLeafCertificateFailsEvaluationWithHostValidation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafExpired.trust
+        let certificates = [TestCertificates.LeafExpired]
+        let serverTrustPolicy = ServerTrustPolicy.PinCertificates(
+            certificates: certificates,
+            validateCertificateChain: true,
+            validateHost: true
+        )
+
+        // When
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertFalse(serverTrustIsValid, "server trust should not pass evaluation")
+    }
+
+    func testThatPinningIntermediateCertificateWithExpiredLeafCertificateFailsEvaluationWithHostValidation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafExpired.trust
+        let certificates = [TestCertificates.IntermediateCA2]
+        let serverTrustPolicy = ServerTrustPolicy.PinCertificates(
+            certificates: certificates,
+            validateCertificateChain: true,
+            validateHost: true
+        )
+
+        // When
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertFalse(serverTrustIsValid, "server trust should not pass evaluation")
+    }
+
+    // MARK: Do NOT Validate Certificate Chain or Host
+
+    func testThatPinnedLeafCertificateWithoutCertificateChainValidationPassesEvaluation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafValidDNSName.trust
+        let certificates = [TestCertificates.LeafValidDNSName]
+        let serverTrustPolicy = ServerTrustPolicy.PinCertificates(
+            certificates: certificates,
+            validateCertificateChain: false,
+            validateHost: false
+        )
+
+        // When
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertTrue(serverTrustIsValid, "server trust should pass evaluation")
+    }
+
+    func testThatPinnedIntermediateCertificateWithoutCertificateChainValidationPassesEvaluation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafValidDNSName.trust
+        let certificates = [TestCertificates.IntermediateCA2]
+        let serverTrustPolicy = ServerTrustPolicy.PinCertificates(
+            certificates: certificates,
+            validateCertificateChain: false,
+            validateHost: false
+        )
+
+        // When
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertTrue(serverTrustIsValid, "server trust should pass evaluation")
+    }
+
+    func testThatPinnedRootCertificateWithoutCertificateChainValidationPassesEvaluation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafValidDNSName.trust
+        let certificates = [TestCertificates.RootCA]
+        let serverTrustPolicy = ServerTrustPolicy.PinCertificates(
+            certificates: certificates,
+            validateCertificateChain: false,
+            validateHost: false
+        )
+
+        // When
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertTrue(serverTrustIsValid, "server trust should pass evaluation")
+    }
+
+    func testThatPinningLeafCertificateNotInCertificateChainWithoutCertificateChainValidationFailsEvaluation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafValidDNSName.trust
+        let certificates = [TestCertificates.LeafSignedByCA2]
+        let serverTrustPolicy = ServerTrustPolicy.PinCertificates(
+            certificates: certificates,
+            validateCertificateChain: false,
+            validateHost: false
+        )
+
+        // When
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertFalse(serverTrustIsValid, "server trust should not pass evaluation")
+    }
+
+    func testThatPinningIntermediateCertificateNotInCertificateChainWithoutCertificateChainValidationFailsEvaluation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafValidDNSName.trust
+        let certificates = [TestCertificates.IntermediateCA1]
+        let serverTrustPolicy = ServerTrustPolicy.PinCertificates(
+            certificates: certificates,
+            validateCertificateChain: false,
+            validateHost: false
+        )
+
+        // When
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertFalse(serverTrustIsValid, "server trust should not pass evaluation")
+    }
+
+    func testThatPinningExpiredLeafCertificateWithoutCertificateChainValidationPassesEvaluation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafExpired.trust
+        let certificates = [TestCertificates.LeafExpired]
+        let serverTrustPolicy = ServerTrustPolicy.PinCertificates(
+            certificates: certificates,
+            validateCertificateChain: false,
+            validateHost: false
+        )
+
+        // When
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertTrue(serverTrustIsValid, "server trust should pass evaluation")
+    }
+
+    func testThatPinningIntermediateCertificateWithExpiredLeafCertificateWithoutCertificateChainValidationPassesEvaluation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafExpired.trust
+        let certificates = [TestCertificates.IntermediateCA2]
+        let serverTrustPolicy = ServerTrustPolicy.PinCertificates(
+            certificates: certificates,
+            validateCertificateChain: false,
+            validateHost: false
+        )
+
+        // When
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+        
+        // Then
+        XCTAssertTrue(serverTrustIsValid, "server trust should pass evaluation")
+    }
+
+    func testThatPinningRootCertificateWithExpiredLeafCertificateWithoutCertificateChainValidationPassesEvaluation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafExpired.trust
+        let certificates = [TestCertificates.RootCA]
+        let serverTrustPolicy = ServerTrustPolicy.PinCertificates(
+            certificates: certificates,
+            validateCertificateChain: false,
+            validateHost: false
+        )
+
+        // When
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertTrue(serverTrustIsValid, "server trust should pass evaluation")
+    }
+
+    func testThatPinningMultipleCertificatesWithoutCertificateChainValidationPassesEvaluation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafExpired.trust
+
+        let certificates = [
+            TestCertificates.LeafMultipleDNSNames, // not in certificate chain
+            TestCertificates.LeafSignedByCA1,      // not in certificate chain
+            TestCertificates.LeafExpired,          // in certificate chain 👍🏼👍🏼
+            TestCertificates.LeafWildcard,         // not in certificate chain
+            TestCertificates.LeafDNSNameAndURI,    // not in certificate chain
+        ]
+
+        let serverTrustPolicy = ServerTrustPolicy.PinCertificates(
+            certificates: certificates,
+            validateCertificateChain: false,
+            validateHost: false
+        )
+
+        // When
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertTrue(serverTrustIsValid, "server trust should pass evaluation")
+    }
+}
+
+// MARK: -
+
+class ServerTrustPolicyPinPublicKeysTestCase: ServerTrustPolicyTestCase {
+
+    // MARK: Validate Certificate Chain Without Validating Host
+
+    func testThatPinningLeafKeyPassesEvaluationWithoutHostValidation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafValidDNSName.trust
+        let publicKeys = [TestPublicKeys.LeafValidDNSName]
+        let serverTrustPolicy = ServerTrustPolicy.PinPublicKeys(
+            publicKeys: publicKeys,
+            validateCertificateChain: true,
+            validateHost: false
+        )
+
+        // When
+        setRootCertificateAsLoneAnchorCertificateForTrust(serverTrust)
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertTrue(serverTrustIsValid, "server trust should pass evaluation")
+    }
+
+    func testThatPinningIntermediateKeyPassesEvaluationWithoutHostValidation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafValidDNSName.trust
+        let publicKeys = [TestPublicKeys.IntermediateCA2]
+        let serverTrustPolicy = ServerTrustPolicy.PinPublicKeys(
+            publicKeys: publicKeys,
+            validateCertificateChain: true,
+            validateHost: false
+        )
+
+        // When
+        setRootCertificateAsLoneAnchorCertificateForTrust(serverTrust)
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertTrue(serverTrustIsValid, "server trust should pass evaluation")
+    }
+
+    func testThatPinningRootKeyPassesEvaluationWithoutHostValidation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafValidDNSName.trust
+        let publicKeys = [TestPublicKeys.RootCA]
+        let serverTrustPolicy = ServerTrustPolicy.PinPublicKeys(
+            publicKeys: publicKeys,
+            validateCertificateChain: true,
+            validateHost: false
+        )
+
+        // When
+        setRootCertificateAsLoneAnchorCertificateForTrust(serverTrust)
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertTrue(serverTrustIsValid, "server trust should pass evaluation")
+    }
+
+    func testThatPinningKeyNotInCertificateChainFailsEvaluationWithoutHostValidation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafValidDNSName.trust
+        let publicKeys = [TestPublicKeys.LeafSignedByCA2]
+        let serverTrustPolicy = ServerTrustPolicy.PinPublicKeys(
+            publicKeys: publicKeys,
+            validateCertificateChain: true,
+            validateHost: false
+        )
+
+        // When
+        setRootCertificateAsLoneAnchorCertificateForTrust(serverTrust)
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertFalse(serverTrustIsValid, "server trust should not pass evaluation")
+    }
+
+    func testThatPinningBackupKeyPassesEvaluationWithoutHostValidation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafValidDNSName.trust
+        let publicKeys = [TestPublicKeys.LeafSignedByCA1, TestPublicKeys.IntermediateCA1, TestPublicKeys.LeafValidDNSName]
+        let serverTrustPolicy = ServerTrustPolicy.PinPublicKeys(
+            publicKeys: publicKeys,
+            validateCertificateChain: true,
+            validateHost: false
+        )
+
+        // When
+        setRootCertificateAsLoneAnchorCertificateForTrust(serverTrust)
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertTrue(serverTrustIsValid, "server trust should pass evaluation")
+    }
+
+    // MARK: Validate Certificate Chain and Host
+
+    func testThatPinningLeafKeyPassesEvaluationWithHostValidation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafValidDNSName.trust
+        let publicKeys = [TestPublicKeys.LeafValidDNSName]
+        let serverTrustPolicy = ServerTrustPolicy.PinPublicKeys(
+            publicKeys: publicKeys,
+            validateCertificateChain: true,
+            validateHost: true
+        )
+
+        // When
+        setRootCertificateAsLoneAnchorCertificateForTrust(serverTrust)
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertTrue(serverTrustIsValid, "server trust should pass evaluation")
+    }
+
+    func testThatPinningIntermediateKeyPassesEvaluationWithHostValidation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafValidDNSName.trust
+        let publicKeys = [TestPublicKeys.IntermediateCA2]
+        let serverTrustPolicy = ServerTrustPolicy.PinPublicKeys(
+            publicKeys: publicKeys,
+            validateCertificateChain: true,
+            validateHost: true
+        )
+
+        // When
+        setRootCertificateAsLoneAnchorCertificateForTrust(serverTrust)
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertTrue(serverTrustIsValid, "server trust should pass evaluation")
+    }
+
+    func testThatPinningRootKeyPassesEvaluationWithHostValidation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafValidDNSName.trust
+        let publicKeys = [TestPublicKeys.RootCA]
+        let serverTrustPolicy = ServerTrustPolicy.PinPublicKeys(
+            publicKeys: publicKeys,
+            validateCertificateChain: true,
+            validateHost: true
+        )
+
+        // When
+        setRootCertificateAsLoneAnchorCertificateForTrust(serverTrust)
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertTrue(serverTrustIsValid, "server trust should pass evaluation")
+    }
+
+    func testThatPinningKeyNotInCertificateChainFailsEvaluationWithHostValidation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafValidDNSName.trust
+        let publicKeys = [TestPublicKeys.LeafSignedByCA2]
+        let serverTrustPolicy = ServerTrustPolicy.PinPublicKeys(
+            publicKeys: publicKeys,
+            validateCertificateChain: true,
+            validateHost: true
+        )
+
+        // When
+        setRootCertificateAsLoneAnchorCertificateForTrust(serverTrust)
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertFalse(serverTrustIsValid, "server trust should not pass evaluation")
+    }
+
+    func testThatPinningBackupKeyPassesEvaluationWithHostValidation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafValidDNSName.trust
+        let publicKeys = [TestPublicKeys.LeafSignedByCA1, TestPublicKeys.IntermediateCA1, TestPublicKeys.LeafValidDNSName]
+        let serverTrustPolicy = ServerTrustPolicy.PinPublicKeys(
+            publicKeys: publicKeys,
+            validateCertificateChain: true,
+            validateHost: true
+        )
+
+        // When
+        setRootCertificateAsLoneAnchorCertificateForTrust(serverTrust)
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertTrue(serverTrustIsValid, "server trust should pass evaluation")
+    }
+
+    // MARK: Do NOT Validate Certificate Chain or Host
+
+    func testThatPinningLeafKeyWithoutCertificateChainValidationPassesEvaluationWithMissingIntermediateCertificate() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafValidDNSNameMissingIntermediate.trust
+        let publicKeys = [TestPublicKeys.LeafValidDNSName]
+        let serverTrustPolicy = ServerTrustPolicy.PinPublicKeys(
+            publicKeys: publicKeys,
+            validateCertificateChain: false,
+            validateHost: false
+        )
+
+        // When
+        setRootCertificateAsLoneAnchorCertificateForTrust(serverTrust)
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertTrue(serverTrustIsValid, "server trust should pass evaluation")
+    }
+
+    func testThatPinningRootKeyWithoutCertificateChainValidationFailsEvaluationWithMissingIntermediateCertificate() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafValidDNSNameMissingIntermediate.trust
+        let publicKeys = [TestPublicKeys.RootCA]
+        let serverTrustPolicy = ServerTrustPolicy.PinPublicKeys(
+            publicKeys: publicKeys,
+            validateCertificateChain: false,
+            validateHost: false
+        )
+
+        // When
+        setRootCertificateAsLoneAnchorCertificateForTrust(serverTrust)
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertFalse(serverTrustIsValid, "server trust should not pass evaluation")
+    }
+
+    func testThatPinningLeafKeyWithoutCertificateChainValidationPassesEvaluationWithIncorrectIntermediateCertificate() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafValidDNSNameWithIncorrectIntermediate.trust
+        let publicKeys = [TestPublicKeys.LeafValidDNSName]
+        let serverTrustPolicy = ServerTrustPolicy.PinPublicKeys(
+            publicKeys: publicKeys,
+            validateCertificateChain: false,
+            validateHost: false
+        )
+
+        // When
+        setRootCertificateAsLoneAnchorCertificateForTrust(serverTrust)
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertTrue(serverTrustIsValid, "server trust should pass evaluation")
+    }
+
+    func testThatPinningLeafKeyWithoutCertificateChainValidationPassesEvaluationWithExpiredLeafCertificate() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafExpired.trust
+        let publicKeys = [TestPublicKeys.LeafExpired]
+        let serverTrustPolicy = ServerTrustPolicy.PinPublicKeys(
+            publicKeys: publicKeys,
+            validateCertificateChain: false,
+            validateHost: false
+        )
+
+        // When
+        setRootCertificateAsLoneAnchorCertificateForTrust(serverTrust)
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertTrue(serverTrustIsValid, "server trust should pass evaluation")
+    }
+
+    func testThatPinningIntermediateKeyWithoutCertificateChainValidationPassesEvaluationWithExpiredLeafCertificate() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafExpired.trust
+        let publicKeys = [TestPublicKeys.IntermediateCA2]
+        let serverTrustPolicy = ServerTrustPolicy.PinPublicKeys(
+            publicKeys: publicKeys,
+            validateCertificateChain: false,
+            validateHost: false
+        )
+
+        // When
+        setRootCertificateAsLoneAnchorCertificateForTrust(serverTrust)
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertTrue(serverTrustIsValid, "server trust should pass evaluation")
+    }
+
+    func testThatPinningRootKeyWithoutCertificateChainValidationPassesEvaluationWithExpiredLeafCertificate() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafExpired.trust
+        let publicKeys = [TestPublicKeys.RootCA]
+        let serverTrustPolicy = ServerTrustPolicy.PinPublicKeys(
+            publicKeys: publicKeys,
+            validateCertificateChain: false,
+            validateHost: false
+        )
+
+        // When
+        setRootCertificateAsLoneAnchorCertificateForTrust(serverTrust)
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertTrue(serverTrustIsValid, "server trust should pass evaluation")
+    }
+}
+
+// MARK: -
+
+class ServerTrustPolicyDisableEvaluationTestCase: ServerTrustPolicyTestCase {
+    func testThatCertificateChainMissingIntermediateCertificatePassesEvaluation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafValidDNSNameMissingIntermediate.trust
+        let serverTrustPolicy = ServerTrustPolicy.DisableEvaluation
+
+        // When
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertTrue(serverTrustIsValid, "server trust should pass evaluation")
+    }
+
+    func testThatExpiredLeafCertificatePassesEvaluation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafExpired.trust
+        let serverTrustPolicy = ServerTrustPolicy.DisableEvaluation
+
+        // When
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertTrue(serverTrustIsValid, "server trust should pass evaluation")
+    }
+}
+
+// MARK: -
+
+class ServerTrustPolicyCustomEvaluationTestCase: ServerTrustPolicyTestCase {
+    func testThatReturningTrueFromClosurePassesEvaluation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafValidDNSName.trust
+        let serverTrustPolicy = ServerTrustPolicy.CustomEvaluation { _, _ in
+            return true
+        }
+
+        // When
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertTrue(serverTrustIsValid, "server trust should pass evaluation")
+    }
+
+    func testThatReturningFalseFromClosurePassesEvaluation() {
+        // Given
+        let host = "test.alamofire.org"
+        let serverTrust = TestTrusts.LeafValidDNSName.trust
+        let serverTrustPolicy = ServerTrustPolicy.CustomEvaluation { _, _ in
+            return false
+        }
+
+        // When
+        let serverTrustIsValid = serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host)
+
+        // Then
+        XCTAssertFalse(serverTrustIsValid, "server trust should not pass evaluation")
+    }
+}
+
+// MARK: -
+
+class ServerTrustPolicyCertificatesInBundleTestCase: ServerTrustPolicyTestCase {
+    func testOnlyValidCertificatesAreDetected() {
+        // Given
+        // Files present in bundle in the form of type+encoding+extension [key|cert][DER|PEM].[cer|crt|der|key|pem]
+        // certDER.cer: DER-encoded well-formed certificate
+        // certDER.crt: DER-encoded well-formed certificate
+        // certDER.der: DER-encoded well-formed certificate
+        // certPEM.*: PEM-encoded well-formed certificates, expected to fail: Apple API only handles DER encoding
+        // devURandomGibberish.crt: Random data, should fail
+        // keyDER.der: DER-encoded key, not a certificate, should fail
+
+        // When
+        let certificates = ServerTrustPolicy.certificatesInBundle(
+            NSBundle(forClass: ServerTrustPolicyCertificatesInBundleTestCase.self)
+        )
+
+        // Then
+        // Expectation: 18 well-formed certificates in the test bundle plus 4 invalid certificates.
+        #if os(OSX)
+            // For some reason, OSX is allowing all certificates to be considered valid. Need to file a
+            // rdar demonstrating this behavior.
+            XCTAssertEqual(certificates.count, 22, "Expected 22 well-formed certificates")
+        #else
+            XCTAssertEqual(certificates.count, 18, "Expected 18 well-formed certificates")
+        #endif
+    }
+}
diff --git a/swift/Alamofire-3.3.0/Tests/String+AlamofireTests.swift b/swift/Alamofire-3.3.0/Tests/String+AlamofireTests.swift
new file mode 100755
index 0000000..6a1a3ab
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/String+AlamofireTests.swift
@@ -0,0 +1,31 @@
+// NSURLSessionConfiguration+AlamofireTests.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import Foundation
+
+extension String {
+    init(count: Int, repeatedString: String) {
+        var value = ""
+        for _ in 0..<count { value += repeatedString }
+        self = value
+    }
+}
diff --git a/swift/Alamofire-3.3.0/Tests/TLSEvaluationTests.swift b/swift/Alamofire-3.3.0/Tests/TLSEvaluationTests.swift
new file mode 100755
index 0000000..6787788
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/TLSEvaluationTests.swift
@@ -0,0 +1,500 @@
+// TLSEvaluationTests.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import Alamofire
+import Foundation
+import XCTest
+
+private struct TestCertificates {
+    static let RootCA = TestCertificates.certificateWithFileName("root-ca-disig")
+    static let IntermediateCA = TestCertificates.certificateWithFileName("intermediate-ca-disig")
+    static let Leaf = TestCertificates.certificateWithFileName("testssl-expire.disig.sk")
+
+    static func certificateWithFileName(fileName: String) -> SecCertificate {
+        class Bundle {}
+        let filePath = NSBundle(forClass: Bundle.self).pathForResource(fileName, ofType: "cer")!
+        let data = NSData(contentsOfFile: filePath)!
+        let certificate = SecCertificateCreateWithData(nil, data)!
+
+        return certificate
+    }
+}
+
+// MARK: -
+
+private struct TestPublicKeys {
+    static let RootCA = TestPublicKeys.publicKeyForCertificate(TestCertificates.RootCA)
+    static let IntermediateCA = TestPublicKeys.publicKeyForCertificate(TestCertificates.IntermediateCA)
+    static let Leaf = TestPublicKeys.publicKeyForCertificate(TestCertificates.Leaf)
+
+    static func publicKeyForCertificate(certificate: SecCertificate) -> SecKey {
+        let policy = SecPolicyCreateBasicX509()
+        var trust: SecTrust?
+        SecTrustCreateWithCertificates(certificate, policy, &trust)
+
+        let publicKey = SecTrustCopyPublicKey(trust!)!
+
+        return publicKey
+    }
+}
+
+// MARK: -
+
+class TLSEvaluationExpiredLeafCertificateTestCase: BaseTestCase {
+    let URL = "https://testssl-expire.disig.sk/"
+    let host = "testssl-expire.disig.sk"
+    var configuration: NSURLSessionConfiguration!
+
+    // MARK: Setup and Teardown
+
+    override func setUp() {
+        super.setUp()
+        configuration = NSURLSessionConfiguration.ephemeralSessionConfiguration()
+    }
+
+    // MARK: Default Behavior Tests
+
+    func testThatExpiredCertificateRequestFailsWithNoServerTrustPolicy() {
+        // Given
+        weak var expectation = expectationWithDescription("\(URL)")
+        let manager = Manager(configuration: configuration)
+        var error: NSError?
+
+        // When
+        manager.request(.GET, URL)
+            .response { _, _, _, responseError in
+                error = responseError
+                expectation?.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(error, "error should not be nil")
+
+        if let code = error?.code {
+            XCTAssertEqual(code, NSURLErrorServerCertificateUntrusted, "code should be untrusted server certficate")
+        } else {
+            XCTFail("error should be an NSError")
+        }
+    }
+
+    // MARK: Server Trust Policy - Perform Default Tests
+
+    func testThatExpiredCertificateRequestFailsWithDefaultServerTrustPolicy() {
+        // Given
+        let policies = [host: ServerTrustPolicy.PerformDefaultEvaluation(validateHost: true)]
+        let manager = Manager(
+            configuration: configuration,
+            serverTrustPolicyManager: ServerTrustPolicyManager(policies: policies)
+        )
+
+        weak var expectation = expectationWithDescription("\(URL)")
+        var error: NSError?
+
+        // When
+        manager.request(.GET, URL)
+            .response { _, _, _, responseError in
+                error = responseError
+                expectation?.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(error, "error should not be nil")
+
+        if let code = error?.code {
+            XCTAssertEqual(code, NSURLErrorCancelled, "code should be cancelled")
+        } else {
+            XCTFail("error should be an NSError")
+        }
+    }
+
+    // MARK: Server Trust Policy - Certificate Pinning Tests
+
+    func testThatExpiredCertificateRequestFailsWhenPinningLeafCertificateWithCertificateChainValidation() {
+        // Given
+        let certificates = [TestCertificates.Leaf]
+        let policies: [String: ServerTrustPolicy] = [
+            host: .PinCertificates(certificates: certificates, validateCertificateChain: true, validateHost: true)
+        ]
+
+        let manager = Manager(
+            configuration: configuration,
+            serverTrustPolicyManager: ServerTrustPolicyManager(policies: policies)
+        )
+
+        weak var expectation = expectationWithDescription("\(URL)")
+        var error: NSError?
+
+        // When
+        manager.request(.GET, URL)
+            .response { _, _, _, responseError in
+                error = responseError
+                expectation?.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(error, "error should not be nil")
+
+        if let code = error?.code {
+            XCTAssertEqual(code, NSURLErrorCancelled, "code should be cancelled")
+        } else {
+            XCTFail("error should be an NSError")
+        }
+    }
+
+    func testThatExpiredCertificateRequestFailsWhenPinningAllCertificatesWithCertificateChainValidation() {
+        // Given
+        let certificates = [TestCertificates.Leaf, TestCertificates.IntermediateCA, TestCertificates.RootCA]
+        let policies: [String: ServerTrustPolicy] = [
+            host: .PinCertificates(certificates: certificates, validateCertificateChain: true, validateHost: true)
+        ]
+
+        let manager = Manager(
+            configuration: configuration,
+            serverTrustPolicyManager: ServerTrustPolicyManager(policies: policies)
+        )
+
+        weak var expectation = expectationWithDescription("\(URL)")
+        var error: NSError?
+
+        // When
+        manager.request(.GET, URL)
+            .response { _, _, _, responseError in
+                error = responseError
+                expectation?.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(error, "error should not be nil")
+
+        if let code = error?.code {
+            XCTAssertEqual(code, NSURLErrorCancelled, "code should be cancelled")
+        } else {
+            XCTFail("error should be an NSError")
+        }
+    }
+
+    func testThatExpiredCertificateRequestSucceedsWhenPinningLeafCertificateWithoutCertificateChainValidation() {
+        // Given
+        let certificates = [TestCertificates.Leaf]
+        let policies: [String: ServerTrustPolicy] = [
+            host: .PinCertificates(certificates: certificates, validateCertificateChain: false, validateHost: true)
+        ]
+
+        let manager = Manager(
+            configuration: configuration,
+            serverTrustPolicyManager: ServerTrustPolicyManager(policies: policies)
+        )
+
+        weak var expectation = expectationWithDescription("\(URL)")
+        var error: NSError?
+
+        // When
+        manager.request(.GET, URL)
+            .response { _, _, _, responseError in
+                error = responseError
+                expectation?.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNil(error, "error should be nil")
+    }
+
+    func testThatExpiredCertificateRequestSucceedsWhenPinningIntermediateCACertificateWithoutCertificateChainValidation() {
+        // Given
+        let certificates = [TestCertificates.IntermediateCA]
+        let policies: [String: ServerTrustPolicy] = [
+            host: .PinCertificates(certificates: certificates, validateCertificateChain: false, validateHost: true)
+        ]
+
+        let manager = Manager(
+            configuration: configuration,
+            serverTrustPolicyManager: ServerTrustPolicyManager(policies: policies)
+        )
+
+        weak var expectation = expectationWithDescription("\(URL)")
+        var error: NSError?
+
+        // When
+        manager.request(.GET, URL)
+            .response { _, _, _, responseError in
+                error = responseError
+                expectation?.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNil(error, "error should be nil")
+    }
+
+    func testThatExpiredCertificateRequestSucceedsWhenPinningRootCACertificateWithoutCertificateChainValidation() {
+        // Given
+        let certificates = [TestCertificates.RootCA]
+        let policies: [String: ServerTrustPolicy] = [
+            host: .PinCertificates(certificates: certificates, validateCertificateChain: false, validateHost: true)
+        ]
+
+        let manager = Manager(
+            configuration: configuration,
+            serverTrustPolicyManager: ServerTrustPolicyManager(policies: policies)
+        )
+
+        weak var expectation = expectationWithDescription("\(URL)")
+        var error: NSError?
+
+        // When
+        manager.request(.GET, URL)
+            .response { _, _, _, responseError in
+                error = responseError
+                expectation?.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNil(error, "error should be nil")
+    }
+
+    // MARK: Server Trust Policy - Public Key Pinning Tests
+
+    func testThatExpiredCertificateRequestFailsWhenPinningLeafPublicKeyWithCertificateChainValidation() {
+        // Given
+        let publicKeys = [TestPublicKeys.Leaf]
+        let policies: [String: ServerTrustPolicy] = [
+            host: .PinPublicKeys(publicKeys: publicKeys, validateCertificateChain: true, validateHost: true)
+        ]
+
+        let manager = Manager(
+            configuration: configuration,
+            serverTrustPolicyManager: ServerTrustPolicyManager(policies: policies)
+        )
+
+        weak var expectation = expectationWithDescription("\(URL)")
+        var error: NSError?
+
+        // When
+        manager.request(.GET, URL)
+            .response { _, _, _, responseError in
+                error = responseError
+                expectation?.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(error, "error should not be nil")
+
+        if let code = error?.code {
+            XCTAssertEqual(code, NSURLErrorCancelled, "code should be cancelled")
+        } else {
+            XCTFail("error should be an NSError")
+        }
+    }
+
+    func testThatExpiredCertificateRequestSucceedsWhenPinningLeafPublicKeyWithoutCertificateChainValidation() {
+        // Given
+        let publicKeys = [TestPublicKeys.Leaf]
+        let policies: [String: ServerTrustPolicy] = [
+            host: .PinPublicKeys(publicKeys: publicKeys, validateCertificateChain: false, validateHost: true)
+        ]
+
+        let manager = Manager(
+            configuration: configuration,
+            serverTrustPolicyManager: ServerTrustPolicyManager(policies: policies)
+        )
+
+        weak var expectation = expectationWithDescription("\(URL)")
+        var error: NSError?
+
+        // When
+        manager.request(.GET, URL)
+            .response { _, _, _, responseError in
+                error = responseError
+                expectation?.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNil(error, "error should be nil")
+    }
+
+    func testThatExpiredCertificateRequestSucceedsWhenPinningIntermediateCAPublicKeyWithoutCertificateChainValidation() {
+        // Given
+        let publicKeys = [TestPublicKeys.IntermediateCA]
+        let policies: [String: ServerTrustPolicy] = [
+            host: .PinPublicKeys(publicKeys: publicKeys, validateCertificateChain: false, validateHost: true)
+        ]
+
+        let manager = Manager(
+            configuration: configuration,
+            serverTrustPolicyManager: ServerTrustPolicyManager(policies: policies)
+        )
+
+        weak var expectation = expectationWithDescription("\(URL)")
+        var error: NSError?
+
+        // When
+        manager.request(.GET, URL)
+            .response { _, _, _, responseError in
+                error = responseError
+                expectation?.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNil(error, "error should be nil")
+    }
+
+    func testThatExpiredCertificateRequestSucceedsWhenPinningRootCAPublicKeyWithoutCertificateChainValidation() {
+        // Given
+        let publicKeys = [TestPublicKeys.RootCA]
+        let policies: [String: ServerTrustPolicy] = [
+            host: .PinPublicKeys(publicKeys: publicKeys, validateCertificateChain: false, validateHost: true)
+        ]
+
+        let manager = Manager(
+            configuration: configuration,
+            serverTrustPolicyManager: ServerTrustPolicyManager(policies: policies)
+        )
+
+        weak var expectation = expectationWithDescription("\(URL)")
+        var error: NSError?
+
+        // When
+        manager.request(.GET, URL)
+            .response { _, _, _, responseError in
+                error = responseError
+                expectation?.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNil(error, "error should be nil")
+    }
+
+    // MARK: Server Trust Policy - Disabling Evaluation Tests
+
+    func testThatExpiredCertificateRequestSucceedsWhenDisablingEvaluation() {
+        // Given
+        let policies = [host: ServerTrustPolicy.DisableEvaluation]
+        let manager = Manager(
+            configuration: configuration,
+            serverTrustPolicyManager: ServerTrustPolicyManager(policies: policies)
+        )
+
+        weak var expectation = expectationWithDescription("\(URL)")
+        var error: NSError?
+
+        // When
+        manager.request(.GET, URL)
+            .response { _, _, _, responseError in
+                error = responseError
+                expectation?.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNil(error, "error should be nil")
+    }
+
+    // MARK: Server Trust Policy - Custom Evaluation Tests
+
+    func testThatExpiredCertificateRequestSucceedsWhenCustomEvaluationReturnsTrue() {
+        // Given
+        let policies = [
+            host: ServerTrustPolicy.CustomEvaluation { _, _ in
+                // Implement a custom evaluation routine here...
+                return true
+            }
+        ]
+
+        let manager = Manager(
+            configuration: configuration,
+            serverTrustPolicyManager: ServerTrustPolicyManager(policies: policies)
+        )
+
+        weak var expectation = expectationWithDescription("\(URL)")
+        var error: NSError?
+
+        // When
+        manager.request(.GET, URL)
+            .response { _, _, _, responseError in
+                error = responseError
+                expectation?.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNil(error, "error should be nil")
+    }
+
+    func testThatExpiredCertificateRequestFailsWhenCustomEvaluationReturnsFalse() {
+        // Given
+        let policies = [
+            host: ServerTrustPolicy.CustomEvaluation { _, _ in
+                // Implement a custom evaluation routine here...
+                return false
+            }
+        ]
+
+        let manager = Manager(
+            configuration: configuration,
+            serverTrustPolicyManager: ServerTrustPolicyManager(policies: policies)
+        )
+
+        weak var expectation = expectationWithDescription("\(URL)")
+        var error: NSError?
+
+        // When
+        manager.request(.GET, URL)
+            .response { _, _, _, responseError in
+                error = responseError
+                expectation?.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(error, "error should not be nil")
+
+        if let code = error?.code {
+            XCTAssertEqual(code, NSURLErrorCancelled, "code should be cancelled")
+        } else {
+            XCTFail("error should be an NSError")
+        }
+    }
+}
diff --git a/swift/Alamofire-3.3.0/Tests/URLProtocolTests.swift b/swift/Alamofire-3.3.0/Tests/URLProtocolTests.swift
new file mode 100755
index 0000000..11a2d32
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/URLProtocolTests.swift
@@ -0,0 +1,169 @@
+// URLProtocolTests.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import Alamofire
+import Foundation
+import XCTest
+
+class ProxyURLProtocol: NSURLProtocol {
+
+    // MARK: Properties
+
+    struct PropertyKeys {
+        static let HandledByForwarderURLProtocol = "HandledByProxyURLProtocol"
+    }
+
+    lazy var session: NSURLSession = {
+        let configuration: NSURLSessionConfiguration = {
+            let configuration = NSURLSessionConfiguration.ephemeralSessionConfiguration()
+            configuration.HTTPAdditionalHeaders = Alamofire.Manager.defaultHTTPHeaders
+
+            return configuration
+        }()
+
+        let session = NSURLSession(configuration: configuration, delegate: self, delegateQueue: nil)
+
+        return session
+    }()
+
+    var activeTask: NSURLSessionTask?
+
+    // MARK: Class Request Methods
+
+    override class func canInitWithRequest(request: NSURLRequest) -> Bool {
+        if NSURLProtocol.propertyForKey(PropertyKeys.HandledByForwarderURLProtocol, inRequest: request) != nil {
+            return false
+        }
+
+        return true
+    }
+
+    override class func canonicalRequestForRequest(request: NSURLRequest) -> NSURLRequest {
+        return request
+    }
+
+    override class func requestIsCacheEquivalent(a: NSURLRequest, toRequest b: NSURLRequest) -> Bool {
+        return false
+    }
+
+    // MARK: Loading Methods
+
+    override func startLoading() {
+        let mutableRequest = request.URLRequest
+        NSURLProtocol.setProperty(true, forKey: PropertyKeys.HandledByForwarderURLProtocol, inRequest: mutableRequest)
+
+        activeTask = session.dataTaskWithRequest(mutableRequest)
+        activeTask?.resume()
+    }
+
+    override func stopLoading() {
+        activeTask?.cancel()
+    }
+}
+
+// MARK: -
+
+extension ProxyURLProtocol: NSURLSessionDelegate {
+
+    // MARK: NSURLSessionDelegate
+
+    func URLSession(session: NSURLSession, dataTask: NSURLSessionDataTask, didReceiveData data: NSData) {
+        client?.URLProtocol(self, didLoadData: data)
+    }
+
+    func URLSession(session: NSURLSession, task: NSURLSessionTask, didCompleteWithError error: NSError?) {
+        if let response = task.response {
+            client?.URLProtocol(self, didReceiveResponse: response, cacheStoragePolicy: .NotAllowed)
+        }
+
+        client?.URLProtocolDidFinishLoading(self)
+    }
+}
+
+// MARK: -
+
+class URLProtocolTestCase: BaseTestCase {
+
+    // MARK: Setup and Teardown Methods
+
+    override func setUp() {
+        super.setUp()
+
+        let configuration = Alamofire.Manager.sharedInstance.session.configuration
+
+        configuration.protocolClasses = [ProxyURLProtocol.self]
+        configuration.HTTPAdditionalHeaders = ["Session-Configuration-Header": "foo"]
+    }
+
+    override func tearDown() {
+        super.tearDown()
+
+        Alamofire.Manager.sharedInstance.session.configuration.protocolClasses = []
+    }
+
+    // MARK: Tests
+
+    func testThatURLProtocolReceivesRequestHeadersAndNotSessionConfigurationHeaders() {
+        // Given
+        let URLString = "https://httpbin.org/response-headers"
+        let URL = NSURL(string: URLString)!
+        let parameters = ["request-header": "foobar"]
+
+        let mutableURLRequest = NSMutableURLRequest(URL: URL)
+        mutableURLRequest.HTTPMethod = Method.GET.rawValue
+
+        let URLRequest = ParameterEncoding.URL.encode(mutableURLRequest, parameters: parameters).0
+
+        let expectation = expectationWithDescription("GET request should succeed")
+
+        var request: NSURLRequest?
+        var response: NSHTTPURLResponse?
+        var data: NSData?
+        var error: NSError?
+
+        // When
+        Alamofire.request(URLRequest)
+            .response { responseRequest, responseResponse, responseData, responseError in
+                request = responseRequest
+                response = responseResponse
+                data = responseData
+                error = responseError
+
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(request, "request should not be nil")
+        XCTAssertNotNil(response, "response should not be nil")
+        XCTAssertNotNil(data, "data should not be nil")
+        XCTAssertNil(error, "error should be nil")
+
+        if let headers = response?.allHeaderFields as? [String: String] {
+            XCTAssertEqual(headers["request-header"] ?? "", "foobar", "urlrequest-header should be foobar")
+            XCTAssertNil(headers["Session-Configuration-Header"], "Session-Configuration-Header should be nil")
+        } else {
+            XCTFail("headers should not be nil")
+        }
+    }
+}
diff --git a/swift/Alamofire-3.3.0/Tests/UploadTests.swift b/swift/Alamofire-3.3.0/Tests/UploadTests.swift
new file mode 100755
index 0000000..7e2b901
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/UploadTests.swift
@@ -0,0 +1,766 @@
+// UploadTests.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+import Alamofire
+import Foundation
+import XCTest
+
+class UploadFileInitializationTestCase: BaseTestCase {
+    func testUploadClassMethodWithMethodURLAndFile() {
+        // Given
+        let URLString = "https://httpbin.org/"
+        let imageURL = URLForResource("rainbow", withExtension: "jpg")
+
+        // When
+        let request = Alamofire.upload(.POST, URLString, file: imageURL)
+
+        // Then
+        XCTAssertNotNil(request.request, "request should not be nil")
+        XCTAssertEqual(request.request?.HTTPMethod ?? "", "POST", "request HTTP method should be POST")
+        XCTAssertEqual(request.request?.URLString ?? "", URLString, "request URL string should be equal")
+        XCTAssertNil(request.response, "response should be nil")
+    }
+
+    func testUploadClassMethodWithMethodURLHeadersAndFile() {
+        // Given
+        let URLString = "https://httpbin.org/"
+        let imageURL = URLForResource("rainbow", withExtension: "jpg")
+
+        // When
+        let request = Alamofire.upload(.POST, URLString, headers: ["Authorization": "123456"], file: imageURL)
+
+        // Then
+        XCTAssertNotNil(request.request, "request should not be nil")
+        XCTAssertEqual(request.request?.HTTPMethod ?? "", "POST", "request HTTP method should be POST")
+        XCTAssertEqual(request.request?.URLString ?? "", URLString, "request URL string should be equal")
+
+        let authorizationHeader = request.request?.valueForHTTPHeaderField("Authorization") ?? ""
+        XCTAssertEqual(authorizationHeader, "123456", "Authorization header is incorrect")
+
+        XCTAssertNil(request.response, "response should be nil")
+    }
+}
+
+// MARK: -
+
+class UploadDataInitializationTestCase: BaseTestCase {
+    func testUploadClassMethodWithMethodURLAndData() {
+        // Given
+        let URLString = "https://httpbin.org/"
+
+        // When
+        let request = Alamofire.upload(.POST, URLString, data: NSData())
+
+        // Then
+        XCTAssertNotNil(request.request, "request should not be nil")
+        XCTAssertEqual(request.request?.HTTPMethod ?? "", "POST", "request HTTP method should be POST")
+        XCTAssertEqual(request.request?.URLString ?? "", URLString, "request URL string should be equal")
+        XCTAssertNil(request.response, "response should be nil")
+    }
+
+    func testUploadClassMethodWithMethodURLHeadersAndData() {
+        // Given
+        let URLString = "https://httpbin.org/"
+
+        // When
+        let request = Alamofire.upload(.POST, URLString, headers: ["Authorization": "123456"], data: NSData())
+
+        // Then
+        XCTAssertNotNil(request.request, "request should not be nil")
+        XCTAssertEqual(request.request?.HTTPMethod ?? "", "POST", "request HTTP method should be POST")
+        XCTAssertEqual(request.request?.URLString ?? "", URLString, "request URL string should be equal")
+
+        let authorizationHeader = request.request?.valueForHTTPHeaderField("Authorization") ?? ""
+        XCTAssertEqual(authorizationHeader, "123456", "Authorization header is incorrect")
+
+        XCTAssertNil(request.response, "response should be nil")
+    }
+}
+
+// MARK: -
+
+class UploadStreamInitializationTestCase: BaseTestCase {
+    func testUploadClassMethodWithMethodURLAndStream() {
+        // Given
+        let URLString = "https://httpbin.org/"
+        let imageURL = URLForResource("rainbow", withExtension: "jpg")
+        let imageStream = NSInputStream(URL: imageURL)!
+
+        // When
+        let request = Alamofire.upload(.POST, URLString, stream: imageStream)
+
+        // Then
+        XCTAssertNotNil(request.request, "request should not be nil")
+        XCTAssertEqual(request.request?.HTTPMethod ?? "", "POST", "request HTTP method should be POST")
+        XCTAssertEqual(request.request?.URLString ?? "", URLString, "request URL string should be equal")
+        XCTAssertNil(request.response, "response should be nil")
+    }
+
+    func testUploadClassMethodWithMethodURLHeadersAndStream() {
+        // Given
+        let URLString = "https://httpbin.org/"
+        let imageURL = URLForResource("rainbow", withExtension: "jpg")
+        let imageStream = NSInputStream(URL: imageURL)!
+
+        // When
+        let request = Alamofire.upload(.POST, URLString, headers: ["Authorization": "123456"], stream: imageStream)
+
+        // Then
+        XCTAssertNotNil(request.request, "request should not be nil")
+        XCTAssertEqual(request.request?.HTTPMethod ?? "", "POST", "request HTTP method should be POST")
+        XCTAssertEqual(request.request?.URLString ?? "", URLString, "request URL string should be equal")
+
+        let authorizationHeader = request.request?.valueForHTTPHeaderField("Authorization") ?? ""
+        XCTAssertEqual(authorizationHeader, "123456", "Authorization header is incorrect")
+
+        XCTAssertNil(request.response, "response should be nil")
+    }
+}
+
+// MARK: -
+
+class UploadDataTestCase: BaseTestCase {
+    func testUploadDataRequest() {
+        // Given
+        let URLString = "https://httpbin.org/post"
+        let data = "Lorem ipsum dolor sit amet".dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+
+        let expectation = expectationWithDescription("Upload request should succeed: \(URLString)")
+
+        var request: NSURLRequest?
+        var response: NSHTTPURLResponse?
+        var error: NSError?
+
+        // When
+        Alamofire.upload(.POST, URLString, data: data)
+            .response { responseRequest, responseResponse, _, responseError in
+                request = responseRequest
+                response = responseResponse
+                error = responseError
+
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(request, "request should not be nil")
+        XCTAssertNotNil(response, "response should not be nil")
+        XCTAssertNil(error, "error should be nil")
+    }
+
+    func testUploadDataRequestWithProgress() {
+        // Given
+        let URLString = "https://httpbin.org/post"
+        let data: NSData = {
+            var text = ""
+            for _ in 1...3_000 {
+                text += "Lorem ipsum dolor sit amet, consectetur adipiscing elit. "
+            }
+
+            return text.dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+        }()
+
+        let expectation = expectationWithDescription("Bytes upload progress should be reported: \(URLString)")
+
+        var byteValues: [(bytes: Int64, totalBytes: Int64, totalBytesExpected: Int64)] = []
+        var progressValues: [(completedUnitCount: Int64, totalUnitCount: Int64)] = []
+        var responseRequest: NSURLRequest?
+        var responseResponse: NSHTTPURLResponse?
+        var responseData: NSData?
+        var responseError: ErrorType?
+
+        // When
+        let upload = Alamofire.upload(.POST, URLString, data: data)
+        upload.progress { bytesWritten, totalBytesWritten, totalBytesExpectedToWrite in
+            let bytes = (bytes: bytesWritten, totalBytes: totalBytesWritten, totalBytesExpected: totalBytesExpectedToWrite)
+            byteValues.append(bytes)
+
+            let progress = (
+                completedUnitCount: upload.progress.completedUnitCount,
+                totalUnitCount: upload.progress.totalUnitCount
+            )
+            progressValues.append(progress)
+        }
+        upload.response { request, response, data, error in
+            responseRequest = request
+            responseResponse = response
+            responseData = data
+            responseError = error
+
+            expectation.fulfill()
+        }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(responseRequest, "response request should not be nil")
+        XCTAssertNotNil(responseResponse, "response response should not be nil")
+        XCTAssertNotNil(responseData, "response data should not be nil")
+        XCTAssertNil(responseError, "response error should be nil")
+
+        XCTAssertEqual(byteValues.count, progressValues.count, "byteValues count should equal progressValues count")
+
+        if byteValues.count == progressValues.count {
+            for index in 0..<byteValues.count {
+                let byteValue = byteValues[index]
+                let progressValue = progressValues[index]
+
+                XCTAssertGreaterThan(byteValue.bytes, 0, "reported bytes should always be greater than 0")
+                XCTAssertEqual(
+                    byteValue.totalBytes,
+                    progressValue.completedUnitCount,
+                    "total bytes should be equal to completed unit count"
+                )
+                XCTAssertEqual(
+                    byteValue.totalBytesExpected,
+                    progressValue.totalUnitCount,
+                    "total bytes expected should be equal to total unit count"
+                )
+            }
+        }
+
+        if let
+            lastByteValue = byteValues.last,
+            lastProgressValue = progressValues.last
+        {
+            let byteValueFractionalCompletion = Double(lastByteValue.totalBytes) / Double(lastByteValue.totalBytesExpected)
+            let progressValueFractionalCompletion = Double(lastProgressValue.0) / Double(lastProgressValue.1)
+
+            XCTAssertEqual(byteValueFractionalCompletion, 1.0, "byte value fractional completion should equal 1.0")
+            XCTAssertEqual(
+                progressValueFractionalCompletion,
+                1.0,
+                "progress value fractional completion should equal 1.0"
+            )
+        } else {
+            XCTFail("last item in bytesValues and progressValues should not be nil")
+        }
+    }
+}
+
+// MARK: -
+
+class UploadMultipartFormDataTestCase: BaseTestCase {
+
+    // MARK: Tests
+
+    func testThatUploadingMultipartFormDataSetsContentTypeHeader() {
+        // Given
+        let URLString = "https://httpbin.org/post"
+        let uploadData = "upload_data".dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+
+        let expectation = expectationWithDescription("multipart form data upload should succeed")
+
+        var formData: MultipartFormData?
+        var request: NSURLRequest?
+        var response: NSHTTPURLResponse?
+        var data: NSData?
+        var error: NSError?
+
+        // When
+        Alamofire.upload(
+            .POST,
+            URLString,
+            multipartFormData: { multipartFormData in
+                multipartFormData.appendBodyPart(data: uploadData, name: "upload_data")
+                formData = multipartFormData
+            },
+            encodingCompletion: { result in
+                switch result {
+                case .Success(let upload, _, _):
+                    upload.response { responseRequest, responseResponse, responseData, responseError in
+                        request = responseRequest
+                        response = responseResponse
+                        data = responseData
+                        error = responseError
+
+                        expectation.fulfill()
+                    }
+                case .Failure:
+                    expectation.fulfill()
+                }
+            }
+        )
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(request, "request should not be nil")
+        XCTAssertNotNil(response, "response should not be nil")
+        XCTAssertNotNil(data, "data should not be nil")
+        XCTAssertNil(error, "error should be nil")
+
+        if let
+            request = request,
+            multipartFormData = formData,
+            contentType = request.valueForHTTPHeaderField("Content-Type")
+        {
+            XCTAssertEqual(contentType, multipartFormData.contentType, "Content-Type header value should match")
+        } else {
+            XCTFail("Content-Type header value should not be nil")
+        }
+    }
+
+    func testThatUploadingMultipartFormDataSucceedsWithDefaultParameters() {
+        // Given
+        let URLString = "https://httpbin.org/post"
+        let french = "français".dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+        let japanese = "日本語".dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+
+        let expectation = expectationWithDescription("multipart form data upload should succeed")
+
+        var request: NSURLRequest?
+        var response: NSHTTPURLResponse?
+        var data: NSData?
+        var error: NSError?
+
+        // When
+        Alamofire.upload(
+            .POST,
+            URLString,
+            multipartFormData: { multipartFormData in
+                multipartFormData.appendBodyPart(data: french, name: "french")
+                multipartFormData.appendBodyPart(data: japanese, name: "japanese")
+            },
+            encodingCompletion: { result in
+                switch result {
+                case .Success(let upload, _, _):
+                    upload.response { responseRequest, responseResponse, responseData, responseError in
+                        request = responseRequest
+                        response = responseResponse
+                        data = responseData
+                        error = responseError
+
+                        expectation.fulfill()
+                    }
+                case .Failure:
+                    expectation.fulfill()
+                }
+            }
+        )
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(request, "request should not be nil")
+        XCTAssertNotNil(response, "response should not be nil")
+        XCTAssertNotNil(data, "data should not be nil")
+        XCTAssertNil(error, "error should be nil")
+    }
+
+    func testThatUploadingMultipartFormDataWhileStreamingFromMemoryMonitorsProgress() {
+        executeMultipartFormDataUploadRequestWithProgress(streamFromDisk: false)
+    }
+
+    func testThatUploadingMultipartFormDataWhileStreamingFromDiskMonitorsProgress() {
+        executeMultipartFormDataUploadRequestWithProgress(streamFromDisk: true)
+    }
+
+    func testThatUploadingMultipartFormDataBelowMemoryThresholdStreamsFromMemory() {
+        // Given
+        let URLString = "https://httpbin.org/post"
+        let french = "français".dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+        let japanese = "日本語".dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+
+        let expectation = expectationWithDescription("multipart form data upload should succeed")
+
+        var streamingFromDisk: Bool?
+        var streamFileURL: NSURL?
+
+        // When
+        Alamofire.upload(
+            .POST,
+            URLString,
+            multipartFormData: { multipartFormData in
+                multipartFormData.appendBodyPart(data: french, name: "french")
+                multipartFormData.appendBodyPart(data: japanese, name: "japanese")
+            },
+            encodingCompletion: { result in
+                switch result {
+                case let .Success(upload, uploadStreamingFromDisk, uploadStreamFileURL):
+                    streamingFromDisk = uploadStreamingFromDisk
+                    streamFileURL = uploadStreamFileURL
+
+                    upload.response { _, _, _, _ in
+                        expectation.fulfill()
+                    }
+                case .Failure:
+                    expectation.fulfill()
+                }
+            }
+        )
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(streamingFromDisk, "streaming from disk should not be nil")
+        XCTAssertNil(streamFileURL, "stream file URL should be nil")
+
+        if let streamingFromDisk = streamingFromDisk {
+            XCTAssertFalse(streamingFromDisk, "streaming from disk should be false")
+        }
+    }
+
+    func testThatUploadingMultipartFormDataBelowMemoryThresholdSetsContentTypeHeader() {
+        // Given
+        let URLString = "https://httpbin.org/post"
+        let uploadData = "upload data".dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+
+        let expectation = expectationWithDescription("multipart form data upload should succeed")
+
+        var formData: MultipartFormData?
+        var request: NSURLRequest?
+        var streamingFromDisk: Bool?
+
+        // When
+        Alamofire.upload(
+            .POST,
+            URLString,
+            multipartFormData: { multipartFormData in
+                multipartFormData.appendBodyPart(data: uploadData, name: "upload_data")
+                formData = multipartFormData
+            },
+            encodingCompletion: { result in
+                switch result {
+                case let .Success(upload, uploadStreamingFromDisk, _):
+                    streamingFromDisk = uploadStreamingFromDisk
+
+                    upload.response { responseRequest, _, _, _ in
+                        request = responseRequest
+                        expectation.fulfill()
+                    }
+                case .Failure:
+                    expectation.fulfill()
+                }
+            }
+        )
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(streamingFromDisk, "streaming from disk should not be nil")
+
+        if let streamingFromDisk = streamingFromDisk {
+            XCTAssertFalse(streamingFromDisk, "streaming from disk should be false")
+        }
+
+        if let
+            request = request,
+            multipartFormData = formData,
+            contentType = request.valueForHTTPHeaderField("Content-Type")
+        {
+            XCTAssertEqual(contentType, multipartFormData.contentType, "Content-Type header value should match")
+        } else {
+            XCTFail("Content-Type header value should not be nil")
+        }
+    }
+
+    func testThatUploadingMultipartFormDataAboveMemoryThresholdStreamsFromDisk() {
+        // Given
+        let URLString = "https://httpbin.org/post"
+        let french = "français".dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+        let japanese = "日本語".dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+
+        let expectation = expectationWithDescription("multipart form data upload should succeed")
+
+        var streamingFromDisk: Bool?
+        var streamFileURL: NSURL?
+
+        // When
+        Alamofire.upload(
+            .POST,
+            URLString,
+            multipartFormData: { multipartFormData in
+                multipartFormData.appendBodyPart(data: french, name: "french")
+                multipartFormData.appendBodyPart(data: japanese, name: "japanese")
+            },
+            encodingMemoryThreshold: 0,
+            encodingCompletion: { result in
+                switch result {
+                case let .Success(upload, uploadStreamingFromDisk, uploadStreamFileURL):
+                    streamingFromDisk = uploadStreamingFromDisk
+                    streamFileURL = uploadStreamFileURL
+
+                    upload.response { _, _, _, _ in
+                        expectation.fulfill()
+                    }
+                case .Failure:
+                    expectation.fulfill()
+                }
+            }
+        )
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(streamingFromDisk, "streaming from disk should not be nil")
+        XCTAssertNotNil(streamFileURL, "stream file URL should not be nil")
+
+        if let
+            streamingFromDisk = streamingFromDisk,
+            streamFilePath = streamFileURL?.path
+        {
+            XCTAssertTrue(streamingFromDisk, "streaming from disk should be true")
+            XCTAssertTrue(
+                NSFileManager.defaultManager().fileExistsAtPath(streamFilePath),
+                "stream file path should exist"
+            )
+        }
+    }
+
+    func testThatUploadingMultipartFormDataAboveMemoryThresholdSetsContentTypeHeader() {
+        // Given
+        let URLString = "https://httpbin.org/post"
+        let uploadData = "upload data".dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+
+        let expectation = expectationWithDescription("multipart form data upload should succeed")
+
+        var formData: MultipartFormData?
+        var request: NSURLRequest?
+        var streamingFromDisk: Bool?
+
+        // When
+        Alamofire.upload(
+            .POST,
+            URLString,
+            multipartFormData: { multipartFormData in
+                multipartFormData.appendBodyPart(data: uploadData, name: "upload_data")
+                formData = multipartFormData
+            },
+            encodingMemoryThreshold: 0,
+            encodingCompletion: { result in
+                switch result {
+                case let .Success(upload, uploadStreamingFromDisk, _):
+                    streamingFromDisk = uploadStreamingFromDisk
+
+                    upload.response { responseRequest, _, _, _ in
+                        request = responseRequest
+                        expectation.fulfill()
+                    }
+                case .Failure:
+                    expectation.fulfill()
+                }
+            }
+        )
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(streamingFromDisk, "streaming from disk should not be nil")
+
+        if let streamingFromDisk = streamingFromDisk {
+            XCTAssertTrue(streamingFromDisk, "streaming from disk should be true")
+        }
+
+        if let
+            request = request,
+            multipartFormData = formData,
+            contentType = request.valueForHTTPHeaderField("Content-Type")
+        {
+            XCTAssertEqual(contentType, multipartFormData.contentType, "Content-Type header value should match")
+        } else {
+            XCTFail("Content-Type header value should not be nil")
+        }
+    }
+
+    func testThatUploadingMultipartFormDataOnBackgroundSessionWritesDataToFileToAvoidCrash() {
+        // Given
+        let manager: Manager = {
+            let identifier = "com.alamofire.uploadtests.\(NSUUID().UUIDString)"
+            let configuration = NSURLSessionConfiguration.backgroundSessionConfigurationForAllPlatformsWithIdentifier(identifier)
+
+            return Manager(configuration: configuration, serverTrustPolicyManager: nil)
+        }()
+
+        let URLString = "https://httpbin.org/post"
+        let french = "français".dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+        let japanese = "日本語".dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+
+        let expectation = expectationWithDescription("multipart form data upload should succeed")
+
+        var request: NSURLRequest?
+        var response: NSHTTPURLResponse?
+        var data: NSData?
+        var error: NSError?
+        var streamingFromDisk: Bool?
+
+        // When
+        manager.upload(
+            .POST,
+            URLString,
+            multipartFormData: { multipartFormData in
+                multipartFormData.appendBodyPart(data: french, name: "french")
+                multipartFormData.appendBodyPart(data: japanese, name: "japanese")
+            },
+            encodingCompletion: { result in
+                switch result {
+                case let .Success(upload, uploadStreamingFromDisk, _):
+                    streamingFromDisk = uploadStreamingFromDisk
+
+                    upload.response { responseRequest, responseResponse, responseData, responseError in
+                        request = responseRequest
+                        response = responseResponse
+                        data = responseData
+                        error = responseError
+
+                        expectation.fulfill()
+                    }
+                case .Failure:
+                    expectation.fulfill()
+                }
+            }
+        )
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(request, "request should not be nil")
+        XCTAssertNotNil(response, "response should not be nil")
+        XCTAssertNotNil(data, "data should not be nil")
+        XCTAssertNil(error, "error should be nil")
+
+        if let streamingFromDisk = streamingFromDisk {
+            XCTAssertTrue(streamingFromDisk, "streaming from disk should be true")
+        } else {
+            XCTFail("streaming from disk should not be nil")
+        }
+    }
+
+    // MARK: Combined Test Execution
+
+    private func executeMultipartFormDataUploadRequestWithProgress(streamFromDisk streamFromDisk: Bool) {
+        // Given
+        let URLString = "https://httpbin.org/post"
+        let loremData1: NSData = {
+            var loremValues: [String] = []
+            for _ in 1...1_500 {
+                loremValues.append("Lorem ipsum dolor sit amet, consectetur adipiscing elit.")
+            }
+
+            return loremValues.joinWithSeparator(" ").dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+        }()
+        let loremData2: NSData = {
+            var loremValues: [String] = []
+            for _ in 1...1_500 {
+                loremValues.append("Lorem ipsum dolor sit amet, nam no graeco recusabo appellantur.")
+            }
+
+            return loremValues.joinWithSeparator(" ").dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
+        }()
+
+        let expectation = expectationWithDescription("multipart form data upload should succeed")
+
+        var byteValues: [(bytes: Int64, totalBytes: Int64, totalBytesExpected: Int64)] = []
+        var progressValues: [(completedUnitCount: Int64, totalUnitCount: Int64)] = []
+        var request: NSURLRequest?
+        var response: NSHTTPURLResponse?
+        var data: NSData?
+        var error: NSError?
+
+        // When
+        Alamofire.upload(
+            .POST,
+            URLString,
+            multipartFormData: { multipartFormData in
+                multipartFormData.appendBodyPart(data: loremData1, name: "lorem1")
+                multipartFormData.appendBodyPart(data: loremData2, name: "lorem2")
+            },
+            encodingMemoryThreshold: streamFromDisk ? 0 : 100_000_000,
+            encodingCompletion: { result in
+                switch result {
+                case .Success(let upload, _, _):
+                    upload.progress { bytesWritten, totalBytesWritten, totalBytesExpectedToWrite in
+                        let bytes = (
+                            bytes: bytesWritten,
+                            totalBytes: totalBytesWritten,
+                            totalBytesExpected: totalBytesExpectedToWrite
+                        )
+                        byteValues.append(bytes)
+
+                        let progress = (
+                            completedUnitCount: upload.progress.completedUnitCount,
+                            totalUnitCount: upload.progress.totalUnitCount
+                        )
+                        progressValues.append(progress)
+                    }
+                    upload.response { responseRequest, responseResponse, responseData, responseError in
+                        request = responseRequest
+                        response = responseResponse
+                        data = responseData
+                        error = responseError
+
+                        expectation.fulfill()
+                    }
+                case .Failure:
+                    expectation.fulfill()
+                }
+            }
+        )
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(request, "request should not be nil")
+        XCTAssertNotNil(response, "response should not be nil")
+        XCTAssertNotNil(data, "data should not be nil")
+        XCTAssertNil(error, "error should be nil")
+
+        XCTAssertEqual(byteValues.count, progressValues.count, "byteValues count should equal progressValues count")
+
+        if byteValues.count == progressValues.count {
+            for index in 0..<byteValues.count {
+                let byteValue = byteValues[index]
+                let progressValue = progressValues[index]
+
+                XCTAssertGreaterThan(byteValue.bytes, 0, "reported bytes should always be greater than 0")
+                XCTAssertEqual(
+                    byteValue.totalBytes,
+                    progressValue.completedUnitCount,
+                    "total bytes should be equal to completed unit count"
+                )
+                XCTAssertEqual(
+                    byteValue.totalBytesExpected,
+                    progressValue.totalUnitCount,
+                    "total bytes expected should be equal to total unit count"
+                )
+            }
+        }
+
+        if let
+            lastByteValue = byteValues.last,
+            lastProgressValue = progressValues.last
+        {
+            let byteValueFractionalCompletion = Double(lastByteValue.totalBytes) / Double(lastByteValue.totalBytesExpected)
+            let progressValueFractionalCompletion = Double(lastProgressValue.0) / Double(lastProgressValue.1)
+
+            XCTAssertEqual(byteValueFractionalCompletion, 1.0, "byte value fractional completion should equal 1.0")
+            XCTAssertEqual(
+                progressValueFractionalCompletion,
+                1.0,
+                "progress value fractional completion should equal 1.0"
+            )
+        } else {
+            XCTFail("last item in bytesValues and progressValues should not be nil")
+        }
+    }
+}
diff --git a/swift/Alamofire-3.3.0/Tests/ValidationTests.swift b/swift/Alamofire-3.3.0/Tests/ValidationTests.swift
new file mode 100755
index 0000000..7bdc955
--- /dev/null
+++ b/swift/Alamofire-3.3.0/Tests/ValidationTests.swift
@@ -0,0 +1,530 @@
+// ValidationTests.swift
+//
+// Copyright (c) 2014–2016 Alamofire Software Foundation (http://alamofire.org/)
+//
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+
+@testable import Alamofire
+import Foundation
+import XCTest
+
+class StatusCodeValidationTestCase: BaseTestCase {
+    func testThatValidationForRequestWithAcceptableStatusCodeResponseSucceeds() {
+        // Given
+        let URLString = "https://httpbin.org/status/200"
+        let expectation = expectationWithDescription("request should return 200 status code")
+
+        var error: NSError?
+
+        // When
+        Alamofire.request(.GET, URLString)
+            .validate(statusCode: 200..<300)
+            .response { _, _, _, responseError in
+                error = responseError
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNil(error, "error should be nil")
+    }
+
+    func testThatValidationForRequestWithUnacceptableStatusCodeResponseFails() {
+        // Given
+        let URLString = "https://httpbin.org/status/404"
+        let expectation = expectationWithDescription("request should return 404 status code")
+
+        var error: NSError?
+
+        // When
+        Alamofire.request(.GET, URLString)
+            .validate(statusCode: [200])
+            .response { _, _, _, responseError in
+                error = responseError
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(error, "error should not be nil")
+
+        if let error = error {
+            XCTAssertEqual(error.domain, Error.Domain, "domain should be Alamofire error domain")
+            XCTAssertEqual(error.code, Error.Code.StatusCodeValidationFailed.rawValue, "code should be status code validation failure")
+        } else {
+            XCTFail("error should be an NSError")
+        }
+    }
+
+    func testThatValidationForRequestWithNoAcceptableStatusCodesFails() {
+        // Given
+        let URLString = "https://httpbin.org/status/201"
+        let expectation = expectationWithDescription("request should return 201 status code")
+
+        var error: NSError?
+
+        // When
+        Alamofire.request(.GET, URLString)
+            .validate(statusCode: [])
+            .response { _, _, _, responseError in
+                error = responseError
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(error, "error should not be nil")
+
+        if let error = error {
+            XCTAssertEqual(error.domain, Error.Domain, "domain should be Alamofire error domain")
+            XCTAssertEqual(error.code, Error.Code.StatusCodeValidationFailed.rawValue, "code should be status code validation failure")
+        } else {
+            XCTFail("error should be an NSError")
+        }
+    }
+}
+
+// MARK: -
+
+class ContentTypeValidationTestCase: BaseTestCase {
+    func testThatValidationForRequestWithAcceptableContentTypeResponseSucceeds() {
+        // Given
+        let URLString = "https://httpbin.org/ip"
+        let expectation = expectationWithDescription("request should succeed and return ip")
+
+        var error: NSError?
+
+        // When
+        Alamofire.request(.GET, URLString)
+            .validate(contentType: ["application/json"])
+            .validate(contentType: ["application/json;charset=utf8"])
+            .validate(contentType: ["application/json;q=0.8;charset=utf8"])
+            .response { _, _, _, responseError in
+                error = responseError
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNil(error, "error should be nil")
+    }
+
+    func testThatValidationForRequestWithAcceptableWildcardContentTypeResponseSucceeds() {
+        // Given
+        let URLString = "https://httpbin.org/ip"
+        let expectation = expectationWithDescription("request should succeed and return ip")
+
+        var error: NSError?
+
+        // When
+        Alamofire.request(.GET, URLString)
+            .validate(contentType: ["*/*"])
+            .validate(contentType: ["application/*"])
+            .validate(contentType: ["*/json"])
+            .response { _, _, _, responseError in
+                error = responseError
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNil(error, "error should be nil")
+    }
+
+    func testThatValidationForRequestWithUnacceptableContentTypeResponseFails() {
+        // Given
+        let URLString = "https://httpbin.org/xml"
+        let expectation = expectationWithDescription("request should succeed and return xml")
+
+        var error: NSError?
+
+        // When
+        Alamofire.request(.GET, URLString)
+            .validate(contentType: ["application/octet-stream"])
+            .response { _, _, _, responseError in
+                error = responseError
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(error, "error should not be nil")
+
+        if let error = error {
+            XCTAssertEqual(error.domain, Error.Domain, "domain should be Alamofire error domain")
+            XCTAssertEqual(error.code, Error.Code.ContentTypeValidationFailed.rawValue, "code should be content type validation failure")
+        } else {
+            XCTFail("error should be an NSError")
+        }
+    }
+
+    func testThatValidationForRequestWithNoAcceptableContentTypeResponseFails() {
+        // Given
+        let URLString = "https://httpbin.org/xml"
+        let expectation = expectationWithDescription("request should succeed and return xml")
+
+        var error: NSError?
+
+        // When
+        Alamofire.request(.GET, URLString)
+            .validate(contentType: [])
+            .response { _, _, _, responseError in
+                error = responseError
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(error, "error should not be nil")
+
+        if let error = error {
+            XCTAssertEqual(error.domain, Error.Domain, "domain should be Alamofire error domain")
+            XCTAssertEqual(error.code, Error.Code.ContentTypeValidationFailed.rawValue, "code should be content type validation failure")
+        } else {
+            XCTFail("error should be an NSError")
+        }
+    }
+
+    func testThatValidationForRequestWithNoAcceptableContentTypeResponseSucceedsWhenNoDataIsReturned() {
+        // Given
+        let URLString = "https://httpbin.org/status/204"
+        let expectation = expectationWithDescription("request should succeed and return no data")
+
+        var error: NSError?
+
+        // When
+        Alamofire.request(.GET, URLString)
+            .validate(contentType: [])
+            .response { _, response, data, responseError in
+                error = responseError
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNil(error, "error should be nil")
+    }
+
+    func testThatValidationForRequestWithAcceptableWildcardContentTypeResponseSucceedsWhenResponseIsNil() {
+        // Given
+        class MockManager: Manager {
+            override func request(URLRequest: URLRequestConvertible) -> Request {
+                var dataTask: NSURLSessionDataTask!
+
+                dispatch_sync(queue) {
+                    dataTask = self.session.dataTaskWithRequest(URLRequest.URLRequest)
+                }
+
+                let request = MockRequest(session: session, task: dataTask)
+                delegate[request.delegate.task] = request.delegate
+
+                if startRequestsImmediately {
+                    request.resume()
+                }
+
+                return request
+            }
+        }
+
+        class MockRequest: Request {
+            override var response: NSHTTPURLResponse? {
+                return MockHTTPURLResponse(
+                    URL: NSURL(string: request!.URLString)!,
+                    statusCode: 204,
+                    HTTPVersion: "HTTP/1.1",
+                    headerFields: nil
+                )
+            }
+        }
+
+        class MockHTTPURLResponse: NSHTTPURLResponse {
+            override var MIMEType: String? { return nil }
+        }
+
+        let manager: Manager = {
+            let configuration: NSURLSessionConfiguration = {
+                let configuration = NSURLSessionConfiguration.ephemeralSessionConfiguration()
+                configuration.HTTPAdditionalHeaders = Alamofire.Manager.defaultHTTPHeaders
+
+                return configuration
+            }()
+
+            return MockManager(configuration: configuration)
+        }()
+
+        let URLString = "https://httpbin.org/delete"
+        let expectation = expectationWithDescription("request should be stubbed and return 204 status code")
+
+        var response: NSHTTPURLResponse?
+        var data: NSData?
+        var error: NSError?
+
+        // When
+        manager.request(.DELETE, URLString)
+            .validate(contentType: ["*/*"])
+            .response { _, responseResponse, responseData, responseError in
+                response = responseResponse
+                data = responseData
+                error = responseError
+
+                expectation.fulfill()
+        }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(response, "response should not be nil")
+        XCTAssertNotNil(data, "data should not be nil")
+        XCTAssertNil(error, "error should be nil")
+
+        if let response = response {
+            XCTAssertEqual(response.statusCode, 204, "response status code should be 204")
+            XCTAssertNil(response.MIMEType, "response mime type should be nil")
+        }
+    }
+}
+
+// MARK: -
+
+class MultipleValidationTestCase: BaseTestCase {
+    func testThatValidationForRequestWithAcceptableStatusCodeAndContentTypeResponseSucceeds() {
+        // Given
+        let URLString = "https://httpbin.org/ip"
+        let expectation = expectationWithDescription("request should succeed and return ip")
+
+        var error: NSError?
+
+        // When
+        Alamofire.request(.GET, URLString)
+            .validate(statusCode: 200..<300)
+            .validate(contentType: ["application/json"])
+            .response { _, _, _, responseError in
+                error = responseError
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNil(error, "error should be nil")
+    }
+
+    func testThatValidationForRequestWithUnacceptableStatusCodeAndContentTypeResponseFailsWithStatusCodeError() {
+        // Given
+        let URLString = "https://httpbin.org/xml"
+        let expectation = expectationWithDescription("request should succeed and return xml")
+
+        var error: NSError?
+
+        // When
+        Alamofire.request(.GET, URLString)
+            .validate(statusCode: 400..<600)
+            .validate(contentType: ["application/octet-stream"])
+            .response { _, _, _, responseError in
+                error = responseError
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(error, "error should not be nil")
+
+        if let error = error {
+            XCTAssertEqual(error.domain, Error.Domain, "domain should be Alamofire error domain")
+            XCTAssertEqual(error.code, Error.Code.StatusCodeValidationFailed.rawValue, "code should be status code validation failure")
+        } else {
+            XCTFail("error should be an NSError")
+        }
+    }
+
+    func testThatValidationForRequestWithUnacceptableStatusCodeAndContentTypeResponseFailsWithContentTypeError() {
+        // Given
+        let URLString = "https://httpbin.org/xml"
+        let expectation = expectationWithDescription("request should succeed and return xml")
+
+        var error: NSError?
+
+        // When
+        Alamofire.request(.GET, URLString)
+            .validate(contentType: ["application/octet-stream"])
+            .validate(statusCode: 400..<600)
+            .response { _, _, _, responseError in
+                error = responseError
+                expectation.fulfill()
+        }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(error, "error should not be nil")
+
+        if let error = error {
+            XCTAssertEqual(error.domain, Error.Domain, "domain should be Alamofire error domain")
+            XCTAssertEqual(error.code, Error.Code.ContentTypeValidationFailed.rawValue, "code should be content type validation failure")
+        } else {
+            XCTFail("error should be an NSError")
+        }
+    }
+}
+
+// MARK: -
+
+class AutomaticValidationTestCase: BaseTestCase {
+    func testThatValidationForRequestWithAcceptableStatusCodeAndContentTypeResponseSucceeds() {
+        // Given
+        let URL = NSURL(string: "https://httpbin.org/ip")!
+        let mutableURLRequest = NSMutableURLRequest(URL: URL)
+        mutableURLRequest.setValue("application/json", forHTTPHeaderField: "Accept")
+
+        let expectation = expectationWithDescription("request should succeed and return ip")
+
+        var error: NSError?
+
+        // When
+        Alamofire.request(mutableURLRequest)
+            .validate()
+            .response { _, _, _, responseError in
+                error = responseError
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNil(error, "error should be nil")
+    }
+
+    func testThatValidationForRequestWithUnacceptableStatusCodeResponseFails() {
+        // Given
+        let URLString = "https://httpbin.org/status/404"
+        let expectation = expectationWithDescription("request should return 404 status code")
+
+        var error: NSError?
+
+        // When
+        Alamofire.request(.GET, URLString)
+            .validate()
+            .response { _, _, _, responseError in
+                error = responseError
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(error, "error should not be nil")
+
+        if let error = error {
+            XCTAssertEqual(error.domain, Error.Domain, "domain should be Alamofire error domain")
+            XCTAssertEqual(error.code, Error.Code.StatusCodeValidationFailed.rawValue, "code should be status code validation failure")
+        } else {
+            XCTFail("error should be an NSError")
+        }
+    }
+
+    func testThatValidationForRequestWithAcceptableWildcardContentTypeResponseSucceeds() {
+        // Given
+        let URL = NSURL(string: "https://httpbin.org/ip")!
+        let mutableURLRequest = NSMutableURLRequest(URL: URL)
+        mutableURLRequest.setValue("application/*", forHTTPHeaderField: "Accept")
+
+        let expectation = expectationWithDescription("request should succeed and return ip")
+
+        var error: NSError?
+
+        // When
+        Alamofire.request(mutableURLRequest)
+            .validate()
+            .response { _, _, _, responseError in
+                error = responseError
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNil(error, "error should be nil")
+    }
+
+    func testThatValidationForRequestWithAcceptableComplexContentTypeResponseSucceeds() {
+        // Given
+        let URL = NSURL(string: "https://httpbin.org/xml")!
+        let mutableURLRequest = NSMutableURLRequest(URL: URL)
+
+        let headerValue = "text/xml, application/xml, application/xhtml+xml, text/html;q=0.9, text/plain;q=0.8,*/*;q=0.5"
+        mutableURLRequest.setValue(headerValue, forHTTPHeaderField: "Accept")
+
+        let expectation = expectationWithDescription("request should succeed and return xml")
+
+        var error: NSError?
+
+        // When
+        Alamofire.request(mutableURLRequest)
+            .validate()
+            .response { _, _, _, responseError in
+                error = responseError
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNil(error, "error should be nil")
+    }
+
+    func testThatValidationForRequestWithUnacceptableContentTypeResponseFails() {
+        // Given
+        let URL = NSURL(string: "https://httpbin.org/xml")!
+        let mutableURLRequest = NSMutableURLRequest(URL: URL)
+        mutableURLRequest.setValue("application/json", forHTTPHeaderField: "Accept")
+
+        let expectation = expectationWithDescription("request should succeed and return xml")
+
+        var error: NSError?
+
+        // When
+        Alamofire.request(mutableURLRequest)
+            .validate()
+            .response { _, _, _, responseError in
+                error = responseError
+                expectation.fulfill()
+            }
+
+        waitForExpectationsWithTimeout(timeout, handler: nil)
+
+        // Then
+        XCTAssertNotNil(error, "error should not be nil")
+
+        if let error = error {
+            XCTAssertEqual(error.domain, Error.Domain, "domain should be Alamofire error domain")
+            XCTAssertEqual(error.code, Error.Code.ContentTypeValidationFailed.rawValue, "code should be content type validation failure")
+        } else {
+            XCTFail("error should be an NSError")
+        }
+    }
+}
diff --git a/swift/google_signin_sdk_3_0_0/CHANGELOG.md b/swift/google_signin_sdk_3_0_0/CHANGELOG.md
new file mode 100644
index 0000000..2bf9b2e
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/CHANGELOG.md
@@ -0,0 +1,63 @@
+# 2016-03-04 -- v3.0.0
+- Provides |givenName| and |familyName| properties on |GIDProfileData|.
+- Allows setting the |loginHint| property on |GIDSignIn| to prefill the user's
+  ID or email address in the sign-in flow.
+- Removed the |UIViewController(SignIn)| category as well as the |delegate|
+  property from |GIDSignInButton|.
+- Requires that |uiDelegate| has been set properly on |GIDSignIn| and that
+  SafariServices framework has been linked.
+- Removes the dependency on StoreKit.
+- Provides bitcode support.
+- Requires Xcode 7.0 or above due to bitcode incompatibilities with Xcode 6.
+
+# 2015-10-26 -- v2.4.0
+- Updates sign-in button with the new Google logo.
+- Supports domain restriction for sign-in.
+- Allows refreshing ID tokens.
+
+# 2015-10-09 -- v2.3.2
+- No longer requires Xcode 7.
+
+# 2015-10-01 -- v2.3.1
+- Fixes a crash in |GIDProfileData|'s |imageURLWithDimension:|.
+
+# 2015-09-25 -- v2.3.0
+- Requires Xcode 7.0 or above.
+- Uses SFSafariViewController for signing in on iOS 9.  |uiDelegate| must be
+  set for this to work.
+- Optimizes fetching user profile.
+- Supports GTMFetcherAuthorizationProtocol in GIDAuthentication.
+
+# 2015-07-15 -- v2.2.0
+- Compatible with iOS 9 (beta).  Note that this version of the Sign-In SDK does
+  not include bitcode, so you must set ENABLE_BITCODE to NO in your project if
+  you use Xcode 7.
+- Adds descriptive identifiers for GIDSignInButton's Auto Layout constraints.
+- |signInSilently| no longer requires setting |uiDelegate|.
+
+# 2015-06-17 -- v2.1.0
+- Fixes Auto Layout issues with GIDSignInButton.
+- Adds API to refresh access token in GIDAuthentication.
+- Better exception description for unassigned clientID in GIDSignIn.
+- Other minor bug fixes.
+
+# 2015-05-28 -- v2.0.1
+- Bug fixes
+
+# 2015-05-21 -- v2.0.0
+- Supports sign-in via UIWebView rather than app switching to a browser,
+  configurable with the new |allowsSignInWithWebView| property.
+- Now apps which have disabled the app switch to a browser via the
+  |allowsSignInWithBrowser| and in-app web view via |allowsSignInWithWebView|
+  properties have the option to display a prompt instructing the user to
+  download the Google app from the App Store.
+- Fixes sign-in button sizing issue when auto-layout is enabled
+- |signInSilently| now calls the delegate with error when |hasAuthInKeychain|
+  is |NO| as documented
+- Other minor bug fixes
+
+# 2015-03-12 -- v1.0.0
+- New sign-in focused SDK with refreshed API
+- Dynamically rendered sign-in button with contextual branding
+- Basic profile support
+- Added allowsSignInWithBrowser property
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/Info.plist b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/Info.plist
new file mode 100644
index 0000000..bb8965d
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/Info.plist
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/Roboto-Bold.ttf b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/Roboto-Bold.ttf
new file mode 100644
index 0000000..68822ca
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/Roboto-Bold.ttf
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/ar.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/ar.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..7fdf528
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/ar.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/ca.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/ca.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..519ab44
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/ca.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/cs.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/cs.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..fe7dc9c
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/cs.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/da.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/da.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..e1a2f7e
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/da.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/de.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/de.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..4e8f09f
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/de.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/el.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/el.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..36fae01
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/el.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/en.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/en.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..fecad11
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/en.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/en_GB.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/en_GB.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..fecad11
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/en_GB.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/es.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/es.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..15a0abf
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/es.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/es_MX.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/es_MX.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..59d2dcb
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/es_MX.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/fi.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/fi.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..f383b94
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/fi.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/fr.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/fr.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..7cdd675
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/fr.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/google.png b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/google.png
new file mode 100644
index 0000000..a13d4dc
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/google.png
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/google@2x.png b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/google@2x.png
new file mode 100644
index 0000000..88a86b1
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/google@2x.png
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/google@3x.png b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/google@3x.png
new file mode 100644
index 0000000..b4d4645
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/google@3x.png
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/gplus.png b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/gplus.png
new file mode 100644
index 0000000..a612d53
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/gplus.png
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/gplus@2x.png b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/gplus@2x.png
new file mode 100644
index 0000000..b2380df
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/gplus@2x.png
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/gplus@3x.png b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/gplus@3x.png
new file mode 100644
index 0000000..0a449d3
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/gplus@3x.png
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/he.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/he.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..7ca16d5
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/he.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/hr.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/hr.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..4a25129
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/hr.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/hu.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/hu.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..4312727
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/hu.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/id.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/id.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..bb9f0f9
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/id.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/it.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/it.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..320a232
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/it.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/ja.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/ja.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..7fe6148
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/ja.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/ko.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/ko.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..8f84f47
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/ko.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/ms.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/ms.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..4ae20d2
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/ms.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/nb.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/nb.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..18edcd0
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/nb.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/nl.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/nl.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..6d1c58e
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/nl.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/pl.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/pl.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..112ec3b
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/pl.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/pt.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/pt.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..5941bec
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/pt.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/pt_BR.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/pt_BR.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..5941bec
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/pt_BR.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/pt_PT.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/pt_PT.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..e98d74f
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/pt_PT.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/ro.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/ro.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..49814ea
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/ro.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/ru.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/ru.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..549538f
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/ru.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/sk.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/sk.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..4de8bb4
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/sk.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/sv.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/sv.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..f67b5b4
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/sv.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/th.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/th.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..0ff2fa3
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/th.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/tr.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/tr.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..2f3f1d5
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/tr.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/uk.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/uk.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..c684256
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/uk.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/vi.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/vi.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..f99e5c7
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/vi.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/zh_CN.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/zh_CN.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..b230411
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/zh_CN.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/zh_TW.lproj/GoogleSignIn.strings b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/zh_TW.lproj/GoogleSignIn.strings
new file mode 100644
index 0000000..c8be012
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.bundle/zh_TW.lproj/GoogleSignIn.strings
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/GoogleSignIn b/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/GoogleSignIn
new file mode 100644
index 0000000..dec2198
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/GoogleSignIn
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/Headers/GIDAuthentication.h b/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/Headers/GIDAuthentication.h
new file mode 100644
index 0000000..7ab00b8
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/Headers/GIDAuthentication.h
@@ -0,0 +1,72 @@
+/*
+ * GIDAuthentication.h
+ * Google Sign-In iOS SDK
+ *
+ * Copyright 2014 Google Inc.
+ *
+ * Use of this SDK is subject to the Google APIs Terms of Service:
+ * https://developers.google.com/terms/
+ */
+
+#import <Foundation/Foundation.h>
+
+@protocol GTMFetcherAuthorizationProtocol;
+@class GIDAuthentication;
+
+// @relates GIDAuthentication
+//
+// The callback block that takes a GIDAuthentication, or an error if attempt to refresh was
+// unsuccessful.
+typedef void (^GIDAuthenticationHandler)(GIDAuthentication *authentication, NSError *error);
+
+// @relates GIDAuthentication
+//
+// The callback block that takes an access token, or an error if attempt to refresh was
+// unsuccessful.
+typedef void (^GIDAccessTokenHandler)(NSString *accessToken, NSError *error);
+
+// This class represents the OAuth 2.0 entities needed for sign-in.
+@interface GIDAuthentication : NSObject <NSCoding>
+
+// The client ID associated with the authentication.
+@property(nonatomic, readonly) NSString *clientID;
+
+// The OAuth2 access token to access Google services.
+@property(nonatomic, readonly) NSString *accessToken;
+
+// The estimated expiration date of the access token.
+@property(nonatomic, readonly) NSDate *accessTokenExpirationDate;
+
+// The OAuth2 refresh token to exchange for new access tokens.
+@property(nonatomic, readonly) NSString *refreshToken;
+
+// An OpenID Connect ID token that identifies the user. Send this token to your server to
+// authenticate the user there. For more information on this topic, see
+// https://developers.google.com/identity/sign-in/ios/backend-auth
+@property(nonatomic, readonly) NSString *idToken;
+
+// The estimated expiration date of the ID token.
+@property(nonatomic, readonly) NSDate *idTokenExpirationDate;
+
+// Gets a new authorizer for GTLService, GTMSessionFetcher, or GTMHTTPFetcher.
+- (id<GTMFetcherAuthorizationProtocol>)fetcherAuthorizer;
+
+// Get a valid access token and a valid ID token, refreshing them first if they have expired or are
+// about to expire.
+- (void)getTokensWithHandler:(GIDAuthenticationHandler)handler;
+
+// Refreshes the access token and the ID token using the refresh token.
+- (void)refreshTokensWithHandler:(GIDAuthenticationHandler)handler;
+
+// Gets the access token, which may be a new one from the refresh token if the original has already
+// expired or is about to expire. Deprecated: use |getTokensWithHandler:| to get access tokens
+// instead.
+- (void)getAccessTokenWithHandler:(GIDAccessTokenHandler)handler
+    DEPRECATED_MSG_ATTRIBUTE("Use |getTokensWithHandler:| instead.");
+
+// Refreshes the access token with the refresh token. Deprecated: Use |refreshTokensWithHandler:|
+// to refresh access tokens instead.
+- (void)refreshAccessTokenWithHandler:(GIDAccessTokenHandler)handler
+    DEPRECATED_MSG_ATTRIBUTE("Use |refreshTokensWithHandler:| instead.");
+
+@end
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/Headers/GIDGoogleUser.h b/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/Headers/GIDGoogleUser.h
new file mode 100644
index 0000000..9562a33
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/Headers/GIDGoogleUser.h
@@ -0,0 +1,38 @@
+/*
+ * GIDGoogleUser.h
+ * Google Sign-In iOS SDK
+ *
+ * Copyright 2014 Google Inc.
+ *
+ * Use of this SDK is subject to the Google APIs Terms of Service:
+ * https://developers.google.com/terms/
+ */
+
+#import <Foundation/Foundation.h>
+
+@class GIDAuthentication;
+@class GIDProfileData;
+
+// This class represents a user account.
+@interface GIDGoogleUser : NSObject <NSCoding>
+
+// The Google user ID.
+@property(nonatomic, readonly) NSString *userID;
+
+// Representation of the Basic profile data. It is only available if |shouldFetchBasicProfile|
+// is set and either |signInWithUser| or |SignIn| has been completed successfully.
+@property(nonatomic, readonly) GIDProfileData *profile;
+
+// The authentication object for the user.
+@property(nonatomic, readonly) GIDAuthentication *authentication;
+
+// The API scopes requested by the app in an array of |NSString|s.
+@property(nonatomic, readonly) NSArray *accessibleScopes;
+
+// For Google Apps hosted accounts, the domain of the user.
+@property(nonatomic, readonly) NSString *hostedDomain;
+
+// An OAuth2 authorization code for the home server.
+@property(nonatomic, readonly) NSString *serverAuthCode;
+
+@end
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/Headers/GIDProfileData.h b/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/Headers/GIDProfileData.h
new file mode 100644
index 0000000..8ffc995
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/Headers/GIDProfileData.h
@@ -0,0 +1,34 @@
+/*
+ * GIDProfileData.h
+ * Google Sign-In iOS SDK
+ *
+ * Copyright 2014 Google Inc.
+ *
+ * Use of this SDK is subject to the Google APIs Terms of Service:
+ * https://developers.google.com/terms/
+ */
+
+#import <Foundation/Foundation.h>
+
+// This class represents the basic profile information of a GIDGoogleUser.
+@interface GIDProfileData : NSObject <NSCoding>
+
+// The Google user's email.
+@property(nonatomic, readonly) NSString *email;
+
+// The Google user's full name.
+@property(nonatomic, readonly) NSString *name;
+
+// The Google user's given name.
+@property(nonatomic, readonly) NSString *givenName;
+
+// The Google user's family name.
+@property(nonatomic, readonly) NSString *familyName;
+
+// Whether or not the user has profile image.
+@property(nonatomic, readonly) BOOL hasImage;
+
+// Gets the user's profile image URL for the given dimension in pixels for each side of the square.
+- (NSURL *)imageURLWithDimension:(NSUInteger)dimension;
+
+@end
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/Headers/GIDSignIn.h b/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/Headers/GIDSignIn.h
new file mode 100644
index 0000000..167b38b
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/Headers/GIDSignIn.h
@@ -0,0 +1,199 @@
+/*
+ * GIDSignIn.h
+ * Google Sign-In iOS SDK
+ *
+ * Copyright 2012 Google Inc.
+ *
+ * Use of this SDK is subject to the Google APIs Terms of Service:
+ * https://developers.google.com/terms/
+ */
+
+#import <Foundation/Foundation.h>
+#import <UIKit/UIKit.h>
+
+@class GIDGoogleUser;
+@class GIDSignIn;
+
+// The error domain for NSErrors returned by the Google Identity SDK.
+extern NSString *const kGIDSignInErrorDomain;
+
+// A list of potential error codes returned from the Google Identity SDK.
+typedef NS_ENUM(NSInteger, GIDSignInErrorCode) {
+  // Indicates an unknown error has occured.
+  kGIDSignInErrorCodeUnknown = -1,
+  // Indicates a problem reading or writing to the application keychain.
+  kGIDSignInErrorCodeKeychain = -2,
+  // Indicates no appropriate applications are installed on the user's device which can handle
+  // sign-in. This code will only ever be returned if using webview and switching to browser have
+  // both been disabled.
+  kGIDSignInErrorCodeNoSignInHandlersInstalled = -3,
+  // Indicates there are no auth tokens in the keychain. This error code will be returned by
+  // signInSilently if the user has never signed in before with the given scopes, or if they have
+  // since signed out.
+  kGIDSignInErrorCodeHasNoAuthInKeychain = -4,
+  // Indicates the user canceled the sign in request.
+  kGIDSignInErrorCodeCanceled = -5,
+};
+
+// A protocol implemented by the delegate of |GIDSignIn| to receive a refresh token or an error.
+@protocol GIDSignInDelegate <NSObject>
+
+// The sign-in flow has finished and was successful if |error| is |nil|.
+- (void)signIn:(GIDSignIn *)signIn
+    didSignInForUser:(GIDGoogleUser *)user
+           withError:(NSError *)error;
+
+@optional
+
+// Finished disconnecting |user| from the app successfully if |error| is |nil|.
+- (void)signIn:(GIDSignIn *)signIn
+    didDisconnectWithUser:(GIDGoogleUser *)user
+                withError:(NSError *)error;
+
+@end
+
+// A protocol which may be implemented by consumers of |GIDSignIn| to be notified of when
+// GIDSignIn has finished dispatching the sign-in request.
+//
+// This protocol is useful for developers who implement their own "Sign In with Google" button.
+// Because there may be a brief delay between when the call to |signIn| is made, and when the
+// app switch occurs, it is best practice to have the UI react to the user's input by displaying
+// a spinner or other UI element. The |signInWillDispatch| method should be used to
+// stop or hide the spinner.
+@protocol GIDSignInUIDelegate <NSObject>
+
+@optional
+
+// The sign-in flow has finished selecting how to proceed, and the UI should no longer display
+// a spinner or other "please wait" element.
+- (void)signInWillDispatch:(GIDSignIn *)signIn error:(NSError *)error;
+
+// If implemented, this method will be invoked when sign in needs to display a view controller.
+// The view controller should be displayed modally (via UIViewController's |presentViewController|
+// method, and not pushed unto a navigation controller's stack.
+- (void)signIn:(GIDSignIn *)signIn presentViewController:(UIViewController *)viewController;
+
+// If implemented, this method will be invoked when sign in needs to dismiss a view controller.
+// Typically, this should be implemented by calling |dismissViewController| on the passed
+// view controller.
+- (void)signIn:(GIDSignIn *)signIn dismissViewController:(UIViewController *)viewController;
+
+@end
+
+// This class signs the user in with Google. It also provides single sign-on via a capable Google
+// app if one is installed.
+//
+// For reference, please see "Google Sign-In for iOS" at
+// https://developers.google.com/identity/sign-in/ios
+// Here is sample code to use |GIDSignIn|:
+// 1. Get a reference to the |GIDSignIn| shared instance:
+//    GIDSignIn *signIn = [GIDSignIn sharedInstance];
+// 2. Set the OAuth 2.0 scopes you want to request:
+//    [signIn setScopes:[NSArray arrayWithObject:@"https://www.googleapis.com/auth/plus.login"]];
+// 3. Call [signIn setDelegate:self];
+// 4. Set up delegate method |signIn:didSignInForUser:withError:|.
+// 5. Call |handleURL| on the shared instance from |application:openUrl:...| in your app delegate.
+// 6. Call |signIn| on the shared instance;
+@interface GIDSignIn : NSObject
+
+// The authentication object for the current user, or |nil| if there is currently no logged in user.
+@property(nonatomic, readonly) GIDGoogleUser *currentUser;
+
+// The object to be notified when authentication is finished.
+@property(nonatomic, weak) id<GIDSignInDelegate> delegate;
+
+// The object to be notified when sign in dispatch selection is finished.
+@property(nonatomic, weak) id<GIDSignInUIDelegate> uiDelegate;
+
+// The client ID of the app from the Google APIs console.  Must set for sign-in to work.
+@property(nonatomic, copy) NSString *clientID;
+
+// The API scopes requested by the app in an array of |NSString|s.  The default value is |@[]|.
+//
+// This property is optional. If you set it, set it before calling |signIn|.
+@property(nonatomic, copy) NSArray *scopes;
+
+// Whether or not to fetch basic profile data after signing in. The data is saved in the
+// |GIDGoogleUser.profileData| object.
+//
+// Setting the flag will add "email" and "profile" to scopes.
+// Defaults to |YES|.
+@property(nonatomic, assign) BOOL shouldFetchBasicProfile;
+
+// Whether or not to switch to Chrome or Safari if no suitable Google apps are installed.
+// Defaults to |YES|.
+@property(nonatomic, assign) BOOL allowsSignInWithBrowser;
+
+// Whether or not to support sign-in via a web view.
+// Defaults to |YES|.
+@property(nonatomic, assign) BOOL allowsSignInWithWebView;
+
+// The language for sign-in, in the form of ISO 639-1 language code optionally followed by a dash
+// and ISO 3166-1 alpha-2 region code, such as |@"it"| or |@"pt-PT"|. Only set if different from
+// system default.
+//
+// This property is optional. If you set it, set it before calling |signIn|.
+@property(nonatomic, copy) NSString *language;
+
+// The login hint to the authorization server, for example the user's ID, or email address,
+// to be prefilled if possible.
+//
+// This property is optional. If you set it, set it before calling |signIn|.
+@property(nonatomic, copy) NSString *loginHint;
+
+// The client ID of the home web server.  This will be returned as the |audience| property of the
+// OpenID Connect ID token.  For more info on the ID token:
+// https://developers.google.com/identity/sign-in/ios/backend-auth
+//
+// This property is optional. If you set it, set it before calling |signIn|.
+@property(nonatomic, copy) NSString *serverClientID;
+
+// The OpenID2 realm of the home web server. This allows Google to include the user's OpenID
+// Identifier in the OpenID Connect ID token.
+//
+// This property is optional. If you set it, set it before calling |signIn|.
+@property(nonatomic, copy) NSString *openIDRealm;
+
+// The Google Apps domain to which users must belong to sign in.  To verify, check |GIDGoogleUser|'s
+// |hostedDomain| property.
+//
+// This property is optional. If you set it, set it before calling |signIn|.
+@property(nonatomic, copy) NSString *hostedDomain;
+
+// Returns a shared |GIDSignIn| instance.
++ (GIDSignIn *)sharedInstance;
+
+// This method should be called from your |UIApplicationDelegate|'s
+// |application:openURL:sourceApplication:annotation|.  Returns |YES| if |GIDSignIn| handled this
+// URL.
+- (BOOL)handleURL:(NSURL *)url
+    sourceApplication:(NSString *)sourceApplication
+           annotation:(id)annotation;
+
+// Checks whether the user has either currently signed in or has previous authentication saved in
+// keychain.
+- (BOOL)hasAuthInKeychain;
+
+// Attempts to sign in a previously authenticated user without interaction.  The delegate will be
+// called at the end of this process indicating success or failure.
+- (void)signInSilently;
+
+// Starts the sign-in process.  The delegate will be called at the end of this process.  Note that
+// this method should not be called when the app is starting up, (e.g in
+// application:didFinishLaunchingWithOptions:). Instead use the |signInSilently| method.
+- (void)signIn;
+
+// Marks current user as being in the signed out state.
+- (void)signOut;
+
+// Disconnects the current user from the app and revokes previous authentication. If the operation
+// succeeds, the OAuth 2.0 token is also removed from keychain.
+- (void)disconnect;
+
+// DEPRECATED: this method always calls back with |NO| on iOS 9 or above. Do not use this method.
+// Checks if a Google app to handle sign in requests is installed on the user's device on iOS 8 or
+// below.
+- (void)checkGoogleSignInAppInstalled:(void (^)(BOOL isInstalled))callback
+    DEPRECATED_MSG_ATTRIBUTE("This method always calls back with |NO| on iOS 9 or above.");
+
+@end
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/Headers/GIDSignInButton.h b/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/Headers/GIDSignInButton.h
new file mode 100644
index 0000000..1e75fd6
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/Headers/GIDSignInButton.h
@@ -0,0 +1,51 @@
+/*
+ * GIDSignInButton.h
+ * Google Sign-In iOS SDK
+ *
+ * Copyright 2012 Google Inc.
+ *
+ * Use of this SDK is subject to the Google APIs Terms of Service:
+ * https://developers.google.com/terms/
+ */
+
+#import <UIKit/UIKit.h>
+
+// The various layout styles supported by the GIDSignInButton.
+// The minimum size of the button depends on the language used for text.
+// The following dimensions (in points) fit for all languages:
+// kGIDSignInButtonStyleStandard: 230 x 48
+// kGIDSignInButtonStyleWide:     312 x 48
+// kGIDSignInButtonStyleIconOnly: 48 x 48 (no text, fixed size)
+typedef NS_ENUM(NSInteger, GIDSignInButtonStyle) {
+  kGIDSignInButtonStyleStandard = 0,
+  kGIDSignInButtonStyleWide = 1,
+  kGIDSignInButtonStyleIconOnly = 2
+};
+
+// The various color schemes supported by the GIDSignInButton.
+typedef NS_ENUM(NSInteger, GIDSignInButtonColorScheme) {
+  kGIDSignInButtonColorSchemeDark = 0,
+  kGIDSignInButtonColorSchemeLight = 1
+};
+
+// This class provides the "Sign in with Google" button. You can instantiate this
+// class programmatically or from a NIB file.  You should set up the
+// |GIDSignIn| shared instance with your client ID and any additional scopes,
+// implement the delegate methods for |GIDSignIn|, and add this button to your
+// view hierarchy.
+@interface GIDSignInButton : UIControl
+
+// The layout style for the sign-in button.
+// Possible values:
+// - kGIDSignInButtonStyleStandard: 230 x 48 (default)
+// - kGIDSignInButtonStyleWide:     312 x 48
+// - kGIDSignInButtonStyleIconOnly: 48 x 48 (no text, fixed size)
+@property(nonatomic, assign) GIDSignInButtonStyle style;
+
+// The color scheme for the sign-in button.
+// Possible values:
+// - kGIDSignInButtonColorSchemeDark
+// - kGIDSignInButtonColorSchemeLight (default)
+@property(nonatomic, assign) GIDSignInButtonColorScheme colorScheme;
+
+@end
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/Headers/GoogleSignIn.h b/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/Headers/GoogleSignIn.h
new file mode 100644
index 0000000..fba5281
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/Headers/GoogleSignIn.h
@@ -0,0 +1,16 @@
+//
+//  GoogleSignIn.h
+//
+//  Copyright 2016 Google Inc.
+//
+
+#ifndef GOOGLESIGNIN_H
+#define GOOGLESIGNIN_H
+
+#import "GIDAuthentication.h"
+#import "GIDGoogleUser.h"
+#import "GIDProfileData.h"
+#import "GIDSignIn.h"
+#import "GIDSignInButton.h"
+
+#endif
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/_CodeSignature/CodeDirectory b/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/_CodeSignature/CodeDirectory
new file mode 100644
index 0000000..e68d942
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/_CodeSignature/CodeDirectory
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/_CodeSignature/CodeRequirements b/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/_CodeSignature/CodeRequirements
new file mode 100644
index 0000000..8c6e2d8
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/_CodeSignature/CodeRequirements
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/_CodeSignature/CodeResources b/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/_CodeSignature/CodeResources
new file mode 100644
index 0000000..69d9b00
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/_CodeSignature/CodeResources
@@ -0,0 +1,875 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>files</key>
+	<dict>
+		<key>GoogleSignIn.bundle/Info.plist</key>
+		<data>
+		Oa6r4AzGbkRYUYhcX3u3fc+d2c4=
+		</data>
+		<key>GoogleSignIn.bundle/Roboto-Bold.ttf</key>
+		<data>
+		RzJ98PNefNfIZFh0iXp0SWl1RK4=
+		</data>
+		<key>GoogleSignIn.bundle/ar.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			/W2E2nBiCO4CXUFHUIaoITWn4K4=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/ca.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			ylUZ0kzSN+kHid0bUOcasn1Bkq0=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/cs.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			5hytqAYAVKI2SoTp2zgXRIkpzmc=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/da.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			sQ8P05b+4/3oFfw9CJ5rzc377FA=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/de.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			h3W3E1MTa6pYVMtItK8H+kQPV5g=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/el.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			kft1Oan4IeLz/hIResgd8U2yUSk=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/en.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			BHXe5c9MOdtQmnIIqrweeMs++Ek=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/en_GB.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			BHXe5c9MOdtQmnIIqrweeMs++Ek=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/es.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			crLqqkWLqldkLfh5lqq/5+nddBQ=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/es_MX.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			u6agLvcNNm78x3I8Y0OWHvkvMG0=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/fi.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			x5/CeEpsfdZQzLB26xYAHKehdnI=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/fr.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			SepxYglC6bhtE8MoRsgbE1zsMLg=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/google.png</key>
+		<data>
+		aRs/zX73YrSGLLTP8EMEDJQGeTs=
+		</data>
+		<key>GoogleSignIn.bundle/google@2x.png</key>
+		<data>
+		xu0SOLMY2id0HRzRihn0qsuFhAc=
+		</data>
+		<key>GoogleSignIn.bundle/google@3x.png</key>
+		<data>
+		xbEbn7T4aiYsnIp0S2SVilad3d0=
+		</data>
+		<key>GoogleSignIn.bundle/gplus.png</key>
+		<data>
+		sckxlpPdN9YqkQ+F0VqHdAZPRJM=
+		</data>
+		<key>GoogleSignIn.bundle/gplus@2x.png</key>
+		<data>
+		HPKm/3a0jjBLdmV9MC9z+iSewD8=
+		</data>
+		<key>GoogleSignIn.bundle/gplus@3x.png</key>
+		<data>
+		1Cp2H89DMm3YyrtPZ0MxPxPio3g=
+		</data>
+		<key>GoogleSignIn.bundle/he.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			F4qxglDo4Xc05O7peM670ibBiBM=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/hr.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			b9w7vrCSdtoJ9yMPKfEJ/fuLKNg=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/hu.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			DIZJbzsHV+9SvBfBVGG12cY/3j0=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/id.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			QlqHv2qVPo06cQcyUm6JcaPlvYw=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/it.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			sM6i/A9OpISbQi+LLZ4GFm411t4=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/ja.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			S9uR79y9UKhGG4sP/+kulURJNUw=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/ko.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			rngmj1YvSwSI3JHblZEw9GBnxkA=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/ms.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			+zExhvHl2Rz0BfnyrR5QzjxD6W0=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/nb.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			dRpFy/Yi2Ykgd8oJk4OwfoqDTiI=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/nl.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			wRd4xJsygs89XGF2LxA5Rt97Mrs=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/pl.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			dym3lcEqb92rt6dGB0bbzT77n3Q=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/pt.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			mqZlsQw/lCNqJ9JuhNjoQlcUwaY=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/pt_BR.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			mqZlsQw/lCNqJ9JuhNjoQlcUwaY=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/pt_PT.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			pyN3yDvTmBILBmp1adIM3i6VSCc=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/ro.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			eBY+Xw2j4Irzz/ok8wr2kIeclJk=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/ru.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			Tecdavf642EkMKYLarlQBQ+kN1Q=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/sk.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			w5Gy/lSS+upJM9u24rmtDoobIFw=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/sv.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			/yQgLrZ/eWWjs6/x9+OIONF2jXw=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/th.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			HLIdX3HjhomhVcdWAy6SLS62TIk=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/tr.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			p+oQlwm/43QJIicFXJRRHVZHm6I=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/uk.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			8HZJcJE5yj0El4Hstmvnpc4PwbI=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/vi.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			1Rljhru55I5DSUVWojKF3zegqW8=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/zh_CN.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			Mggg62sqcdSjArqmp2wvOzsDhBM=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/zh_TW.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			FPFTv0KtSMUBRxedpt2aEXggjkw=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>Headers/GIDAuthentication.h</key>
+		<data>
+		FzK6IwG0rTCDwT4rK1bT7B3NHGQ=
+		</data>
+		<key>Headers/GIDGoogleUser.h</key>
+		<data>
+		fHWWdvNlSV+Jx4Nf0XPa6BXXCfs=
+		</data>
+		<key>Headers/GIDProfileData.h</key>
+		<data>
+		ggv89d6DwaxI6ObXaT2MPVHk2VM=
+		</data>
+		<key>Headers/GIDSignIn.h</key>
+		<data>
+		T0HXnKzzAesHHpftstJ35xLVCRo=
+		</data>
+		<key>Headers/GIDSignInButton.h</key>
+		<data>
+		e3ikDMcw52uX9xkoaRnuZJENnM4=
+		</data>
+		<key>Headers/GoogleSignIn.h</key>
+		<data>
+		PuskRVBLo+s4+xzs26s8clO3Rg8=
+		</data>
+		<key>embedded.mobileprovision</key>
+		<data>
+		PxDp454M86lRyLFk2MIzYTIcWxQ=
+		</data>
+	</dict>
+	<key>files2</key>
+	<dict>
+		<key>GoogleSignIn.bundle/Info.plist</key>
+		<data>
+		Oa6r4AzGbkRYUYhcX3u3fc+d2c4=
+		</data>
+		<key>GoogleSignIn.bundle/Roboto-Bold.ttf</key>
+		<data>
+		RzJ98PNefNfIZFh0iXp0SWl1RK4=
+		</data>
+		<key>GoogleSignIn.bundle/ar.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			/W2E2nBiCO4CXUFHUIaoITWn4K4=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/ca.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			ylUZ0kzSN+kHid0bUOcasn1Bkq0=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/cs.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			5hytqAYAVKI2SoTp2zgXRIkpzmc=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/da.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			sQ8P05b+4/3oFfw9CJ5rzc377FA=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/de.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			h3W3E1MTa6pYVMtItK8H+kQPV5g=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/el.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			kft1Oan4IeLz/hIResgd8U2yUSk=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/en.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			BHXe5c9MOdtQmnIIqrweeMs++Ek=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/en_GB.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			BHXe5c9MOdtQmnIIqrweeMs++Ek=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/es.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			crLqqkWLqldkLfh5lqq/5+nddBQ=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/es_MX.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			u6agLvcNNm78x3I8Y0OWHvkvMG0=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/fi.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			x5/CeEpsfdZQzLB26xYAHKehdnI=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/fr.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			SepxYglC6bhtE8MoRsgbE1zsMLg=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/google.png</key>
+		<data>
+		aRs/zX73YrSGLLTP8EMEDJQGeTs=
+		</data>
+		<key>GoogleSignIn.bundle/google@2x.png</key>
+		<data>
+		xu0SOLMY2id0HRzRihn0qsuFhAc=
+		</data>
+		<key>GoogleSignIn.bundle/google@3x.png</key>
+		<data>
+		xbEbn7T4aiYsnIp0S2SVilad3d0=
+		</data>
+		<key>GoogleSignIn.bundle/gplus.png</key>
+		<data>
+		sckxlpPdN9YqkQ+F0VqHdAZPRJM=
+		</data>
+		<key>GoogleSignIn.bundle/gplus@2x.png</key>
+		<data>
+		HPKm/3a0jjBLdmV9MC9z+iSewD8=
+		</data>
+		<key>GoogleSignIn.bundle/gplus@3x.png</key>
+		<data>
+		1Cp2H89DMm3YyrtPZ0MxPxPio3g=
+		</data>
+		<key>GoogleSignIn.bundle/he.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			F4qxglDo4Xc05O7peM670ibBiBM=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/hr.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			b9w7vrCSdtoJ9yMPKfEJ/fuLKNg=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/hu.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			DIZJbzsHV+9SvBfBVGG12cY/3j0=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/id.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			QlqHv2qVPo06cQcyUm6JcaPlvYw=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/it.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			sM6i/A9OpISbQi+LLZ4GFm411t4=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/ja.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			S9uR79y9UKhGG4sP/+kulURJNUw=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/ko.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			rngmj1YvSwSI3JHblZEw9GBnxkA=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/ms.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			+zExhvHl2Rz0BfnyrR5QzjxD6W0=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/nb.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			dRpFy/Yi2Ykgd8oJk4OwfoqDTiI=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/nl.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			wRd4xJsygs89XGF2LxA5Rt97Mrs=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/pl.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			dym3lcEqb92rt6dGB0bbzT77n3Q=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/pt.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			mqZlsQw/lCNqJ9JuhNjoQlcUwaY=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/pt_BR.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			mqZlsQw/lCNqJ9JuhNjoQlcUwaY=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/pt_PT.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			pyN3yDvTmBILBmp1adIM3i6VSCc=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/ro.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			eBY+Xw2j4Irzz/ok8wr2kIeclJk=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/ru.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			Tecdavf642EkMKYLarlQBQ+kN1Q=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/sk.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			w5Gy/lSS+upJM9u24rmtDoobIFw=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/sv.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			/yQgLrZ/eWWjs6/x9+OIONF2jXw=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/th.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			HLIdX3HjhomhVcdWAy6SLS62TIk=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/tr.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			p+oQlwm/43QJIicFXJRRHVZHm6I=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/uk.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			8HZJcJE5yj0El4Hstmvnpc4PwbI=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/vi.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			1Rljhru55I5DSUVWojKF3zegqW8=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/zh_CN.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			Mggg62sqcdSjArqmp2wvOzsDhBM=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>GoogleSignIn.bundle/zh_TW.lproj/GoogleSignIn.strings</key>
+		<dict>
+			<key>hash</key>
+			<data>
+			FPFTv0KtSMUBRxedpt2aEXggjkw=
+			</data>
+			<key>optional</key>
+			<true/>
+		</dict>
+		<key>Headers/GIDAuthentication.h</key>
+		<data>
+		FzK6IwG0rTCDwT4rK1bT7B3NHGQ=
+		</data>
+		<key>Headers/GIDGoogleUser.h</key>
+		<data>
+		fHWWdvNlSV+Jx4Nf0XPa6BXXCfs=
+		</data>
+		<key>Headers/GIDProfileData.h</key>
+		<data>
+		ggv89d6DwaxI6ObXaT2MPVHk2VM=
+		</data>
+		<key>Headers/GIDSignIn.h</key>
+		<data>
+		T0HXnKzzAesHHpftstJ35xLVCRo=
+		</data>
+		<key>Headers/GIDSignInButton.h</key>
+		<data>
+		e3ikDMcw52uX9xkoaRnuZJENnM4=
+		</data>
+		<key>Headers/GoogleSignIn.h</key>
+		<data>
+		PuskRVBLo+s4+xzs26s8clO3Rg8=
+		</data>
+		<key>embedded.mobileprovision</key>
+		<data>
+		PxDp454M86lRyLFk2MIzYTIcWxQ=
+		</data>
+	</dict>
+	<key>rules</key>
+	<dict>
+		<key>^</key>
+		<true/>
+		<key>^.*\.lproj/</key>
+		<dict>
+			<key>optional</key>
+			<true/>
+			<key>weight</key>
+			<real>1000</real>
+		</dict>
+		<key>^.*\.lproj/locversion.plist$</key>
+		<dict>
+			<key>omit</key>
+			<true/>
+			<key>weight</key>
+			<real>1100</real>
+		</dict>
+		<key>^version.plist$</key>
+		<true/>
+	</dict>
+	<key>rules2</key>
+	<dict>
+		<key>.*\.dSYM($|/)</key>
+		<dict>
+			<key>weight</key>
+			<real>11</real>
+		</dict>
+		<key>^</key>
+		<dict>
+			<key>weight</key>
+			<real>20</real>
+		</dict>
+		<key>^(.*/)?\.DS_Store$</key>
+		<dict>
+			<key>omit</key>
+			<true/>
+			<key>weight</key>
+			<real>2000</real>
+		</dict>
+		<key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>
+		<dict>
+			<key>nested</key>
+			<true/>
+			<key>weight</key>
+			<real>10</real>
+		</dict>
+		<key>^.*</key>
+		<true/>
+		<key>^.*\.lproj/</key>
+		<dict>
+			<key>optional</key>
+			<true/>
+			<key>weight</key>
+			<real>1000</real>
+		</dict>
+		<key>^.*\.lproj/locversion.plist$</key>
+		<dict>
+			<key>omit</key>
+			<true/>
+			<key>weight</key>
+			<real>1100</real>
+		</dict>
+		<key>^Info\.plist$</key>
+		<dict>
+			<key>omit</key>
+			<true/>
+			<key>weight</key>
+			<real>20</real>
+		</dict>
+		<key>^PkgInfo$</key>
+		<dict>
+			<key>omit</key>
+			<true/>
+			<key>weight</key>
+			<real>20</real>
+		</dict>
+		<key>^[^/]+$</key>
+		<dict>
+			<key>nested</key>
+			<true/>
+			<key>weight</key>
+			<real>10</real>
+		</dict>
+		<key>^embedded\.provisionprofile$</key>
+		<dict>
+			<key>weight</key>
+			<real>20</real>
+		</dict>
+		<key>^version\.plist$</key>
+		<dict>
+			<key>weight</key>
+			<real>20</real>
+		</dict>
+	</dict>
+</dict>
+</plist>
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/_CodeSignature/CodeSignature b/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/_CodeSignature/CodeSignature
new file mode 100644
index 0000000..ef4f7fc
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/_CodeSignature/CodeSignature
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/embedded.mobileprovision b/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/embedded.mobileprovision
new file mode 100644
index 0000000..6fb94b3
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/GoogleSignIn.framework/embedded.mobileprovision
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/README.google b/swift/google_signin_sdk_3_0_0/README.google
new file mode 100644
index 0000000..b468186
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/README.google
@@ -0,0 +1,11 @@
+URL: https://developers.google.com/identity/sign-in/ios/sdk/google_signin_sdk_3_0_0.zip
+Version: 3.0.0
+License: Copyright 2015 Google Inc.
+License File: None
+
+Description:
+The Google Sign-In SDK allows users to sign in with their Google account from
+third-party apps.
+
+Local Modifications:
+None
\ No newline at end of file
diff --git a/swift/google_signin_sdk_3_0_0/README.md b/swift/google_signin_sdk_3_0_0/README.md
new file mode 100644
index 0000000..68c6c57
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/README.md
@@ -0,0 +1,8 @@
+# Google Sign-In SDK for iOS
+
+The Google Sign-In SDK allows users to sign in with their Google account from
+third-party apps.
+
+Please visit [our developer
+site](https://developers.google.com/identity/sign-in/ios/) for integration
+instructions, documentation, support information, and terms of service.
diff --git a/swift/google_signin_sdk_3_0_0/Sample/AppDelegate.h b/swift/google_signin_sdk_3_0_0/Sample/AppDelegate.h
new file mode 100644
index 0000000..e2e0536
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/AppDelegate.h
@@ -0,0 +1,28 @@
+//
+//  AppDelegate.h
+//
+//  Copyright 2012 Google Inc.
+//
+//  Licensed under the Apache License, Version 2.0 (the "License");
+//  you may not use this file except in compliance with the License.
+//  You may obtain a copy of the License at
+//
+//  http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+
+#import <UIKit/UIKit.h>
+
+@interface AppDelegate : UIResponder<UIApplicationDelegate>
+
+// The sample app's |UIWindow|.
+@property(strong, nonatomic) UIWindow *window;
+// The navigation controller.
+@property(strong, nonatomic) UINavigationController *navigationController;
+
+@end
diff --git a/swift/google_signin_sdk_3_0_0/Sample/AppDelegate.m b/swift/google_signin_sdk_3_0_0/Sample/AppDelegate.m
new file mode 100644
index 0000000..cb8a816
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/AppDelegate.m
@@ -0,0 +1,61 @@
+//
+//  AppDelegate.m
+//
+//  Copyright 2012 Google Inc.
+//
+//  Licensed under the Apache License, Version 2.0 (the "License");
+//  you may not use this file except in compliance with the License.
+//  You may obtain a copy of the License at
+//
+//  http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+
+#import "AppDelegate.h"
+
+#import <GoogleSignIn/GoogleSignIn.h>
+
+#import "SignInViewController.h"
+
+@implementation AppDelegate
+
+// DO NOT USE THIS CLIENT ID. IT WILL NOT WORK FOR YOUR APP.
+// Please use the client ID created for you by Google.
+static NSString * const kClientID =
+    @"589453917038-qaoga89fitj2ukrsq27ko56fimmojac6.apps.googleusercontent.com";
+
+#pragma mark Object life-cycle.
+
+- (BOOL)application:(UIApplication *)application
+    didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
+  // Set app's client ID for |GIDSignIn|.
+  [GIDSignIn sharedInstance].clientID = kClientID;
+
+  self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
+  SignInViewController *masterViewController =
+      [[SignInViewController alloc] initWithNibName:@"SignInViewController"
+                                             bundle:nil];
+  self.navigationController =
+      [[UINavigationController alloc]
+          initWithRootViewController:masterViewController];
+  self.window.rootViewController = self.navigationController;
+  [self.window makeKeyAndVisible];
+
+  return YES;
+}
+
+- (BOOL)application:(UIApplication *)application
+              openURL:(NSURL *)url
+    sourceApplication:(NSString *)sourceApplication
+           annotation:(id)annotation {
+  return [[GIDSignIn sharedInstance] handleURL:url
+                             sourceApplication:sourceApplication
+                                    annotation:annotation];
+}
+
+@end
diff --git a/swift/google_signin_sdk_3_0_0/Sample/AuthInspectorViewController.h b/swift/google_signin_sdk_3_0_0/Sample/AuthInspectorViewController.h
new file mode 100644
index 0000000..8e792ca
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/AuthInspectorViewController.h
@@ -0,0 +1,26 @@
+//
+//  AuthInspectorViewController.h
+//
+//  Copyright 2012 Google Inc.
+//
+//  Licensed under the Apache License, Version 2.0 (the "License");
+//  you may not use this file except in compliance with the License.
+//  You may obtain a copy of the License at
+//
+//  http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+
+#import <UIKit/UIKit.h>
+
+// A view controller for inspecting the various properties stored in the
+// |GIDSignIn| object.
+@interface AuthInspectorViewController : UIViewController
+
+@end
+
diff --git a/swift/google_signin_sdk_3_0_0/Sample/AuthInspectorViewController.m b/swift/google_signin_sdk_3_0_0/Sample/AuthInspectorViewController.m
new file mode 100644
index 0000000..83f8608
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/AuthInspectorViewController.m
@@ -0,0 +1,158 @@
+//
+//  AuthInspectorViewController.m
+//
+//  Copyright 2012 Google Inc.
+//
+//  Licensed under the Apache License, Version 2.0 (the "License");
+//  you may not use this file except in compliance with the License.
+//  You may obtain a copy of the License at
+//
+//  http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+
+#import "AuthInspectorViewController.h"
+
+#import <GoogleSignIn/GoogleSignIn.h>
+
+static NSString * const kReusableCellIdentifier = @"AuthInspectorCell";
+static CGFloat const kVeryTallConstraint = 10000.f;
+static CGFloat const kTableViewCellFontSize = 16.f;
+static CGFloat const kTableViewCellPadding = 22.f;
+
+@interface AuthInspectorViewController () <UITableViewDataSource, UITableViewDelegate>
+
+@end
+
+@implementation AuthInspectorViewController {
+  // Key-paths for the GIDSignIn instance to inspect.
+  NSArray *_keyPaths;
+}
+
+- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
+  self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
+  if (self) {
+    _keyPaths = @[
+      @"authentication.accessToken",
+      @"authentication.accessTokenExpirationDate",
+      @"authentication.refreshToken",
+      @"authentication.idToken",
+      @"accessibleScopes",
+      @"userID",
+      @"serverAuthCode",
+      @"profile.email",
+      @"profile.name",
+    ];
+  }
+  return self;
+}
+
+- (void)viewDidLoad {
+  [super viewDidLoad];
+  UITableView *tableView = [[UITableView alloc] initWithFrame:CGRectZero
+                                                        style:UITableViewStyleGrouped];
+  tableView.delegate = self;
+  tableView.dataSource = self;
+  tableView.frame = self.view.bounds;
+  [self.view addSubview:tableView];
+}
+
+- (void)viewDidLayoutSubviews {
+  if (self.view.subviews.count) {
+    ((UIView *)self.view.subviews[0]).frame = self.view.bounds;
+  }
+}
+
+#pragma mark - UITableViewDataSource
+
+- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
+  return (NSInteger)[_keyPaths count];
+}
+
+- (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section {
+  return [self contentForSectionHeader:section];
+}
+
+- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
+  return 1;
+}
+
+- (UITableViewCell *)tableView:(UITableView *)tableView
+         cellForRowAtIndexPath:(NSIndexPath *)indexPath {
+  UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:kReusableCellIdentifier];
+  if (!cell) {
+    cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault
+                                   reuseIdentifier:kReusableCellIdentifier];
+  }
+  cell.textLabel.font = [UIFont systemFontOfSize:kTableViewCellFontSize];
+  cell.textLabel.numberOfLines = 0;
+  cell.textLabel.text = [self contentForRowAtIndexPath:indexPath];
+  cell.selectionStyle = UITableViewCellSelectionStyleNone;
+
+  return cell;
+}
+
+#pragma mark - UITableViewDelegate
+
+- (void)tableView:(UITableView *)tableView
+    willDisplayHeaderView:(UIView *)view
+               forSection:(NSInteger)section {
+  // The default header view capitalizes the title, which we don't want (because it's the key path).
+  if ([view isKindOfClass:[UITableViewHeaderFooterView class]]) {
+    ((UITableViewHeaderFooterView *)view).textLabel.text = [self contentForSectionHeader:section];
+  }
+}
+
+- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section {
+  return [self heightForTableView:tableView content:[self contentForSectionHeader:section]]
+      - (section ? kTableViewCellPadding : 0);  // to remove the extra padding in later sections.
+}
+
+- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
+  return [self heightForTableView:tableView content:[self contentForRowAtIndexPath:indexPath]];
+}
+
+#pragma mark - Helpers
+
+- (NSString *)contentForSectionHeader:(NSInteger)section {
+  return _keyPaths[section];
+}
+
+- (NSString *)contentForRowAtIndexPath:(NSIndexPath *)indexPath {
+  NSString *keyPath = _keyPaths[indexPath.section];
+  return [[[GIDSignIn sharedInstance].currentUser valueForKeyPath:keyPath] description];
+}
+
+- (CGFloat)heightForTableView:(UITableView *)tableView content:(NSString *)content {
+  CGSize constraintSize =
+      CGSizeMake(tableView.frame.size.width - 2 * kTableViewCellPadding, kVeryTallConstraint);
+  CGSize size;
+  UIFont *font = [UIFont systemFontOfSize:kTableViewCellFontSize];
+#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000
+  if ([content respondsToSelector:@selector(boundingRectWithSize:options:attributes:context:)]) {
+    NSDictionary *attributes = @{ NSFontAttributeName : font };
+    size = [content boundingRectWithSize:constraintSize
+                                 options:0
+                              attributes:attributes
+                                 context:NULL].size;
+  } else {
+    // Using the deprecated method as this instance doesn't respond to the new method since this is
+    // running on an older OS version.
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+    size = [content sizeWithFont:font constrainedToSize:constraintSize];
+#pragma clang diagnostic pop
+  }
+#else
+  size = [value sizeWithFont:font constrainedToSize:constraintSize];
+#endif
+  return size.height + kTableViewCellPadding;
+}
+
+@end
+
diff --git a/swift/google_signin_sdk_3_0_0/Sample/DataPickerState.h b/swift/google_signin_sdk_3_0_0/Sample/DataPickerState.h
new file mode 100644
index 0000000..b7227db
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/DataPickerState.h
@@ -0,0 +1,56 @@
+//
+//  DataPickerState.h
+//
+//  Copyright 2014 Google Inc.
+//
+//  Licensed under the Apache License, Version 2.0 (the "License");
+//  you may not use this file except in compliance with the License.
+//  You may obtain a copy of the License at
+//
+//  http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+
+#import <Foundation/Foundation.h>
+
+// Dictionary Key indicating whether multiple selection is enabled.
+extern NSString * const kMultipleSelectKey;
+// Dictionary Key for the array of elements to be shown.
+extern NSString * const kElementsKey;
+// Dictionary Key for the label of each element.
+extern NSString * const kLabelKey;
+// Dictionary Key for the short label for each element (Optional).
+extern NSString * const kShortLabelKey;
+// Dictionary Key to indicate whether a particular element should be selected by default (Optional).
+extern NSString * const kSelectedKey;
+
+// DataPickerState objects keep track of the list of available cells and set
+// of selected cells that are being used in a DataPickerViewController object.
+@interface DataPickerState : NSObject
+
+// An ordered list of cell labels (NSStrings) to select from
+@property(strong, nonatomic) NSArray *cellLabels;
+// A set of the labels of the selected cells (NSStrings).
+@property(strong, nonatomic) NSMutableSet *selectedCells;
+// Determines if multiple cells can be checked.
+@property(assign, nonatomic) BOOL multipleSelectEnabled;
+
+// Initializes a DataPickerState to collect its data from
+// the provided dictionary. The assumption about the provided
+// dictionary is that it obeys the structure:
+// dict[@"multiple-select"] - BOOL that represents whether multiple of the
+//                            elements can be simultaneously selected.
+// dict[@"elements"] - Array that contains the list of cell items to be shown.
+// dict[@"elements"][index] - Dictionary that contains properties for each cell.
+// dict[@"elements"][index][@"label"] - String storing the label of the cell.
+// dict[@"elements"][index][@"selected"] - BOOL for whether the cell begins as
+//                                         selected. If this property is not
+//                                         set, then we default to NO.
+- (id)initWithDictionary:(NSDictionary *)dict;
+
+@end
diff --git a/swift/google_signin_sdk_3_0_0/Sample/DataPickerState.m b/swift/google_signin_sdk_3_0_0/Sample/DataPickerState.m
new file mode 100644
index 0000000..8d1ef59
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/DataPickerState.m
@@ -0,0 +1,61 @@
+//
+//  DataPickerState.m
+//
+//  Copyright 2014 Google Inc.
+//
+//  Licensed under the Apache License, Version 2.0 (the "License");
+//  you may not use this file except in compliance with the License.
+//  You may obtain a copy of the License at
+//
+//  http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+
+#import "DataPickerState.h"
+
+NSString * const kMultipleSelectKey = @"multiple-select";
+NSString * const kElementsKey = @"elements";
+NSString * const kLabelKey = @"label";
+NSString * const kShortLabelKey = @"shortLabel";
+NSString * const kSelectedKey = @"selected";
+
+@implementation DataPickerState
+
+- (id)initWithDictionary:(NSDictionary *)dict {
+  self = [super init];
+  if (self) {
+    _multipleSelectEnabled =
+        [[dict objectForKey:kMultipleSelectKey] boolValue];
+
+    NSMutableArray *cellLabels = [[NSMutableArray alloc] init];
+    NSMutableSet *selectedCells = [[NSMutableSet alloc] init];
+
+    NSArray *elements = [dict objectForKey:kElementsKey];
+    for (NSDictionary *elementDict in elements) {
+      NSMutableDictionary *cellLabelDict = [NSMutableDictionary dictionary];
+      NSString *label = [elementDict objectForKey:kLabelKey];
+      cellLabelDict[kLabelKey] = label;
+
+      if ([elementDict objectForKey:kShortLabelKey]) {
+        cellLabelDict[kShortLabelKey] = [elementDict objectForKey:kShortLabelKey];
+      }
+      [cellLabels addObject:cellLabelDict];
+
+      // Default selection mode is unselected, unless specified in plist.
+      if ([[elementDict objectForKey:kSelectedKey] boolValue]) {
+        [selectedCells addObject:label];
+      }
+    }
+
+    self.cellLabels = cellLabels;
+    self.selectedCells = selectedCells;
+  }
+  return self;
+}
+
+@end
diff --git a/swift/google_signin_sdk_3_0_0/Sample/DataPickerViewController.h b/swift/google_signin_sdk_3_0_0/Sample/DataPickerViewController.h
new file mode 100644
index 0000000..4e6f46c
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/DataPickerViewController.h
@@ -0,0 +1,40 @@
+//
+//  DataPickerViewController.h
+//
+//  Copyright 2014 Google Inc.
+//
+//  Licensed under the Apache License, Version 2.0 (the "License");
+//  you may not use this file except in compliance with the License.
+//  You may obtain a copy of the License at
+//
+//  http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+
+#import <UIKit/UIKit.h>
+
+@class DataPickerState;
+
+// This view controller controls a table view meant to select
+// options from a list. The list is supplied from the DataPickerDictionary.plist
+// file based upon what |dataKey| the controller is initialized with.
+@interface DataPickerViewController : UITableViewController
+
+// |dataState| stores the list of cells and the current set of selected cells.
+// It should be created and owned by whoever owns the DataPickerViewController,
+// so we only need a weak reference to it from here.
+@property(weak, readonly, nonatomic) DataPickerState *dataState;
+
+// This method initializes a DataPickerViewController using
+// a DataPickerState object, from which the view controller
+// obtains cell information for use in its table.
+- (id)initWithNibName:(NSString *)nibNameOrNil
+               bundle:(NSBundle *)nibBundleOrNil
+            dataState:(DataPickerState *)dataState;
+
+@end
diff --git a/swift/google_signin_sdk_3_0_0/Sample/DataPickerViewController.m b/swift/google_signin_sdk_3_0_0/Sample/DataPickerViewController.m
new file mode 100644
index 0000000..6e83fb6
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/DataPickerViewController.m
@@ -0,0 +1,106 @@
+//
+//  DataPickerViewController.m
+//
+//  Copyright 2014 Google Inc.
+//
+//  Licensed under the Apache License, Version 2.0 (the "License");
+//  you may not use this file except in compliance with the License.
+//  You may obtain a copy of the License at
+//
+//  http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+
+#import "DataPickerState.h"
+#import "DataPickerViewController.h"
+
+@implementation DataPickerViewController
+
+- (id)initWithNibName:(NSString *)nibNameOrNil
+               bundle:(NSBundle *)nibBundleOrNil
+            dataState:(DataPickerState *)dataState {
+  self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
+  if (self) {
+    _dataState = dataState;
+  }
+  return self;
+}
+
+#pragma mark - Table view data source
+
+- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
+  return 1;
+}
+
+- (NSInteger)tableView:(UITableView *)tableView
+    numberOfRowsInSection:(NSInteger)section {
+  return [self.dataState.cellLabels count];
+}
+
+- (UITableViewCell *)tableView:(UITableView *)tableView
+         cellForRowAtIndexPath:(NSIndexPath *)indexPath {
+  static NSString * const kCellIdentifier = @"Cell";
+  UITableViewCell *cell =
+      [tableView dequeueReusableCellWithIdentifier:kCellIdentifier];
+
+  if (cell == nil) {
+    cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault
+                                  reuseIdentifier:kCellIdentifier];
+  }
+
+  NSDictionary *cellLabelDict = self.dataState.cellLabels[indexPath.row];
+  NSString *cellLabelText = cellLabelDict[kLabelKey];
+  if ([cellLabelDict objectForKey:kShortLabelKey]) {
+    cellLabelText = [cellLabelDict objectForKey:kShortLabelKey];
+  }
+  cell.textLabel.text = cellLabelText;
+  // If the cell is selected, mark it as checked
+  if ([self.dataState.selectedCells containsObject:cellLabelDict[kLabelKey]]) {
+    cell.accessoryType = UITableViewCellAccessoryCheckmark;
+  } else {
+    cell.accessoryType = UITableViewCellAccessoryNone;
+  }
+  return cell;
+}
+
+#pragma mark - Table view delegate
+
+- (void)tableView:(UITableView *)tableView
+    didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
+  UITableViewCell *selectedCell = [tableView cellForRowAtIndexPath:indexPath];
+  NSDictionary *selectedCellDict = _dataState.cellLabels[indexPath.row];
+  NSString *label = selectedCellDict[kLabelKey];
+
+  if (self.dataState.multipleSelectEnabled) {
+    // If multiple selections are allowed, then toggle the state
+    // of the selected cell
+    if ([self.dataState.selectedCells containsObject:label]) {
+      [self.dataState.selectedCells removeObject:label];
+      selectedCell.accessoryType = UITableViewCellAccessoryNone;
+    } else {
+      [self.dataState.selectedCells addObject:label];
+      selectedCell.accessoryType = UITableViewCellAccessoryCheckmark;
+    }
+  } else {
+    // Set all cells to unchecked except for the one that was just selected
+    [self.dataState.selectedCells removeAllObjects];
+    [self.dataState.selectedCells addObject:label];
+
+    for (NSIndexPath *curPath in [self.tableView indexPathsForVisibleRows]) {
+      UITableViewCell *cell = [self.tableView cellForRowAtIndexPath:curPath];
+      if (curPath.row == indexPath.row) {
+        cell.accessoryType = UITableViewCellAccessoryCheckmark;
+      } else {
+        cell.accessoryType = UITableViewCellAccessoryNone;
+      }
+    }
+  }
+  [self.tableView deselectRowAtIndexPath:indexPath animated:YES];
+}
+
+@end
diff --git a/swift/google_signin_sdk_3_0_0/Sample/LaunchScreen.xib b/swift/google_signin_sdk_3_0_0/Sample/LaunchScreen.xib
new file mode 100644
index 0000000..8c06c68
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/LaunchScreen.xib
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="6254" systemVersion="13F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES">
+    <dependencies>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6247"/>
+        <capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/>
+    </dependencies>
+    <objects>
+        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
+        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
+        <view contentMode="scaleToFill" id="iN0-l3-epB">
+            <rect key="frame" x="0.0" y="0.0" width="480" height="480"/>
+            <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+            <subviews>
+                <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Google Sign-In" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX">
+                    <rect key="frame" x="20" y="140" width="441" height="43"/>
+                    <fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
+                    <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
+                    <nil key="highlightedColor"/>
+                </label>
+                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" text="Sample App" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Npk-1c-nVk">
+                    <rect key="frame" x="168.5" y="204.5" width="144.5" height="24"/>
+                    <fontDescription key="fontDescription" type="boldSystem" pointSize="20"/>
+                    <color key="textColor" red="0.40000000596046448" green="0.40000000596046448" blue="0.40000000596046448" alpha="1" colorSpace="calibratedRGB"/>
+                    <color key="highlightedColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
+                </label>
+            </subviews>
+            <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
+            <constraints>
+                <constraint firstAttribute="centerX" secondItem="Npk-1c-nVk" secondAttribute="centerX" constant="-0.5" id="8Hl-kO-KfB"/>
+                <constraint firstAttribute="centerY" secondItem="Npk-1c-nVk" secondAttribute="centerY" constant="23.5" id="J0S-6m-MK8"/>
+                <constraint firstItem="kId-c2-rCX" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="bottom" multiplier="1/3" constant="1" id="Kid-kn-2rF"/>
+                <constraint firstAttribute="centerX" secondItem="kId-c2-rCX" secondAttribute="centerX" id="Koa-jz-hwk"/>
+                <constraint firstItem="kId-c2-rCX" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" constant="20" symbolic="YES" id="fvb-Df-36g"/>
+            </constraints>
+            <nil key="simulatedStatusBarMetrics"/>
+            <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
+            <point key="canvasLocation" x="404" y="445"/>
+        </view>
+    </objects>
+</document>
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/DataPickerDictionary.plist b/swift/google_signin_sdk_3_0_0/Sample/Resources/DataPickerDictionary.plist
new file mode 100644
index 0000000..619c39d
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/DataPickerDictionary.plist
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>Style</key>
+	<dict>
+		<key>multiple-select</key>
+		<false/>
+		<key>elements</key>
+		<array>
+			<dict>
+				<key>label</key>
+				<string>Standard</string>
+				<key>selected</key>
+				<true/>
+			</dict>
+			<dict>
+				<key>label</key>
+				<string>Wide</string>
+			</dict>
+			<dict>
+				<key>label</key>
+				<string>Icon</string>
+			</dict>
+		</array>
+	</dict>
+	<key>Color scheme</key>
+	<dict>
+		<key>multiple-select</key>
+		<false/>
+		<key>elements</key>
+		<array>
+			<dict>
+				<key>label</key>
+				<string>Light</string>
+				<key>selected</key>
+				<true/>
+			</dict>
+			<dict>
+				<key>label</key>
+				<string>Dark</string>
+			</dict>
+		</array>
+	</dict>
+</dict>
+</plist>
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Contents.json b/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Contents.json
new file mode 100644
index 0000000..9613a65
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Contents.json
@@ -0,0 +1,162 @@
+{
+  "images" : [
+    {
+      "size" : "29x29",
+      "idiom" : "iphone",
+      "filename" : "Icon-29.png",
+      "scale" : "1x"
+    },
+    {
+      "size" : "29x29",
+      "idiom" : "iphone",
+      "filename" : "Icon-29_2x.png",
+      "scale" : "2x"
+    },
+    {
+      "size" : "29x29",
+      "idiom" : "iphone",
+      "filename" : "Icon-29_3x.png",
+      "scale" : "3x"
+    },
+    {
+      "size" : "40x40",
+      "idiom" : "iphone",
+      "filename" : "Icon-40_2x.png",
+      "scale" : "2x"
+    },
+    {
+      "size" : "40x40",
+      "idiom" : "iphone",
+      "filename" : "Icon-40_3x.png",
+      "scale" : "3x"
+    },
+    {
+      "idiom" : "iphone",
+      "size" : "57x57",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "iphone",
+      "size" : "57x57",
+      "scale" : "2x"
+    },
+    {
+      "size" : "60x60",
+      "idiom" : "iphone",
+      "filename" : "Icon-60_2x.png",
+      "scale" : "2x"
+    },
+    {
+      "size" : "60x60",
+      "idiom" : "iphone",
+      "filename" : "Icon-60_3x.png",
+      "scale" : "3x"
+    },
+    {
+      "size" : "29x29",
+      "idiom" : "ipad",
+      "filename" : "Icon-29.png",
+      "scale" : "1x"
+    },
+    {
+      "size" : "29x29",
+      "idiom" : "ipad",
+      "filename" : "Icon-29_2x.png",
+      "scale" : "2x"
+    },
+    {
+      "size" : "40x40",
+      "idiom" : "ipad",
+      "filename" : "Icon-40.png",
+      "scale" : "1x"
+    },
+    {
+      "size" : "40x40",
+      "idiom" : "ipad",
+      "filename" : "Icon-40_2x.png",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "ipad",
+      "size" : "50x50",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "ipad",
+      "size" : "50x50",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "ipad",
+      "size" : "72x72",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "ipad",
+      "size" : "72x72",
+      "scale" : "2x"
+    },
+    {
+      "size" : "76x76",
+      "idiom" : "ipad",
+      "filename" : "Icon-76.png",
+      "scale" : "1x"
+    },
+    {
+      "size" : "76x76",
+      "idiom" : "ipad",
+      "filename" : "Icon-76_2x.png",
+      "scale" : "2x"
+    },
+    {
+      "size" : "83.5x83.5",
+      "idiom" : "ipad",
+      "filename" : "Icon-83_2x.png",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "mac",
+      "size" : "16x16",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "mac",
+      "size" : "16x16",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "mac",
+      "size" : "32x32",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "mac",
+      "size" : "32x32",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "mac",
+      "size" : "128x128",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "mac",
+      "size" : "128x128",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "mac",
+      "size" : "256x256",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "mac",
+      "size" : "256x256",
+      "scale" : "2x"
+    }
+  ],
+  "info" : {
+    "version" : 1,
+    "author" : "xcode"
+  }
+}
\ No newline at end of file
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Icon-29.png b/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Icon-29.png
new file mode 100644
index 0000000..7cec570
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Icon-29.png
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Icon-29_2x.png b/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Icon-29_2x.png
new file mode 100644
index 0000000..c0c9ec2
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Icon-29_2x.png
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Icon-29_3x.png b/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Icon-29_3x.png
new file mode 100644
index 0000000..78c08ab
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Icon-29_3x.png
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Icon-40.png b/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Icon-40.png
new file mode 100644
index 0000000..20c5306
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Icon-40.png
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Icon-40_2x.png b/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Icon-40_2x.png
new file mode 100644
index 0000000..8d1d377
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Icon-40_2x.png
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Icon-40_3x.png b/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Icon-40_3x.png
new file mode 100644
index 0000000..ea08035
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Icon-40_3x.png
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Icon-60_2x.png b/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Icon-60_2x.png
new file mode 100644
index 0000000..de13151
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Icon-60_2x.png
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Icon-60_3x.png b/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Icon-60_3x.png
new file mode 100644
index 0000000..b242897
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Icon-60_3x.png
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Icon-76.png b/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Icon-76.png
new file mode 100644
index 0000000..f7c70b2
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Icon-76.png
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Icon-76_2x.png b/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Icon-76_2x.png
new file mode 100644
index 0000000..2f54a15
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Icon-76_2x.png
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Icon-83_2x.png b/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Icon-83_2x.png
new file mode 100644
index 0000000..3c2a5a9
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/Images.xcassets/AppIcon.appiconset/Icon-83_2x.png
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/PlaceholderAvatar.png b/swift/google_signin_sdk_3_0_0/Sample/Resources/PlaceholderAvatar.png
new file mode 100644
index 0000000..2ab238f
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/PlaceholderAvatar.png
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/ar.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/ar.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/ar.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/ca.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/ca.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/ca.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/cs.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/cs.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/cs.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/da.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/da.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/da.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/de.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/de.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/de.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/el.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/el.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/el.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/en.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/en.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/en.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/en_GB.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/en_GB.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/en_GB.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/es.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/es.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/es.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/es_MX.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/es_MX.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/es_MX.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/fi.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/fi.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/fi.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/fr.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/fr.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/fr.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/he.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/he.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/he.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/hr.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/hr.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/hr.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/hu.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/hu.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/hu.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/id.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/id.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/id.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/it.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/it.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/it.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/ja.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/ja.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/ja.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/ko.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/ko.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/ko.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/ms.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/ms.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/ms.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/nb.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/nb.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/nb.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/nl.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/nl.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/nl.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/pl.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/pl.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/pl.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/pt.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/pt.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/pt.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/pt_BR.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/pt_BR.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/pt_BR.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/pt_PT.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/pt_PT.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/pt_PT.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/refresh.png b/swift/google_signin_sdk_3_0_0/Sample/Resources/refresh.png
new file mode 100644
index 0000000..6a3a709
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/refresh.png
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/ro.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/ro.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/ro.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/ru.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/ru.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/ru.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/sk.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/sk.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/sk.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/sv.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/sv.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/sv.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/th.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/th.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/th.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/tr.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/tr.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/tr.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/uk.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/uk.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/uk.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/vi.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/vi.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/vi.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/zh_CN.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/zh_CN.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/zh_CN.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/Resources/zh_TW.lproj/Dummy.strings b/swift/google_signin_sdk_3_0_0/Sample/Resources/zh_TW.lproj/Dummy.strings
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/Resources/zh_TW.lproj/Dummy.strings
diff --git a/swift/google_signin_sdk_3_0_0/Sample/SignInSample-Info.plist b/swift/google_signin_sdk_3_0_0/Sample/SignInSample-Info.plist
new file mode 100644
index 0000000..124da5f
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/SignInSample-Info.plist
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>CFBundleDevelopmentRegion</key>
+	<string>en</string>
+	<key>CFBundleDisplayName</key>
+	<string>Sign-In Sample</string>
+	<key>CFBundleExecutable</key>
+	<string>${EXECUTABLE_NAME}</string>
+	<key>CFBundleIcons</key>
+	<dict>
+		<key>CFBundlePrimaryIcon</key>
+		<dict>
+			<key>CFBundleIconFiles</key>
+			<array>
+				<string>Icon.png</string>
+				<string>Icon-72.png</string>
+				<string>Icon-144.png</string>
+				<string>Icon@2x.png</string>
+			</array>
+		</dict>
+	</dict>
+	<key>CFBundleIdentifier</key>
+	<string>com.google.${PRODUCT_NAME:rfc1034identifier}</string>
+	<key>CFBundleInfoDictionaryVersion</key>
+	<string>6.0</string>
+	<key>CFBundleName</key>
+	<string>${PRODUCT_NAME}</string>
+	<key>CFBundlePackageType</key>
+	<string>APPL</string>
+	<key>CFBundleShortVersionString</key>
+	<string>1.0</string>
+	<key>CFBundleSignature</key>
+	<string>????</string>
+	<key>CFBundleURLTypes</key>
+	<array>
+		<dict>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+			<key>CFBundleURLName</key>
+			<string>com.google.SignInSample</string>
+			<key>CFBundleURLSchemes</key>
+			<array>
+				<string>com.google.SignInSample</string>
+			</array>
+		</dict>
+		<dict>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+			<key>CFBundleURLName</key>
+			<string>com.googleusercontent.apps.589453917038-qaoga89fitj2ukrsq27ko56fimmojac6</string>
+			<key>CFBundleURLSchemes</key>
+			<array>
+				<string>com.googleusercontent.apps.589453917038-qaoga89fitj2ukrsq27ko56fimmojac6</string>
+			</array>
+		</dict>
+	</array>
+	<key>CFBundleVersion</key>
+	<string>1.0</string>
+	<key>LSRequiresIPhoneOS</key>
+	<true/>
+	<key>UILaunchStoryboardName</key>
+	<string>LaunchScreen</string>
+	<key>UIRequiredDeviceCapabilities</key>
+	<array>
+		<string>armv7</string>
+	</array>
+	<key>UISupportedInterfaceOrientations</key>
+	<array>
+		<string>UIInterfaceOrientationPortrait</string>
+		<string>UIInterfaceOrientationLandscapeLeft</string>
+		<string>UIInterfaceOrientationLandscapeRight</string>
+	</array>
+	<key>UISupportedInterfaceOrientations~ipad</key>
+	<array>
+		<string>UIInterfaceOrientationPortrait</string>
+		<string>UIInterfaceOrientationPortraitUpsideDown</string>
+		<string>UIInterfaceOrientationLandscapeLeft</string>
+		<string>UIInterfaceOrientationLandscapeRight</string>
+	</array>
+</dict>
+</plist>
diff --git a/swift/google_signin_sdk_3_0_0/Sample/SignInSample.xcodeproj/project.pbxproj b/swift/google_signin_sdk_3_0_0/Sample/SignInSample.xcodeproj/project.pbxproj
new file mode 100644
index 0000000..d483f65
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/SignInSample.xcodeproj/project.pbxproj
@@ -0,0 +1,367 @@
+// !$*UTF8*$!
+{
+	archiveVersion = 1;
+	classes = {
+	};
+	objectVersion = 46;
+	objects = {
+
+/* Begin PBXBuildFile section */
+		D947C2F11BC1DDDA004BF2E0 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = D947C2F01BC1DDDA004BF2E0 /* libz.dylib */; };
+		D99924FB1A92B478008CC226 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = D99924F41A92B478008CC226 /* AppDelegate.m */; };
+		D99924FC1A92B478008CC226 /* AuthInspectorViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D99924F61A92B478008CC226 /* AuthInspectorViewController.m */; };
+		D99924FD1A92B478008CC226 /* DataPickerState.m in Sources */ = {isa = PBXBuildFile; fileRef = D99924F81A92B478008CC226 /* DataPickerState.m */; };
+		D99924FE1A92B478008CC226 /* DataPickerViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D99924FA1A92B478008CC226 /* DataPickerViewController.m */; };
+		D99925021A92B4BC008CC226 /* SignInViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D99925001A92B4BC008CC226 /* SignInViewController.m */; };
+		D99925031A92B4BC008CC226 /* SignInViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = D99925011A92B4BC008CC226 /* SignInViewController.xib */; };
+		D99925051A92B4D3008CC226 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = D99925041A92B4D3008CC226 /* main.m */; };
+		D999250A1A92B4F0008CC226 /* DataPickerDictionary.plist in Resources */ = {isa = PBXBuildFile; fileRef = D99925081A92B4F0008CC226 /* DataPickerDictionary.plist */; };
+		D999250B1A92B4F0008CC226 /* refresh.png in Resources */ = {isa = PBXBuildFile; fileRef = D99925091A92B4F0008CC226 /* refresh.png */; };
+		D999250E1A92B54D008CC226 /* AddressBook.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D999250D1A92B54D008CC226 /* AddressBook.framework */; };
+		D99925151A92B5A8008CC226 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D99925141A92B5A8008CC226 /* SystemConfiguration.framework */; };
+		D99925171A92B5BD008CC226 /* GoogleSignIn.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D99925161A92B5BD008CC226 /* GoogleSignIn.framework */; };
+		D999251A1A92BCCD008CC226 /* GoogleSignIn.bundle in Resources */ = {isa = PBXBuildFile; fileRef = D99925191A92BCCD008CC226 /* GoogleSignIn.bundle */; };
+		D9D3B1DA1B72A28500D2EAA2 /* SafariServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D9D3B1D91B72A28500D2EAA2 /* SafariServices.framework */; };
+		D9D634B91BA3608900B7B48B /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = D9D634B81BA3608900B7B48B /* libz.tbd */; };
+		D9F31B191AB384EE00715FBF /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = D9F31B181AB384EE00715FBF /* LaunchScreen.xib */; };
+		D9F31B1C1AB384FC00715FBF /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D9F31B1A1AB384FC00715FBF /* Images.xcassets */; };
+		D9F31B1D1AB384FC00715FBF /* PlaceholderAvatar.png in Resources */ = {isa = PBXBuildFile; fileRef = D9F31B1B1AB384FC00715FBF /* PlaceholderAvatar.png */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXFileReference section */
+		D947C2F01BC1DDDA004BF2E0 /* libz.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libz.dylib; path = usr/lib/libz.dylib; sourceTree = SDKROOT; };
+		D99924CA1A92B3C7008CC226 /* SignInSample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SignInSample.app; sourceTree = BUILT_PRODUCTS_DIR; };
+		D99924F31A92B478008CC226 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = SOURCE_ROOT; };
+		D99924F41A92B478008CC226 /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = SOURCE_ROOT; };
+		D99924F51A92B478008CC226 /* AuthInspectorViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AuthInspectorViewController.h; sourceTree = SOURCE_ROOT; };
+		D99924F61A92B478008CC226 /* AuthInspectorViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AuthInspectorViewController.m; sourceTree = SOURCE_ROOT; };
+		D99924F71A92B478008CC226 /* DataPickerState.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DataPickerState.h; sourceTree = SOURCE_ROOT; };
+		D99924F81A92B478008CC226 /* DataPickerState.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DataPickerState.m; sourceTree = SOURCE_ROOT; };
+		D99924F91A92B478008CC226 /* DataPickerViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DataPickerViewController.h; sourceTree = SOURCE_ROOT; };
+		D99924FA1A92B478008CC226 /* DataPickerViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DataPickerViewController.m; sourceTree = SOURCE_ROOT; };
+		D99924FF1A92B4BC008CC226 /* SignInViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SignInViewController.h; sourceTree = SOURCE_ROOT; };
+		D99925001A92B4BC008CC226 /* SignInViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SignInViewController.m; sourceTree = SOURCE_ROOT; };
+		D99925011A92B4BC008CC226 /* SignInViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = SignInViewController.xib; sourceTree = SOURCE_ROOT; };
+		D99925041A92B4D3008CC226 /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = SOURCE_ROOT; };
+		D99925061A92B4DC008CC226 /* SignInSample-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "SignInSample-Info.plist"; sourceTree = SOURCE_ROOT; };
+		D99925081A92B4F0008CC226 /* DataPickerDictionary.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = DataPickerDictionary.plist; path = Resources/DataPickerDictionary.plist; sourceTree = SOURCE_ROOT; };
+		D99925091A92B4F0008CC226 /* refresh.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = refresh.png; path = Resources/refresh.png; sourceTree = SOURCE_ROOT; };
+		D999250D1A92B54D008CC226 /* AddressBook.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AddressBook.framework; path = System/Library/Frameworks/AddressBook.framework; sourceTree = SDKROOT; };
+		D99925141A92B5A8008CC226 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; };
+		D99925161A92B5BD008CC226 /* GoogleSignIn.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GoogleSignIn.framework; path = ../GoogleSignIn.framework; sourceTree = "<group>"; };
+		D99925191A92BCCD008CC226 /* GoogleSignIn.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; name = GoogleSignIn.bundle; path = ../GoogleSignIn.bundle; sourceTree = "<group>"; };
+		D9D3B1D91B72A28500D2EAA2 /* SafariServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SafariServices.framework; path = System/Library/Frameworks/SafariServices.framework; sourceTree = SDKROOT; };
+		D9D634B81BA3608900B7B48B /* libz.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; };
+		D9F31B181AB384EE00715FBF /* LaunchScreen.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = LaunchScreen.xib; sourceTree = SOURCE_ROOT; };
+		D9F31B1A1AB384FC00715FBF /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = Resources/Images.xcassets; sourceTree = SOURCE_ROOT; };
+		D9F31B1B1AB384FC00715FBF /* PlaceholderAvatar.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = PlaceholderAvatar.png; path = Resources/PlaceholderAvatar.png; sourceTree = SOURCE_ROOT; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+		D99924C71A92B3C7008CC226 /* Frameworks */ = {
+			isa = PBXFrameworksBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				D947C2F11BC1DDDA004BF2E0 /* libz.dylib in Frameworks */,
+				D9D634B91BA3608900B7B48B /* libz.tbd in Frameworks */,
+				D99925171A92B5BD008CC226 /* GoogleSignIn.framework in Frameworks */,
+				D999250E1A92B54D008CC226 /* AddressBook.framework in Frameworks */,
+				D9D3B1DA1B72A28500D2EAA2 /* SafariServices.framework in Frameworks */,
+				D99925151A92B5A8008CC226 /* SystemConfiguration.framework in Frameworks */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+		D99924C11A92B3C7008CC226 = {
+			isa = PBXGroup;
+			children = (
+				D99924CC1A92B3C7008CC226 /* SignInSample */,
+				D999250F1A92B555008CC226 /* Frameworks */,
+				D99924CB1A92B3C7008CC226 /* Products */,
+			);
+			sourceTree = "<group>";
+		};
+		D99924CB1A92B3C7008CC226 /* Products */ = {
+			isa = PBXGroup;
+			children = (
+				D99924CA1A92B3C7008CC226 /* SignInSample.app */,
+			);
+			name = Products;
+			sourceTree = "<group>";
+		};
+		D99924CC1A92B3C7008CC226 /* SignInSample */ = {
+			isa = PBXGroup;
+			children = (
+				D99924F31A92B478008CC226 /* AppDelegate.h */,
+				D99924F41A92B478008CC226 /* AppDelegate.m */,
+				D99924F51A92B478008CC226 /* AuthInspectorViewController.h */,
+				D99924F61A92B478008CC226 /* AuthInspectorViewController.m */,
+				D99924F71A92B478008CC226 /* DataPickerState.h */,
+				D99924F81A92B478008CC226 /* DataPickerState.m */,
+				D99924F91A92B478008CC226 /* DataPickerViewController.h */,
+				D99924FA1A92B478008CC226 /* DataPickerViewController.m */,
+				D99924FF1A92B4BC008CC226 /* SignInViewController.h */,
+				D99925001A92B4BC008CC226 /* SignInViewController.m */,
+				D99925011A92B4BC008CC226 /* SignInViewController.xib */,
+				D999250C1A92B4FC008CC226 /* Resources */,
+				D99924CD1A92B3C7008CC226 /* Supporting Files */,
+			);
+			path = SignInSample;
+			sourceTree = "<group>";
+		};
+		D99924CD1A92B3C7008CC226 /* Supporting Files */ = {
+			isa = PBXGroup;
+			children = (
+				D99925061A92B4DC008CC226 /* SignInSample-Info.plist */,
+				D99925041A92B4D3008CC226 /* main.m */,
+			);
+			name = "Supporting Files";
+			sourceTree = "<group>";
+		};
+		D999250C1A92B4FC008CC226 /* Resources */ = {
+			isa = PBXGroup;
+			children = (
+				D99925081A92B4F0008CC226 /* DataPickerDictionary.plist */,
+				D9F31B1A1AB384FC00715FBF /* Images.xcassets */,
+				D9F31B181AB384EE00715FBF /* LaunchScreen.xib */,
+				D9F31B1B1AB384FC00715FBF /* PlaceholderAvatar.png */,
+				D99925091A92B4F0008CC226 /* refresh.png */,
+			);
+			name = Resources;
+			sourceTree = "<group>";
+		};
+		D999250F1A92B555008CC226 /* Frameworks */ = {
+			isa = PBXGroup;
+			children = (
+				D947C2F01BC1DDDA004BF2E0 /* libz.dylib */,
+				D9D634B81BA3608900B7B48B /* libz.tbd */,
+				D9D3B1D91B72A28500D2EAA2 /* SafariServices.framework */,
+				D99925161A92B5BD008CC226 /* GoogleSignIn.framework */,
+				D99925191A92BCCD008CC226 /* GoogleSignIn.bundle */,
+				D999250D1A92B54D008CC226 /* AddressBook.framework */,
+				D99925141A92B5A8008CC226 /* SystemConfiguration.framework */,
+			);
+			name = Frameworks;
+			sourceTree = "<group>";
+		};
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+		D99924C91A92B3C7008CC226 /* SignInSample */ = {
+			isa = PBXNativeTarget;
+			buildConfigurationList = D99924ED1A92B3C7008CC226 /* Build configuration list for PBXNativeTarget "SignInSample" */;
+			buildPhases = (
+				D99924C61A92B3C7008CC226 /* Sources */,
+				D99924C71A92B3C7008CC226 /* Frameworks */,
+				D99924C81A92B3C7008CC226 /* Resources */,
+			);
+			buildRules = (
+			);
+			dependencies = (
+			);
+			name = SignInSample;
+			productName = SignInSample;
+			productReference = D99924CA1A92B3C7008CC226 /* SignInSample.app */;
+			productType = "com.apple.product-type.application";
+		};
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+		D99924C21A92B3C7008CC226 /* Project object */ = {
+			isa = PBXProject;
+			attributes = {
+				LastUpgradeCheck = 0610;
+				ORGANIZATIONNAME = "Google Inc";
+				TargetAttributes = {
+					D99924C91A92B3C7008CC226 = {
+						CreatedOnToolsVersion = 6.1.1;
+					};
+				};
+			};
+			buildConfigurationList = D99924C51A92B3C7008CC226 /* Build configuration list for PBXProject "SignInSample" */;
+			compatibilityVersion = "Xcode 3.2";
+			developmentRegion = English;
+			hasScannedForEncodings = 0;
+			knownRegions = (
+				en,
+				Base,
+			);
+			mainGroup = D99924C11A92B3C7008CC226;
+			productRefGroup = D99924CB1A92B3C7008CC226 /* Products */;
+			projectDirPath = "";
+			projectRoot = "";
+			targets = (
+				D99924C91A92B3C7008CC226 /* SignInSample */,
+			);
+		};
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+		D99924C81A92B3C7008CC226 /* Resources */ = {
+			isa = PBXResourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				D999251A1A92BCCD008CC226 /* GoogleSignIn.bundle in Resources */,
+				D9F31B1D1AB384FC00715FBF /* PlaceholderAvatar.png in Resources */,
+				D9F31B1C1AB384FC00715FBF /* Images.xcassets in Resources */,
+				D999250B1A92B4F0008CC226 /* refresh.png in Resources */,
+				D99925031A92B4BC008CC226 /* SignInViewController.xib in Resources */,
+				D9F31B191AB384EE00715FBF /* LaunchScreen.xib in Resources */,
+				D999250A1A92B4F0008CC226 /* DataPickerDictionary.plist in Resources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+		D99924C61A92B3C7008CC226 /* Sources */ = {
+			isa = PBXSourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				D99925021A92B4BC008CC226 /* SignInViewController.m in Sources */,
+				D99924FE1A92B478008CC226 /* DataPickerViewController.m in Sources */,
+				D99924FD1A92B478008CC226 /* DataPickerState.m in Sources */,
+				D99924FC1A92B478008CC226 /* AuthInspectorViewController.m in Sources */,
+				D99925051A92B4D3008CC226 /* main.m in Sources */,
+				D99924FB1A92B478008CC226 /* AppDelegate.m in Sources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXSourcesBuildPhase section */
+
+/* Begin XCBuildConfiguration section */
+		D99924EB1A92B3C7008CC226 /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ALWAYS_SEARCH_USER_PATHS = NO;
+				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+				CLANG_CXX_LIBRARY = "libc++";
+				CLANG_ENABLE_MODULES = YES;
+				CLANG_ENABLE_OBJC_ARC = YES;
+				CLANG_WARN_BOOL_CONVERSION = YES;
+				CLANG_WARN_CONSTANT_CONVERSION = YES;
+				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+				CLANG_WARN_EMPTY_BODY = YES;
+				CLANG_WARN_ENUM_CONVERSION = YES;
+				CLANG_WARN_INT_CONVERSION = YES;
+				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+				CLANG_WARN_UNREACHABLE_CODE = YES;
+				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+				COPY_PHASE_STRIP = NO;
+				ENABLE_STRICT_OBJC_MSGSEND = YES;
+				GCC_C_LANGUAGE_STANDARD = gnu99;
+				GCC_DYNAMIC_NO_PIC = NO;
+				GCC_OPTIMIZATION_LEVEL = 0;
+				GCC_PREPROCESSOR_DEFINITIONS = (
+					"DEBUG=1",
+					"$(inherited)",
+				);
+				GCC_SYMBOLS_PRIVATE_EXTERN = NO;
+				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+				GCC_WARN_UNDECLARED_SELECTOR = YES;
+				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+				GCC_WARN_UNUSED_FUNCTION = YES;
+				GCC_WARN_UNUSED_VARIABLE = YES;
+				IPHONEOS_DEPLOYMENT_TARGET = 7.0;
+				MTL_ENABLE_DEBUG_INFO = YES;
+				ONLY_ACTIVE_ARCH = YES;
+				OTHER_LDFLAGS = "-ObjC";
+				SDKROOT = iphoneos;
+				TARGETED_DEVICE_FAMILY = "1,2";
+			};
+			name = Debug;
+		};
+		D99924EC1A92B3C7008CC226 /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ALWAYS_SEARCH_USER_PATHS = NO;
+				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+				CLANG_CXX_LIBRARY = "libc++";
+				CLANG_ENABLE_MODULES = YES;
+				CLANG_ENABLE_OBJC_ARC = YES;
+				CLANG_WARN_BOOL_CONVERSION = YES;
+				CLANG_WARN_CONSTANT_CONVERSION = YES;
+				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+				CLANG_WARN_EMPTY_BODY = YES;
+				CLANG_WARN_ENUM_CONVERSION = YES;
+				CLANG_WARN_INT_CONVERSION = YES;
+				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
+				CLANG_WARN_UNREACHABLE_CODE = YES;
+				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+				COPY_PHASE_STRIP = YES;
+				ENABLE_NS_ASSERTIONS = NO;
+				ENABLE_STRICT_OBJC_MSGSEND = YES;
+				GCC_C_LANGUAGE_STANDARD = gnu99;
+				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+				GCC_WARN_UNDECLARED_SELECTOR = YES;
+				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+				GCC_WARN_UNUSED_FUNCTION = YES;
+				GCC_WARN_UNUSED_VARIABLE = YES;
+				IPHONEOS_DEPLOYMENT_TARGET = 7.0;
+				MTL_ENABLE_DEBUG_INFO = NO;
+				OTHER_LDFLAGS = "-ObjC";
+				SDKROOT = iphoneos;
+				TARGETED_DEVICE_FAMILY = "1,2";
+				VALIDATE_PRODUCT = YES;
+			};
+			name = Release;
+		};
+		D99924EE1A92B3C7008CC226 /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+				FRAMEWORK_SEARCH_PATHS = (
+					"$(inherited)",
+					..,
+				);
+				INFOPLIST_FILE = "$(SRCROOT)/SignInSample-Info.plist";
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+				PRODUCT_NAME = "$(TARGET_NAME)";
+			};
+			name = Debug;
+		};
+		D99924EF1A92B3C7008CC226 /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+				FRAMEWORK_SEARCH_PATHS = (
+					"$(inherited)",
+					..,
+				);
+				INFOPLIST_FILE = "$(SRCROOT)/SignInSample-Info.plist";
+				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
+				PRODUCT_NAME = "$(TARGET_NAME)";
+			};
+			name = Release;
+		};
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+		D99924C51A92B3C7008CC226 /* Build configuration list for PBXProject "SignInSample" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				D99924EB1A92B3C7008CC226 /* Debug */,
+				D99924EC1A92B3C7008CC226 /* Release */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+		D99924ED1A92B3C7008CC226 /* Build configuration list for PBXNativeTarget "SignInSample" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				D99924EE1A92B3C7008CC226 /* Debug */,
+				D99924EF1A92B3C7008CC226 /* Release */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+/* End XCConfigurationList section */
+	};
+	rootObject = D99924C21A92B3C7008CC226 /* Project object */;
+}
diff --git a/swift/google_signin_sdk_3_0_0/Sample/SignInSample.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/swift/google_signin_sdk_3_0_0/Sample/SignInSample.xcodeproj/project.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 0000000..919434a
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/SignInSample.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+   version = "1.0">
+   <FileRef
+      location = "self:">
+   </FileRef>
+</Workspace>
diff --git a/swift/google_signin_sdk_3_0_0/Sample/SignInSample.xcodeproj/project.xcworkspace/xcuserdata/zinman.xcuserdatad/UserInterfaceState.xcuserstate b/swift/google_signin_sdk_3_0_0/Sample/SignInSample.xcodeproj/project.xcworkspace/xcuserdata/zinman.xcuserdatad/UserInterfaceState.xcuserstate
new file mode 100644
index 0000000..07d3d56
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/SignInSample.xcodeproj/project.xcworkspace/xcuserdata/zinman.xcuserdatad/UserInterfaceState.xcuserstate
Binary files differ
diff --git a/swift/google_signin_sdk_3_0_0/Sample/SignInSample.xcodeproj/xcuserdata/zinman.xcuserdatad/xcschemes/SignInSample.xcscheme b/swift/google_signin_sdk_3_0_0/Sample/SignInSample.xcodeproj/xcuserdata/zinman.xcuserdatad/xcschemes/SignInSample.xcscheme
new file mode 100644
index 0000000..e0344ab
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/SignInSample.xcodeproj/xcuserdata/zinman.xcuserdatad/xcschemes/SignInSample.xcscheme
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+   LastUpgradeVersion = "0730"
+   version = "1.3">
+   <BuildAction
+      parallelizeBuildables = "YES"
+      buildImplicitDependencies = "YES">
+      <BuildActionEntries>
+         <BuildActionEntry
+            buildForTesting = "YES"
+            buildForRunning = "YES"
+            buildForProfiling = "YES"
+            buildForArchiving = "YES"
+            buildForAnalyzing = "YES">
+            <BuildableReference
+               BuildableIdentifier = "primary"
+               BlueprintIdentifier = "D99924C91A92B3C7008CC226"
+               BuildableName = "SignInSample.app"
+               BlueprintName = "SignInSample"
+               ReferencedContainer = "container:SignInSample.xcodeproj">
+            </BuildableReference>
+         </BuildActionEntry>
+      </BuildActionEntries>
+   </BuildAction>
+   <TestAction
+      buildConfiguration = "Debug"
+      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+      shouldUseLaunchSchemeArgsEnv = "YES">
+      <Testables>
+      </Testables>
+      <MacroExpansion>
+         <BuildableReference
+            BuildableIdentifier = "primary"
+            BlueprintIdentifier = "D99924C91A92B3C7008CC226"
+            BuildableName = "SignInSample.app"
+            BlueprintName = "SignInSample"
+            ReferencedContainer = "container:SignInSample.xcodeproj">
+         </BuildableReference>
+      </MacroExpansion>
+      <AdditionalOptions>
+      </AdditionalOptions>
+   </TestAction>
+   <LaunchAction
+      buildConfiguration = "Debug"
+      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
+      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+      launchStyle = "0"
+      useCustomWorkingDirectory = "NO"
+      ignoresPersistentStateOnLaunch = "NO"
+      debugDocumentVersioning = "YES"
+      debugServiceExtension = "internal"
+      allowLocationSimulation = "YES">
+      <BuildableProductRunnable
+         runnableDebuggingMode = "0">
+         <BuildableReference
+            BuildableIdentifier = "primary"
+            BlueprintIdentifier = "D99924C91A92B3C7008CC226"
+            BuildableName = "SignInSample.app"
+            BlueprintName = "SignInSample"
+            ReferencedContainer = "container:SignInSample.xcodeproj">
+         </BuildableReference>
+      </BuildableProductRunnable>
+      <AdditionalOptions>
+      </AdditionalOptions>
+   </LaunchAction>
+   <ProfileAction
+      buildConfiguration = "Release"
+      shouldUseLaunchSchemeArgsEnv = "YES"
+      savedToolIdentifier = ""
+      useCustomWorkingDirectory = "NO"
+      debugDocumentVersioning = "YES">
+      <BuildableProductRunnable
+         runnableDebuggingMode = "0">
+         <BuildableReference
+            BuildableIdentifier = "primary"
+            BlueprintIdentifier = "D99924C91A92B3C7008CC226"
+            BuildableName = "SignInSample.app"
+            BlueprintName = "SignInSample"
+            ReferencedContainer = "container:SignInSample.xcodeproj">
+         </BuildableReference>
+      </BuildableProductRunnable>
+   </ProfileAction>
+   <AnalyzeAction
+      buildConfiguration = "Debug">
+   </AnalyzeAction>
+   <ArchiveAction
+      buildConfiguration = "Release"
+      revealArchiveInOrganizer = "YES">
+   </ArchiveAction>
+</Scheme>
diff --git a/swift/google_signin_sdk_3_0_0/Sample/SignInSample.xcodeproj/xcuserdata/zinman.xcuserdatad/xcschemes/xcschememanagement.plist b/swift/google_signin_sdk_3_0_0/Sample/SignInSample.xcodeproj/xcuserdata/zinman.xcuserdatad/xcschemes/xcschememanagement.plist
new file mode 100644
index 0000000..ef8661b
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/SignInSample.xcodeproj/xcuserdata/zinman.xcuserdatad/xcschemes/xcschememanagement.plist
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>SchemeUserState</key>
+	<dict>
+		<key>SignInSample.xcscheme</key>
+		<dict>
+			<key>orderHint</key>
+			<integer>0</integer>
+		</dict>
+	</dict>
+	<key>SuppressBuildableAutocreation</key>
+	<dict>
+		<key>D99924C91A92B3C7008CC226</key>
+		<dict>
+			<key>primary</key>
+			<true/>
+		</dict>
+	</dict>
+</dict>
+</plist>
diff --git a/swift/google_signin_sdk_3_0_0/Sample/SignInViewController.h b/swift/google_signin_sdk_3_0_0/Sample/SignInViewController.h
new file mode 100644
index 0000000..9c1c487
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/SignInViewController.h
@@ -0,0 +1,53 @@
+//
+//  SignInViewController.h
+//
+//  Copyright 2012 Google Inc.
+//
+//  Licensed under the Apache License, Version 2.0 (the "License");
+//  you may not use this file except in compliance with the License.
+//  You may obtain a copy of the License at
+//
+//  http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+
+#import <UIKit/UIKit.h>
+
+@class GIDSignInButton;
+
+// A view controller for the Google+ sign-in button which initiates a standard
+// OAuth 2.0 flow and provides an access token and a refresh token. A "Sign out"
+// button is provided to allow users to sign out of this application.
+@interface SignInViewController : UITableViewController<UIAlertViewDelegate>
+
+@property(weak, nonatomic) IBOutlet GIDSignInButton *signInButton;
+// A label to display the result of the sign-in action.
+@property(weak, nonatomic) IBOutlet UILabel *signInAuthStatus;
+// A label to display the signed-in user's display name.
+@property(weak, nonatomic) IBOutlet UILabel *userName;
+// A label to display the signed-in user's email address.
+@property(weak, nonatomic) IBOutlet UILabel *userEmailAddress;
+// An image view to display the signed-in user's avatar image.
+@property(weak, nonatomic) IBOutlet UIImageView *userAvatar;
+// A button to sign out of this application.
+@property(weak, nonatomic) IBOutlet UIButton *signOutButton;
+// A button to disconnect user from this application.
+@property(weak, nonatomic) IBOutlet UIButton *disconnectButton;
+// A button to inspect the authorization object.
+@property(weak, nonatomic) IBOutlet UIButton *credentialsButton;
+// A dynamically-created slider for controlling the sign-in button width.
+@property(weak, nonatomic) UISlider *signInButtonWidthSlider;
+
+// Called when the user presses the "Sign out" button.
+- (IBAction)signOut:(id)sender;
+// Called when the user presses the "Disconnect" button.
+- (IBAction)disconnect:(id)sender;
+// Called when the user presses the "Credentials" button.
+- (IBAction)showAuthInspector:(id)sender;
+
+@end
diff --git a/swift/google_signin_sdk_3_0_0/Sample/SignInViewController.m b/swift/google_signin_sdk_3_0_0/Sample/SignInViewController.m
new file mode 100644
index 0000000..d703c84
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/SignInViewController.m
@@ -0,0 +1,510 @@
+//
+//  SignInViewController.m
+//
+//  Copyright 2012 Google Inc.
+//
+//  Licensed under the Apache License, Version 2.0 (the "License");
+//  you may not use this file except in compliance with the License.
+//  You may obtain a copy of the License at
+//
+//  http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+
+#import "SignInViewController.h"
+
+#import <GoogleSignIn/GoogleSignIn.h>
+
+#import "AuthInspectorViewController.h"
+#import "DataPickerState.h"
+#import "DataPickerViewController.h"
+
+typedef void(^AlertViewActionBlock)(void);
+
+@interface SignInViewController () <GIDSignInDelegate, GIDSignInUIDelegate>
+
+@property (nonatomic, copy) void (^confirmActionBlock)(void);
+@property (nonatomic, copy) void (^cancelActionBlock)(void);
+
+@end
+
+static NSString *const kPlaceholderUserName = @"<Name>";
+static NSString *const kPlaceholderEmailAddress = @"<Email>";
+static NSString *const kPlaceholderAvatarImageName = @"PlaceholderAvatar.png";
+
+// Labels for the cells that have in-cell control elements.
+static NSString *const kGetUserProfileCellLabel = @"Get user Basic Profile";
+static NSString *const kAllowsSignInWithBrowserLabel = @"Allow Sign In with Browser";
+static NSString *const kAllowsSignInWithWebViewLabel = @"Allow Sign In with Web View";
+static NSString *const kButtonWidthCellLabel = @"Width";
+
+// Labels for the cells that drill down to data pickers.
+static NSString *const kColorSchemeCellLabel = @"Color scheme";
+static NSString *const kStyleCellLabel = @"Style";
+
+// Strings for Alert Views.
+static NSString *const kSignInViewTitle = @"Sign in View";
+static NSString *const kSignOutAlertViewTitle = @"Warning";
+static NSString *const kSignOutAlertCancelTitle = @"Cancel";
+static NSString *const kSignOutAlertConfirmTitle = @"Continue";
+
+// Accessibility Identifiers.
+static NSString *const kCredentialsButtonAccessibilityIdentifier = @"Credentials";
+
+@implementation SignInViewController {
+  // This is an array of arrays, each one corresponding to the cell
+  // labels for its respective section.
+  NSArray *_sectionCellLabels;
+
+  // These sets contain the labels corresponding to cells that have various
+  // types (each cell either drills down to another table view, contains an
+  // in-cell switch, or contains a slider).
+  NSArray *_drillDownCells;
+  NSArray *_switchCells;
+  NSArray *_sliderCells;
+
+  // States storing the current set of selected elements for each data picker.
+  DataPickerState *_colorSchemeState;
+  DataPickerState *_styleState;
+
+  // Map that keeps track of which cell corresponds to which DataPickerState.
+  NSDictionary *_drilldownCellState;
+}
+
+#pragma mark - View lifecycle
+
+- (void)setUp {
+  _sectionCellLabels = @[
+    @[ kColorSchemeCellLabel, kStyleCellLabel, kButtonWidthCellLabel ],
+    @[ kGetUserProfileCellLabel, kAllowsSignInWithBrowserLabel, kAllowsSignInWithWebViewLabel ]
+  ];
+
+  // Groupings of cell types.
+  _drillDownCells = @[
+    kColorSchemeCellLabel,
+    kStyleCellLabel
+  ];
+
+  _switchCells =
+      @[ kGetUserProfileCellLabel, kAllowsSignInWithBrowserLabel, kAllowsSignInWithWebViewLabel ];
+  _sliderCells = @[ kButtonWidthCellLabel ];
+
+  // Initialize data picker states.
+  NSString *dictionaryPath =
+      [[NSBundle mainBundle] pathForResource:@"DataPickerDictionary"
+                                      ofType:@"plist"];
+  NSDictionary *configOptionsDict = [NSDictionary dictionaryWithContentsOfFile:dictionaryPath];
+
+  NSDictionary *colorSchemeDict = [configOptionsDict objectForKey:kColorSchemeCellLabel];
+  NSDictionary *styleDict = [configOptionsDict objectForKey:kStyleCellLabel];
+
+  _colorSchemeState = [[DataPickerState alloc] initWithDictionary:colorSchemeDict];
+  _styleState = [[DataPickerState alloc] initWithDictionary:styleDict];
+
+  _drilldownCellState = @{
+    kColorSchemeCellLabel :   _colorSchemeState,
+    kStyleCellLabel :         _styleState
+  };
+
+  // Make sure the GIDSignInButton class is linked in because references from
+  // xib file doesn't count.
+  [GIDSignInButton class];
+
+  GIDSignIn *signIn = [GIDSignIn sharedInstance];
+  signIn.shouldFetchBasicProfile = YES;
+  signIn.delegate = self;
+  signIn.uiDelegate = self;
+}
+
+- (id)initWithNibName:(NSString *)nibNameOrNil
+               bundle:(NSBundle *)nibBundleOrNil {
+  self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
+  if (self) {
+    [self setUp];
+    self.title = kSignInViewTitle;
+  }
+  return self;
+}
+
+- (id)initWithCoder:(NSCoder *)aDecoder {
+  self = [super initWithCoder:aDecoder];
+  if (self) {
+    [self setUp];
+    self.title = kSignInViewTitle;
+  }
+  return self;
+}
+
+- (void)viewDidLoad {
+  [super viewDidLoad];
+
+  self.credentialsButton.accessibilityIdentifier = kCredentialsButtonAccessibilityIdentifier;
+}
+
+- (void)viewWillAppear:(BOOL)animated {
+  [self adoptUserSettings];
+  [self reportAuthStatus];
+  [self updateButtons];
+  [self.tableView reloadData];
+
+  [super viewWillAppear:animated];
+}
+
+#pragma mark - GIDSignInDelegate
+
+- (void)signIn:(GIDSignIn *)signIn
+    didSignInForUser:(GIDGoogleUser *)user
+           withError:(NSError *)error {
+  if (error) {
+    _signInAuthStatus.text = [NSString stringWithFormat:@"Status: Authentication error: %@", error];
+    return;
+  }
+  [self reportAuthStatus];
+  [self updateButtons];
+}
+
+- (void)signIn:(GIDSignIn *)signIn
+    didDisconnectWithUser:(GIDGoogleUser *)user
+                withError:(NSError *)error {
+  if (error) {
+    _signInAuthStatus.text = [NSString stringWithFormat:@"Status: Failed to disconnect: %@", error];
+  } else {
+    _signInAuthStatus.text = [NSString stringWithFormat:@"Status: Disconnected"];
+  }
+  [self reportAuthStatus];
+  [self updateButtons];
+}
+
+- (void)presentSignInViewController:(UIViewController *)viewController {
+  [[self navigationController] pushViewController:viewController animated:YES];
+}
+
+#pragma mark - Helper methods
+
+// Updates the GIDSignIn shared instance and the GIDSignInButton
+// to reflect the configuration settings that the user set
+- (void)adoptUserSettings {
+  // There should only be one selected color scheme
+  for (NSString *scheme in _colorSchemeState.selectedCells) {
+    if ([scheme isEqualToString:@"Light"]) {
+      _signInButton.colorScheme = kGIDSignInButtonColorSchemeLight;
+    } else {
+      _signInButton.colorScheme = kGIDSignInButtonColorSchemeDark;
+    }
+  }
+
+  // There should only be one selected style
+  for (NSString *style in _styleState.selectedCells) {
+    GIDSignInButtonStyle newStyle;
+    if ([style isEqualToString:@"Standard"]) {
+      newStyle = kGIDSignInButtonStyleStandard;
+      self.signInButtonWidthSlider.enabled = YES;
+    } else if ([style isEqualToString:@"Wide"]) {
+      newStyle = kGIDSignInButtonStyleWide;
+      self.signInButtonWidthSlider.enabled = YES;
+    } else {
+      newStyle = kGIDSignInButtonStyleIconOnly;
+      self.signInButtonWidthSlider.enabled = NO;
+    }
+    if (self.signInButton.style != newStyle) {
+      self.signInButton.style = newStyle;
+      self.signInButtonWidthSlider.minimumValue = [self minimumButtonWidth];
+    }
+    self.signInButtonWidthSlider.value = _signInButton.frame.size.width;
+  }
+}
+
+// Temporarily force the sign in button to adopt its minimum allowed frame
+// so that we can find out its minimum allowed width (used for setting the
+// range of the width slider).
+- (CGFloat)minimumButtonWidth {
+  CGRect frame = self.signInButton.frame;
+  self.signInButton.frame = CGRectZero;
+
+  CGFloat minimumWidth = self.signInButton.frame.size.width;
+  self.signInButton.frame = frame;
+
+  return minimumWidth;
+}
+
+- (void)reportAuthStatus {
+  GIDGoogleUser *googleUser = [[GIDSignIn sharedInstance] currentUser];
+  if (googleUser.authentication) {
+    _signInAuthStatus.text = @"Status: Authenticated";
+  } else {
+    // To authenticate, use Google+ sign-in button.
+    _signInAuthStatus.text = @"Status: Not authenticated";
+  }
+
+  [self refreshUserInfo];
+}
+
+// Update the interface elements containing user data to reflect the
+// currently signed in user.
+- (void)refreshUserInfo {
+  if ([GIDSignIn sharedInstance].currentUser.authentication == nil) {
+    self.userName.text = kPlaceholderUserName;
+    self.userEmailAddress.text = kPlaceholderEmailAddress;
+    self.userAvatar.image = [UIImage imageNamed:kPlaceholderAvatarImageName];
+    return;
+  }
+  self.userEmailAddress.text = [GIDSignIn sharedInstance].currentUser.profile.email;
+  self.userName.text = [GIDSignIn sharedInstance].currentUser.profile.name;
+
+  if (![GIDSignIn sharedInstance].currentUser.profile.hasImage) {
+    // There is no Profile Image to be loaded.
+    return;
+  }
+  // Load avatar image asynchronously, in background
+  dispatch_queue_t backgroundQueue =
+      dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0);
+  __weak SignInViewController *weakSelf = self;
+
+  dispatch_async(backgroundQueue, ^{
+    NSUInteger dimension = round(self.userAvatar.frame.size.width * [[UIScreen mainScreen] scale]);
+    NSURL *imageURL =
+        [[GIDSignIn sharedInstance].currentUser.profile imageURLWithDimension:dimension];
+    NSData *avatarData = [NSData dataWithContentsOfURL:imageURL];
+
+    if (avatarData) {
+      // Update UI from the main thread when available
+      dispatch_async(dispatch_get_main_queue(), ^{
+        SignInViewController *strongSelf = weakSelf;
+        if (strongSelf) {
+          strongSelf.userAvatar.image = [UIImage imageWithData:avatarData];
+        }
+      });
+    }
+  });
+}
+
+// Adjusts "Sign in", "Sign out", and "Disconnect" buttons to reflect
+// the current sign-in state (ie, the "Sign in" button becomes disabled
+// when a user is already signed in).
+- (void)updateButtons {
+  BOOL authenticated = ([GIDSignIn sharedInstance].currentUser.authentication != nil);
+
+  self.signInButton.enabled = !authenticated;
+  self.signOutButton.enabled = authenticated;
+  self.disconnectButton.enabled = authenticated;
+  self.credentialsButton.hidden = !authenticated;
+
+  if (authenticated) {
+    self.signInButton.alpha = 0.5;
+    self.signOutButton.alpha = self.disconnectButton.alpha = 1.0;
+  } else {
+    self.signInButton.alpha = 1.0;
+    self.signOutButton.alpha = self.disconnectButton.alpha = 0.5;
+  }
+}
+
+#pragma mark - IBActions
+
+- (IBAction)signOut:(id)sender {
+  [[GIDSignIn sharedInstance] signOut];
+  [self reportAuthStatus];
+  [self updateButtons];
+}
+
+- (IBAction)disconnect:(id)sender {
+  [[GIDSignIn sharedInstance] disconnect];
+}
+
+- (IBAction)showAuthInspector:(id)sender {
+  AuthInspectorViewController *authInspector = [[AuthInspectorViewController alloc] init];
+  [[self navigationController] pushViewController:authInspector animated:YES];
+}
+
+- (IBAction)checkSignIn:(id)sender {
+  [self reportAuthStatus];
+}
+
+- (void)toggleBasicProfile:(UISwitch *)sender {
+  [GIDSignIn sharedInstance].shouldFetchBasicProfile = sender.on;
+}
+
+- (void)toggleAllowSignInWithBrowser:(UISwitch *)sender {
+  [GIDSignIn sharedInstance].allowsSignInWithBrowser = sender.on;
+}
+
+- (void)toggleAllowSignInWithWebView:(UISwitch *)sender {
+  [GIDSignIn sharedInstance].allowsSignInWithWebView = sender.on;
+}
+
+- (void)changeSignInButtonWidth:(UISlider *)sender {
+  CGRect frame = self.signInButton.frame;
+  frame.size.width = sender.value;
+  self.signInButton.frame = frame;
+}
+
+#pragma mark - UIAlertView Delegate
+
+- (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {
+  if (buttonIndex == alertView.cancelButtonIndex) {
+    if (_cancelActionBlock) {
+      _cancelActionBlock();
+    }
+  } else {
+    if (_confirmActionBlock) {
+      _confirmActionBlock();
+      [self refreshUserInfo];
+      [self updateButtons];
+    }
+  }
+
+  _cancelActionBlock = nil;
+  _confirmActionBlock = nil;
+}
+
+#pragma mark - UITableView Data Source
+
+- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
+  return [_sectionCellLabels count];
+}
+
+- (NSInteger)tableView:(UITableView *)tableView
+ numberOfRowsInSection:(NSInteger)section {
+  return [_sectionCellLabels[section] count];
+}
+
+- (NSString *)tableView:(UITableView *)tableView
+    titleForHeaderInSection:(NSInteger)section {
+  if (section == 0) {
+    return @"Sign-in Button Configuration";
+  } else if (section == 1) {
+    return @"Other Configurations";
+  } else {
+    return nil;
+  }
+}
+
+- (BOOL)tableView:(UITableView *)tableView
+    shouldHighlightRowAtIndexPath:(NSIndexPath *)indexPath {
+  // Cells that drill down to other table views should be highlight-able.
+  // The other cells contain control elements, so they should not be selectable.
+  NSString *label = _sectionCellLabels[indexPath.section][indexPath.row];
+  if ([_drillDownCells containsObject:label]) {
+    return YES;
+  } else {
+    return NO;
+  }
+}
+
+- (UITableViewCell *)tableView:(UITableView *)tableView
+         cellForRowAtIndexPath:(NSIndexPath *)indexPath {
+  static NSString * const kDrilldownCell = @"DrilldownCell";
+  static NSString * const kSwitchCell = @"SwitchCell";
+  static NSString * const kSliderCell = @"SliderCell";
+
+  NSString *label = _sectionCellLabels[indexPath.section][indexPath.row];
+  UITableViewCell *cell;
+  NSString *identifier;
+
+  if ([_drillDownCells containsObject:label]) {
+    identifier = kDrilldownCell;
+  } else if ([_switchCells containsObject:label]) {
+    identifier = kSwitchCell;
+  } else if ([_sliderCells containsObject:label]) {
+    identifier = kSliderCell;
+  }
+
+  cell = [tableView dequeueReusableCellWithIdentifier:identifier];
+
+  if (cell == nil) {
+    cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleValue1
+                                  reuseIdentifier:identifier];
+  }
+  // Assign accessibility labels to each cell row.
+  cell.accessibilityLabel = label;
+
+  if (identifier == kDrilldownCell) {
+    cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
+    DataPickerState *dataState = _drilldownCellState[label];
+    if (dataState.multipleSelectEnabled) {
+      cell.detailTextLabel.text = @"";
+    } else {
+      cell.detailTextLabel.text = [dataState.selectedCells anyObject];
+    }
+    cell.accessibilityValue = cell.detailTextLabel.text;
+  } else if (identifier == kSwitchCell) {
+    UISwitch *toggle = [[UISwitch alloc] initWithFrame:CGRectZero];
+
+    if ([label isEqualToString:kGetUserProfileCellLabel]) {
+      [toggle addTarget:self
+                    action:@selector(toggleBasicProfile:)
+          forControlEvents:UIControlEventValueChanged];
+      toggle.on = [GIDSignIn sharedInstance].shouldFetchBasicProfile;
+    }
+
+    if ([label isEqualToString:kAllowsSignInWithBrowserLabel]) {
+      [toggle addTarget:self
+                    action:@selector(toggleAllowSignInWithBrowser:)
+          forControlEvents:UIControlEventValueChanged];
+      toggle.on = [GIDSignIn sharedInstance].allowsSignInWithBrowser;
+    }
+
+    if ([label isEqualToString:kAllowsSignInWithWebViewLabel]) {
+      [toggle addTarget:self
+                    action:@selector(toggleAllowSignInWithWebView:)
+          forControlEvents:UIControlEventValueChanged];
+      toggle.on = [GIDSignIn sharedInstance].allowsSignInWithWebView;
+    }
+
+    toggle.accessibilityLabel = [NSString stringWithFormat:@"%@ Switch", cell.accessibilityLabel];
+    cell.accessoryView = toggle;
+  } else if (identifier == kSliderCell) {
+
+    UISlider *slider = [[UISlider alloc] initWithFrame:CGRectMake(0, 0, 150, 0)];
+    slider.minimumValue = [self minimumButtonWidth];
+    slider.maximumValue = 268.0;
+    slider.value = self.signInButton.frame.size.width;
+    slider.enabled = self.signInButton.style != kGIDSignInButtonStyleIconOnly;
+
+    [slider addTarget:self
+                  action:@selector(changeSignInButtonWidth:)
+        forControlEvents:UIControlEventValueChanged];
+
+    slider.accessibilityIdentifier = [NSString stringWithFormat:@"%@ Slider", label];
+    self.signInButtonWidthSlider = slider;
+    cell.accessoryView = slider;
+    [self.signInButtonWidthSlider sizeToFit];
+  }
+
+  cell.textLabel.text = label;
+
+  return cell;
+}
+
+- (void)tableView:(UITableView *)tableView
+    didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
+  [tableView deselectRowAtIndexPath:indexPath animated:YES];
+  UITableViewCell *selectedCell = [tableView cellForRowAtIndexPath:indexPath];
+  NSString *label = selectedCell.textLabel.text;
+
+  DataPickerState *dataState = [_drilldownCellState objectForKey:label];
+  if (!dataState) {
+    return;
+  }
+
+  DataPickerViewController *dataPicker =
+      [[DataPickerViewController alloc] initWithNibName:nil
+                                                 bundle:nil
+                                              dataState:dataState];
+  dataPicker.navigationItem.title = label;
+
+  // Force the back button title to be 'Back'
+  UIBarButtonItem *newBackButton =
+      [[UIBarButtonItem alloc] initWithTitle:@"Back"
+                                       style:UIBarButtonItemStylePlain
+                                      target:nil
+                                      action:nil];
+  [[self navigationItem] setBackBarButtonItem:newBackButton];
+  [self.navigationController pushViewController:dataPicker animated:YES];
+}
+
+@end
diff --git a/swift/google_signin_sdk_3_0_0/Sample/SignInViewController.xib b/swift/google_signin_sdk_3_0_0/Sample/SignInViewController.xib
new file mode 100644
index 0000000..13b21f1
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/SignInViewController.xib
@@ -0,0 +1,101 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="9531" systemVersion="15D21" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none">
+    <dependencies>
+        <deployment identifier="iOS"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9529"/>
+    </dependencies>
+    <objects>
+        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="SignInViewController">
+            <connections>
+                <outlet property="credentialsButton" destination="80" id="83"/>
+                <outlet property="disconnectButton" destination="65" id="71"/>
+                <outlet property="signInAuthStatus" destination="72" id="73"/>
+                <outlet property="signInButton" destination="bKH-Ji-uCR" id="aDr-fD-R3x"/>
+                <outlet property="signOutButton" destination="63" id="70"/>
+                <outlet property="userAvatar" destination="60" id="67"/>
+                <outlet property="userEmailAddress" destination="62" id="76"/>
+                <outlet property="userName" destination="61" id="75"/>
+                <outlet property="view" destination="55" id="56"/>
+            </connections>
+        </placeholder>
+        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
+        <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" id="55">
+            <rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
+            <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+            <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
+            <nil key="simulatedStatusBarMetrics"/>
+            <view key="tableHeaderView" contentMode="scaleToFill" id="57">
+                <rect key="frame" x="0.0" y="0.0" width="320" height="197"/>
+                <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+                <subviews>
+                    <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="Status: Authenticated" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="72">
+                        <rect key="frame" x="21" y="67" width="280" height="21"/>
+                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+                        <fontDescription key="fontDescription" type="system" pointSize="14"/>
+                        <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
+                        <nil key="highlightedColor"/>
+                    </label>
+                    <imageView userInteractionEnabled="NO" contentMode="scaleToFill" image="PlaceholderAvatar.png" id="60">
+                        <rect key="frame" x="20" y="8" width="50" height="50"/>
+                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+                    </imageView>
+                    <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="&lt;Name&gt;" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="61">
+                        <rect key="frame" x="78" y="8" width="153" height="21"/>
+                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+                        <fontDescription key="fontDescription" type="system" pointSize="17"/>
+                        <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
+                        <nil key="highlightedColor"/>
+                    </label>
+                    <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" text="&lt;Email&gt;" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="7" id="62">
+                        <rect key="frame" x="78" y="34" width="153" height="21"/>
+                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+                        <fontDescription key="fontDescription" type="system" pointSize="14"/>
+                        <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
+                        <nil key="highlightedColor"/>
+                    </label>
+                    <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="63">
+                        <rect key="frame" x="50" y="160" width="77" height="35"/>
+                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+                        <fontDescription key="fontDescription" type="boldSystem" pointSize="16"/>
+                        <state key="normal" title="Sign out">
+                            <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
+                        </state>
+                        <connections>
+                            <action selector="signOut:" destination="-1" eventType="touchUpInside" id="64"/>
+                        </connections>
+                    </button>
+                    <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="65">
+                        <rect key="frame" x="186" y="160" width="97" height="35"/>
+                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+                        <fontDescription key="fontDescription" type="boldSystem" pointSize="16"/>
+                        <state key="normal" title="Disconnect">
+                            <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
+                        </state>
+                        <connections>
+                            <action selector="disconnect:" destination="-1" eventType="touchUpInside" id="66"/>
+                        </connections>
+                    </button>
+                    <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="infoDark" showsTouchWhenHighlighted="YES" lineBreakMode="middleTruncation" id="80">
+                        <rect key="frame" x="168" y="68" width="22" height="22"/>
+                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+                        <connections>
+                            <action selector="showAuthInspector:" destination="-1" eventType="touchUpInside" id="82"/>
+                        </connections>
+                    </button>
+                    <view contentMode="scaleToFill" id="bKH-Ji-uCR" customClass="GIDSignInButton">
+                        <rect key="frame" x="20" y="100" width="281" height="39"/>
+                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+                        <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
+                        <accessibility key="accessibilityConfiguration">
+                            <accessibilityTraits key="traits" button="YES"/>
+                        </accessibility>
+                    </view>
+                </subviews>
+                <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
+            </view>
+        </tableView>
+    </objects>
+    <resources>
+        <image name="PlaceholderAvatar.png" width="50" height="50"/>
+    </resources>
+</document>
diff --git a/swift/google_signin_sdk_3_0_0/Sample/main.m b/swift/google_signin_sdk_3_0_0/Sample/main.m
new file mode 100644
index 0000000..edb0a02
--- /dev/null
+++ b/swift/google_signin_sdk_3_0_0/Sample/main.m
@@ -0,0 +1,28 @@
+//
+//  main.m
+//
+//  Copyright 2012 Google Inc.
+//
+//  Licensed under the Apache License, Version 2.0 (the "License");
+//  you may not use this file except in compliance with the License.
+//  You may obtain a copy of the License at
+//
+//  http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
+//
+
+#import <UIKit/UIKit.h>
+
+#import "AppDelegate.h"
+
+int main(int argc, char *argv[]) {
+  @autoreleasepool {
+    return UIApplicationMain(argc, argv, nil,
+        NSStringFromClass([AppDelegate class]));
+  }
+}