diff --git a/Example/NYTPhotoViewer-SwiftTests/Info.plist b/Example/NYTPhotoViewer-SwiftTests/Info.plist
deleted file mode 100644
index ba72822e..00000000
--- a/Example/NYTPhotoViewer-SwiftTests/Info.plist
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
- CFBundleDevelopmentRegion
- en
- CFBundleExecutable
- $(EXECUTABLE_NAME)
- CFBundleIdentifier
- $(PRODUCT_BUNDLE_IDENTIFIER)
- CFBundleInfoDictionaryVersion
- 6.0
- CFBundleName
- $(PRODUCT_NAME)
- CFBundlePackageType
- BNDL
- CFBundleShortVersionString
- 1.0
- CFBundleSignature
- ????
- CFBundleVersion
- 1
-
-
diff --git a/Example/NYTPhotoViewer-SwiftTests/NYTPhotoCaptionViewTests.swift b/Example/NYTPhotoViewer-SwiftTests/NYTPhotoCaptionViewTests.swift
deleted file mode 100644
index 64c6cd57..00000000
--- a/Example/NYTPhotoViewer-SwiftTests/NYTPhotoCaptionViewTests.swift
+++ /dev/null
@@ -1,27 +0,0 @@
-//
-// NYTPhotoCaptionViewTests.swift
-// NYTPhotoViewer
-//
-// Created by Mark Keefe on 3/21/15.
-// Copyright (c) 2015 The New York Times. All rights reserved.
-//
-
-import XCTest
-
-class NYTPhotoCaptionViewTests: XCTestCase {
-
- func testDesignatedInitializerAcceptsNilForTitle() {
- let photoCaptionView = NYTPhotoCaptionView(attributedTitle: nil, attributedSummary: NSAttributedString(), attributedCredit: NSAttributedString())
- XCTAssertNotNil(photoCaptionView)
- }
-
- func testDesignatedInitializerAcceptsNilForSummary() {
- let photoCaptionView = NYTPhotoCaptionView(attributedTitle: NSAttributedString(), attributedSummary: nil, attributedCredit: NSAttributedString())
- XCTAssertNotNil(photoCaptionView)
- }
-
- func testDesignatedInitializerAcceptsNilForCredit() {
- let photoCaptionView = NYTPhotoCaptionView(attributedTitle: NSAttributedString(), attributedSummary: NSAttributedString(), attributedCredit: nil)
- XCTAssertNotNil(photoCaptionView)
- }
-}
diff --git a/Example/NYTPhotoViewer-SwiftTests/NYTPhotoTransitionAnimatorTests.swift b/Example/NYTPhotoViewer-SwiftTests/NYTPhotoTransitionAnimatorTests.swift
deleted file mode 100644
index c3f69933..00000000
--- a/Example/NYTPhotoViewer-SwiftTests/NYTPhotoTransitionAnimatorTests.swift
+++ /dev/null
@@ -1,16 +0,0 @@
-//
-// NYTPhotoTransitionAnimatorTests.swift
-// NYTPhotoViewer
-//
-// Created by Mark Keefe on 3/21/15.
-// Copyright (c) 2015 The New York Times. All rights reserved.
-//
-
-import XCTest
-
-class NYTPhotoTransitionAnimatorTests: XCTestCase {
-
- func testNewAnimationViewReturnsNilWhenPassedNil() {
- XCTAssertNil(NYTPhotoTransitionAnimator.newAnimationViewFromView(nil))
- }
-}
diff --git a/Example/NYTPhotoViewer-SwiftTests/NYTPhotoViewControllerTests.swift b/Example/NYTPhotoViewer-SwiftTests/NYTPhotoViewControllerTests.swift
deleted file mode 100644
index 702fad42..00000000
--- a/Example/NYTPhotoViewer-SwiftTests/NYTPhotoViewControllerTests.swift
+++ /dev/null
@@ -1,63 +0,0 @@
-//
-// NYTPhotoViewControllerTests.swift
-// NYTPhotoViewer
-//
-// Created by Mark Keefe on 3/21/15.
-// Copyright (c) 2015 The New York Times. All rights reserved.
-//
-
-import XCTest
-
-class NYTPhotoViewControllerTests: XCTestCase {
-
- var testPhoto: ExamplePhoto?
-
- override func setUp() {
- super.setUp()
- testPhoto = ExamplePhoto(attributedCaptionTitle: NSAttributedString())
- }
-
- override func tearDown() {
- testPhoto = nil
- super.tearDown()
- }
-
- func testScalingImageViewExistsAferInitialization() {
- let photoViewController = NYTPhotoViewController(photo: testPhoto, loadingView: nil, notificationCenter: nil)
- XCTAssertNotNil(photoViewController.scalingImageView)
- }
-
- func testDoubleTapGestureRecognizerExistsAferInitialization() {
- let photoViewController = NYTPhotoViewController(photo: testPhoto, loadingView: nil, notificationCenter: nil)
- XCTAssertNotNil(photoViewController.doubleTapGestureRecognizer)
- }
-
- func testLoadingViewExistsAferNilInitialization() {
- let photoViewController = NYTPhotoViewController(photo: testPhoto, loadingView: nil, notificationCenter: nil)
- XCTAssertNotNil(photoViewController.loadingView)
- }
-
- func testDesignatedInitializerAcceptsNilForPhotoArgument() {
- let photoViewController = NYTPhotoViewController(photo: nil, loadingView: UIView(), notificationCenter: NSNotificationCenter.defaultCenter())
-
- XCTAssertNotNil(photoViewController)
- }
-
- func testDesignatedInitializerAcceptsNilForLoadingViewArgument() {
- let photoViewController = NYTPhotoViewController(photo: testPhoto, loadingView: nil, notificationCenter: NSNotificationCenter.defaultCenter())
-
- XCTAssertNotNil(photoViewController)
- }
-
- func testDesignatedInitializerAcceptsNilForNotificationCenterArgument() {
- let photoViewController = NYTPhotoViewController(photo: testPhoto, loadingView: UIView(), notificationCenter: nil)
-
- XCTAssertNotNil(photoViewController)
- }
-
- func testDesignatedInitializerAcceptsNilForAllArguments() {
- let photoViewController = NYTPhotoViewController(photo: nil, loadingView: nil, notificationCenter: nil)
-
- XCTAssertNotNil(photoViewController)
- }
-}
diff --git a/Example/NYTPhotoViewer-SwiftTests/NYTPhotosDataSourceTests.swift b/Example/NYTPhotoViewer-SwiftTests/NYTPhotosDataSourceTests.swift
deleted file mode 100644
index 80d0cb24..00000000
--- a/Example/NYTPhotoViewer-SwiftTests/NYTPhotosDataSourceTests.swift
+++ /dev/null
@@ -1,34 +0,0 @@
-//
-// NYTPhotosDataSourceTests.swift
-// NYTPhotoViewer
-//
-// Created by Mark Keefe on 3/21/15.
-// Copyright (c) 2015 The New York Times. All rights reserved.
-//
-
-import XCTest
-
-class NYTPhotosDataSourceTests: XCTestCase {
-
- let photos: [ExamplePhoto] = PhotosProvider().photos
-
- func testInitializerAcceptsNil() {
- XCTAssertNotNil(NYTPhotosDataSource(photos: nil))
- }
-
- func testOutOfBoundsReturnsNilAndDoesNotCrash() {
- let dataSource = NYTPhotosDataSource(photos: nil)
- let notAnObject: AnyObject? = dataSource[1]
- XCTAssertNil(notAnObject, "NYTDataSource should not crash after it was initialized with nil")
- }
-
- func testValidIndexReturnsPhoto() {
- let dataSource = NYTPhotosDataSource(photos: photos)
- XCTAssertNotNil(dataSource[1])
- }
-
- func testValidIndexReturnsCorrectPhoto() {
- let dataSource = NYTPhotosDataSource(photos: photos)
- XCTAssertEqual(photos[1], dataSource[1] as? ExamplePhoto)
- }
-}
diff --git a/Example/NYTPhotoViewer-SwiftTests/NYTPhotosOverlayViewTests.swift b/Example/NYTPhotoViewer-SwiftTests/NYTPhotosOverlayViewTests.swift
deleted file mode 100644
index 6f1e67e2..00000000
--- a/Example/NYTPhotoViewer-SwiftTests/NYTPhotosOverlayViewTests.swift
+++ /dev/null
@@ -1,46 +0,0 @@
-//
-// NYTPhotosOverlayViewTests.swift
-// NYTPhotoViewer
-//
-// Created by Mark Keefe on 3/21/15.
-// Copyright (c) 2015 The New York Times. All rights reserved.
-//
-
-import XCTest
-import UIKit
-
-class NYTPhotosOverlayViewTests: XCTestCase {
-
- func testNavigationBarExistsAfterInitialization() {
- let overlayView = NYTPhotosOverlayView()
- XCTAssertNotNil(overlayView.navigationBar)
- }
-
- func testLeftBarButtonItemSetterAffectsNavigationBar() {
- let overlayView = NYTPhotosOverlayView()
- let leftBarButtonItem = UIBarButtonItem(barButtonSystemItem: UIBarButtonSystemItem.Done, target: nil, action: nil)
- overlayView.leftBarButtonItem = leftBarButtonItem
- XCTAssert(leftBarButtonItem == overlayView.navigationBar.items?.first?.leftBarButtonItem)
- }
-
- func testRightBarButtonItemSetterAffectsNavigationBar() {
- let overlayView = NYTPhotosOverlayView()
- let rightBarButtonItem = UIBarButtonItem(barButtonSystemItem: UIBarButtonSystemItem.Done, target: nil, action: nil)
- overlayView.rightBarButtonItem = rightBarButtonItem
- XCTAssert(rightBarButtonItem == overlayView.navigationBar.items?.first?.rightBarButtonItem)
- }
-
- func testTitleSetterAffectsNavigationBar() {
- let overlayView = NYTPhotosOverlayView()
- let title = "title"
- overlayView.title = title
- XCTAssert(title == overlayView.navigationBar.items?.first?.title)
- }
-
- func testTitleTextAttributesSetterAffectsNavigationBar() {
- let overlayView = NYTPhotosOverlayView()
- let titleTextAttributes = [NSForegroundColorAttributeName: UIColor.orangeColor()]
- overlayView.titleTextAttributes = titleTextAttributes
- XCTAssertEqual(titleTextAttributes, overlayView.navigationBar.titleTextAttributes as? [String: UIColor])
- }
-}
diff --git a/Example/NYTPhotoViewer-SwiftTests/NYTPhotosViewControllerTests.swift b/Example/NYTPhotoViewer-SwiftTests/NYTPhotosViewControllerTests.swift
deleted file mode 100644
index ffdbd632..00000000
--- a/Example/NYTPhotoViewer-SwiftTests/NYTPhotosViewControllerTests.swift
+++ /dev/null
@@ -1,170 +0,0 @@
-//
-// NYTPhotosViewControllerTests.swift
-// NYTPhotoViewer
-//
-// Created by Mark Keefe on 3/21/15.
-// Copyright (c) 2015 The New York Times. All rights reserved.
-//
-
-import UIKit
-import XCTest
-
-class NYTPhotosViewControllerTests: XCTestCase {
-
- let photos: [ExamplePhoto] = PhotosProvider().photos
- var photosViewController: NYTPhotosViewController?
-
- override func setUp() {
- super.setUp()
- photosViewController = NYTPhotosViewController(photos: photos)
- }
-
- override func tearDown() {
- photosViewController = nil
- super.tearDown()
- }
-
- func testPanGestureRecognizerExistsAfterInitialization() {
- XCTAssertNotNil(photosViewController?.panGestureRecognizer)
- }
-
- func testPanGestureRecognizerHasAssociatedView() {
- XCTAssertNotNil(photosViewController?.panGestureRecognizer.view)
- }
-
- func testSingleTapGestureRecognizerExistsAfterInitialization() {
- XCTAssertNotNil(photosViewController?.singleTapGestureRecognizer)
- }
-
- func testSingleTapGestureRecognizerHasAssociatedView() {
- XCTAssertNotNil(photosViewController?.singleTapGestureRecognizer.view)
- }
-
- func testPageViewControllerExistsAfterInitialization() {
- XCTAssertNotNil(photosViewController?.pageViewController)
- }
-
- func testPageViewControllerDoesNotHaveAssociatedSuperviewBeforeViewLoads() {
- XCTAssertNil(photosViewController?.pageViewController.view.superview)
- }
-
- func testPageViewControllerHasAssociatedSuperviewAfterViewLoads() {
- photosViewController?.view = photosViewController?.view // Referencing the view loads it.
- XCTAssertNotNil(photosViewController?.pageViewController.view.superview)
- }
-
- func testCurrentlyDisplayedPhotoIsFirstAfterConvenienceInitialization() {
- XCTAssertEqual(photos.first!, photosViewController?.currentlyDisplayedPhoto as? ExamplePhoto)
- }
-
- func testCurrentlyDisplayedPhotoIsAccurateAfterSettingInitialPhoto() {
- photosViewController = NYTPhotosViewController(photos: photos, initialPhoto: photos.last)
- XCTAssertEqual(photos.last!, photosViewController?.currentlyDisplayedPhoto as? ExamplePhoto)
- }
-
- func testCurrentlyDisplayedPhotoIsAccurateAfterDisplayPhotoCall() {
- photosViewController = NYTPhotosViewController(photos: photos, initialPhoto: photos.last)
- photosViewController?.displayPhoto(photos.first, animated: false)
- XCTAssertEqual(photos.first!, photosViewController?.currentlyDisplayedPhoto as? ExamplePhoto)
- }
-
- func testLeftBarButtonItemIsPopulatedAfterInitialization() {
- XCTAssertNotNil(photosViewController?.leftBarButtonItem)
- }
-
- func testLeftBarButtonItemIsNilAfterSettingToNil() {
- photosViewController?.leftBarButtonItem = nil
- XCTAssertNil(photosViewController?.leftBarButtonItem)
- }
-
- func testRightBarButtonItemIsPopulatedAfterInitialization() {
- XCTAssertNotNil(photosViewController?.rightBarButtonItem)
- }
-
- func testRightBarButtonItemIsNilAfterSettingToNil() {
- photosViewController?.rightBarButtonItem = nil
- XCTAssertNil(photosViewController?.rightBarButtonItem)
- }
-
- func testConvenienceInitializerAcceptsNil() {
- XCTAssertNotNil(photosViewController)
- }
-
- func testDesignatedInitializerAcceptsNilForPhotosParameter() {
- photosViewController = NYTPhotosViewController(photos: nil, initialPhoto: photos.first)
- XCTAssertNotNil(photosViewController)
- }
-
- func testDesignatedInitializerAcceptsNilForInitialPhotoParameter() {
- photosViewController = NYTPhotosViewController(photos: photos, initialPhoto: nil)
-
- XCTAssertNotNil(photosViewController)
- }
-
- func testDesignatedInitializerAcceptsNilForBothParameters() {
- photosViewController = NYTPhotosViewController(photos: nil, initialPhoto: nil)
-
- XCTAssertNotNil(photosViewController)
- }
-
- func testDisplayPhotoAcceptsNil() {
- photosViewController?.displayPhoto(nil, animated: false)
- XCTAssertNotNil(photosViewController)
- }
-
- func testDisplayPhotoDoesNothingWhenPassedPhotoOutsideDataSource() {
- photosViewController = NYTPhotosViewController(photos: photos, initialPhoto: photos.first)
-
- let invalidPhoto = ExamplePhoto(attributedCaptionTitle: NSAttributedString(string: "title"))
-
- photosViewController?.displayPhoto(invalidPhoto as NYTPhoto, animated: false)
- XCTAssertEqual(photos.first!, photosViewController?.currentlyDisplayedPhoto as? ExamplePhoto)
- }
-
- func testDisplayPhotoMovesToCorrectPhoto() {
- photosViewController = NYTPhotosViewController(photos: photos, initialPhoto: photos.first)
- let photoToDisplay = photos[2]
-
- photosViewController?.displayPhoto(photoToDisplay, animated: false)
- XCTAssertEqual(photoToDisplay, photosViewController?.currentlyDisplayedPhoto as? ExamplePhoto)
- }
-
- func testUpdateImageForPhotoAcceptsNil() {
- photosViewController?.updateImageForPhoto(nil)
- XCTAssertNotNil(photosViewController)
- }
-
- func testUpdateImageForPhotoDoesNothingWhenPassedPhotoOutsideDataSource() {
- photosViewController = NYTPhotosViewController(photos: photos, initialPhoto: photos[CustomEverythingPhotoIndex])
- let invalidPhoto = ExamplePhoto(attributedCaptionTitle: NSAttributedString())
- invalidPhoto.image = UIImage()
-
- photosViewController?.updateImageForPhoto(invalidPhoto)
-
- if photos.count > CustomEverythingPhotoIndex {
- if let testImage = photos[CustomEverythingPhotoIndex].image {
- /** Swift 1.2
- * if photos.count > PhotosProvider.CustomEverythingPhotoIndex,
- * let testImage = photos[PhotosProvider.CustomEverythingPhotoIndex].image
- */
- if let currentlyDisplayedPhoto = photosViewController?.currentlyDisplayedPhoto {
- XCTAssertEqual(currentlyDisplayedPhoto.image, testImage)
- }
- }
- }
- }
-
- func testUpdateImageForPhotoUpdatesImage() {
- photosViewController = NYTPhotosViewController(photos: photos, initialPhoto: photos.first)
-
- if let photoToUpdate = photos.first {
- photoToUpdate.image = UIImage()
-
- photosViewController?.updateImageForPhoto(photoToUpdate)
-
- if let currentlyDisplayedPhoto = photosViewController?.currentlyDisplayedPhoto {
- XCTAssertEqual(currentlyDisplayedPhoto.image, photoToUpdate.image!)
- }
- }
- }
-}
diff --git a/Example/NYTPhotoViewer-SwiftTests/NYTScalingImageViewTests.swift b/Example/NYTPhotoViewer-SwiftTests/NYTScalingImageViewTests.swift
deleted file mode 100644
index 7516b5c6..00000000
--- a/Example/NYTPhotoViewer-SwiftTests/NYTScalingImageViewTests.swift
+++ /dev/null
@@ -1,39 +0,0 @@
-//
-// NYTScalingImageViewTests.swift
-// NYTPhotoViewer
-//
-// Created by Mark Keefe on 3/21/15.
-// Copyright (c) 2015 The New York Times. All rights reserved.
-//
-
-import XCTest
-
-class NYTScalingImageViewTests: XCTestCase {
-
- func testInitializationAcceptsNil() {
- let scalingImageView = NYTScalingImageView(image: nil, frame: CGRectZero)
- XCTAssertNotNil(scalingImageView)
- }
-
- func testImageViewExistsAfterInitialization() {
- let scalingImageView = NYTScalingImageView(image: nil, frame: CGRectZero)
- XCTAssertNotNil(scalingImageView.imageView);
- }
-
- func testInitializationSetsImage() {
- let image = UIImage()
- let scalingImageView = NYTScalingImageView(image: nil, frame: CGRectZero)
- if let scalingImage = scalingImageView.imageView.image {
- XCTAssertEqual(image, scalingImage)
- }
- }
-
- func testUpdateImageUpdatesImage() {
- let image2 = UIImage()
-
- let scalingImageView = NYTScalingImageView(image: nil, frame: CGRectZero)
- scalingImageView.updateImage(image2)
-
- XCTAssertEqual(image2, scalingImageView.imageView.image!)
- }
-}
diff --git a/Example/NYTPhotoViewer.xcodeproj/project.pbxproj b/Example/NYTPhotoViewer.xcodeproj/project.pbxproj
index 2d7ee24d..89cc551a 100644
--- a/Example/NYTPhotoViewer.xcodeproj/project.pbxproj
+++ b/Example/NYTPhotoViewer.xcodeproj/project.pbxproj
@@ -22,25 +22,14 @@
6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; };
6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; };
6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5B8195388D20070C39A /* InfoPlist.strings */; };
- 8C2AB3F31ABDF266004A2BBA /* NYTPhotosDataSourceTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8C2AB3F21ABDF266004A2BBA /* NYTPhotosDataSourceTests.swift */; };
- 8C2AB3F51ABDF959004A2BBA /* NYTPhotosViewControllerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8C2AB3F41ABDF959004A2BBA /* NYTPhotosViewControllerTests.swift */; };
8C4464E51ABCA3BA00BD79F1 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8C4464E41ABCA3BA00BD79F1 /* AppDelegate.swift */; };
8C4464E71ABCA3BA00BD79F1 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8C4464E61ABCA3BA00BD79F1 /* ViewController.swift */; };
8C4464EA1ABCA3BA00BD79F1 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8C4464E81ABCA3BA00BD79F1 /* Main.storyboard */; };
8C4464EF1ABCA3BA00BD79F1 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 8C4464ED1ABCA3BA00BD79F1 /* LaunchScreen.xib */; };
8C4465031ABCA95600BD79F1 /* PhotosProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8C4465021ABCA95600BD79F1 /* PhotosProvider.swift */; };
- 8C4465041ABCA95600BD79F1 /* PhotosProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8C4465021ABCA95600BD79F1 /* PhotosProvider.swift */; };
8C4465061ABCAAD100BD79F1 /* ExamplePhoto.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8C4465051ABCAAD100BD79F1 /* ExamplePhoto.swift */; };
- 8C4465071ABCAAD100BD79F1 /* ExamplePhoto.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8C4465051ABCAAD100BD79F1 /* ExamplePhoto.swift */; };
8C838AC51AC7777D00D754D3 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5A8195388D20070C39A /* Images.xcassets */; };
- 8CD283DE1ABE3B6400ADD109 /* NYTPhotoViewControllerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8CD283DD1ABE3B6400ADD109 /* NYTPhotoViewControllerTests.swift */; };
- 8CD283E01ABE43DC00ADD109 /* NYTPhotoCaptionViewTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8CD283DF1ABE43DC00ADD109 /* NYTPhotoCaptionViewTests.swift */; };
- 8CD283E21ABE455A00ADD109 /* NYTPhotosOverlayViewTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8CD283E11ABE455A00ADD109 /* NYTPhotosOverlayViewTests.swift */; };
- 8CD283E41ABE624200ADD109 /* NYTScalingImageViewTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8CD283E31ABE624200ADD109 /* NYTScalingImageViewTests.swift */; };
- 8CD283E61ABE6F6600ADD109 /* NYTPhotoTransitionAnimatorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8CD283E51ABE6F6600ADD109 /* NYTPhotoTransitionAnimatorTests.swift */; };
934B3EA91BD54CE400953DC1 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5A8195388D20070C39A /* Images.xcassets */; };
- 934B3EAA1BD54CE400953DC1 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5A8195388D20070C39A /* Images.xcassets */; };
- 94195E1720FF535F0D8447E6 /* libPods-NYTPhotoViewer-SwiftTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 03C738E753BE4DA373A7BC05 /* libPods-NYTPhotoViewer-SwiftTests.a */; };
955BE815A0B486203B80D541 /* libPods-NYTPhotoViewer.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1477DE9B8584BD5335F644E1 /* libPods-NYTPhotoViewer.a */; };
B5B252E11A8BE10B00E9973E /* NYTExamplePhoto.m in Sources */ = {isa = PBXBuildFile; fileRef = B5B252E01A8BE10B00E9973E /* NYTExamplePhoto.m */; };
B5DC9D821A9D04D300F4F81F /* NYTPhotosViewControllerTests.m in Sources */ = {isa = PBXBuildFile; fileRef = B5DC9D811A9D04D300F4F81F /* NYTPhotosViewControllerTests.m */; };
@@ -55,7 +44,6 @@
EC1B97111BA675DC00C9C9FD /* giphy.gif in Resources */ = {isa = PBXBuildFile; fileRef = EC1B97101BA675DC00C9C9FD /* giphy.gif */; };
EC1B97121BA675DC00C9C9FD /* giphy.gif in Resources */ = {isa = PBXBuildFile; fileRef = EC1B97101BA675DC00C9C9FD /* giphy.gif */; };
EC1B97131BA67E6700C9C9FD /* giphy.gif in Resources */ = {isa = PBXBuildFile; fileRef = EC1B97101BA675DC00C9C9FD /* giphy.gif */; };
- EC1B97141BA67E6700C9C9FD /* giphy.gif in Resources */ = {isa = PBXBuildFile; fileRef = EC1B97101BA675DC00C9C9FD /* giphy.gif */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
@@ -66,13 +54,6 @@
remoteGlobalIDString = 6003F589195388D20070C39A;
remoteInfo = "ios-photo-viewer";
};
- 8C4464F51ABCA3BA00BD79F1 /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 6003F582195388D10070C39A /* Project object */;
- proxyType = 1;
- remoteGlobalIDString = 8C4464DF1ABCA3BA00BD79F1;
- remoteInfo = "NYTPhotoViewer-Swift";
- };
/* End PBXContainerItemProxy section */
/* Begin PBXFileReference section */
@@ -106,8 +87,6 @@
6003F5B9195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; };
606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tests-Prefix.pch"; sourceTree = ""; };
72DCB731DCC658F46D0B619E /* Pods-Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-Tests/Pods-Tests.release.xcconfig"; sourceTree = ""; };
- 8C2AB3F21ABDF266004A2BBA /* NYTPhotosDataSourceTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NYTPhotosDataSourceTests.swift; sourceTree = ""; };
- 8C2AB3F41ABDF959004A2BBA /* NYTPhotosViewControllerTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NYTPhotosViewControllerTests.swift; sourceTree = ""; };
8C3F25531ABCE816007BFF4E /* NYTPhotoViewer-Swift-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NYTPhotoViewer-Swift-Bridging-Header.h"; sourceTree = ""; };
8C4464E01ABCA3BA00BD79F1 /* NYTPhotoViewer-Swift.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "NYTPhotoViewer-Swift.app"; sourceTree = BUILT_PRODUCTS_DIR; };
8C4464E31ABCA3BA00BD79F1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
@@ -115,15 +94,8 @@
8C4464E61ABCA3BA00BD79F1 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; };
8C4464E91ABCA3BA00BD79F1 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
8C4464EE1ABCA3BA00BD79F1 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
- 8C4464F41ABCA3BA00BD79F1 /* NYTPhotoViewer-SwiftTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "NYTPhotoViewer-SwiftTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
- 8C4464F91ABCA3BA00BD79F1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
8C4465021ABCA95600BD79F1 /* PhotosProvider.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PhotosProvider.swift; sourceTree = ""; };
8C4465051ABCAAD100BD79F1 /* ExamplePhoto.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ExamplePhoto.swift; sourceTree = ""; };
- 8CD283DD1ABE3B6400ADD109 /* NYTPhotoViewControllerTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NYTPhotoViewControllerTests.swift; sourceTree = ""; };
- 8CD283DF1ABE43DC00ADD109 /* NYTPhotoCaptionViewTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NYTPhotoCaptionViewTests.swift; sourceTree = ""; };
- 8CD283E11ABE455A00ADD109 /* NYTPhotosOverlayViewTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NYTPhotosOverlayViewTests.swift; sourceTree = ""; };
- 8CD283E31ABE624200ADD109 /* NYTScalingImageViewTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NYTScalingImageViewTests.swift; sourceTree = ""; };
- 8CD283E51ABE6F6600ADD109 /* NYTPhotoTransitionAnimatorTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NYTPhotoTransitionAnimatorTests.swift; sourceTree = ""; };
A2B2556D53F0690AADDF6739 /* Pods-NYTPhotoViewer-SwiftTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NYTPhotoViewer-SwiftTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-NYTPhotoViewer-SwiftTests/Pods-NYTPhotoViewer-SwiftTests.debug.xcconfig"; sourceTree = ""; };
B5B252DF1A8BE10B00E9973E /* NYTExamplePhoto.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NYTExamplePhoto.h; sourceTree = ""; };
B5B252E01A8BE10B00E9973E /* NYTExamplePhoto.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NYTExamplePhoto.m; sourceTree = ""; };
@@ -171,14 +143,6 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
- 8C4464F11ABCA3BA00BD79F1 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 94195E1720FF535F0D8447E6 /* libPods-NYTPhotoViewer-SwiftTests.a in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
@@ -190,7 +154,6 @@
6003F593195388D20070C39A /* NYTPhotoViewer */,
8C4464E11ABCA3BA00BD79F1 /* NYTPhotoViewer-Swift */,
6003F5B5195388D20070C39A /* Tests */,
- 8C4464F71ABCA3BA00BD79F1 /* NYTPhotoViewer-SwiftTests */,
6003F58C195388D20070C39A /* Frameworks */,
6003F58B195388D20070C39A /* Products */,
DC8AE5E7086B7FC6E4B5BE53 /* Pods */,
@@ -203,7 +166,6 @@
6003F58A195388D20070C39A /* NYTPhotoViewer.app */,
6003F5AE195388D20070C39A /* Tests.xctest */,
8C4464E01ABCA3BA00BD79F1 /* NYTPhotoViewer-Swift.app */,
- 8C4464F41ABCA3BA00BD79F1 /* NYTPhotoViewer-SwiftTests.xctest */,
);
name = Products;
sourceTree = "";
@@ -308,29 +270,6 @@
name = "Supporting Files";
sourceTree = "";
};
- 8C4464F71ABCA3BA00BD79F1 /* NYTPhotoViewer-SwiftTests */ = {
- isa = PBXGroup;
- children = (
- 8C2AB3F41ABDF959004A2BBA /* NYTPhotosViewControllerTests.swift */,
- 8CD283DD1ABE3B6400ADD109 /* NYTPhotoViewControllerTests.swift */,
- 8C2AB3F21ABDF266004A2BBA /* NYTPhotosDataSourceTests.swift */,
- 8CD283DF1ABE43DC00ADD109 /* NYTPhotoCaptionViewTests.swift */,
- 8CD283E11ABE455A00ADD109 /* NYTPhotosOverlayViewTests.swift */,
- 8CD283E31ABE624200ADD109 /* NYTScalingImageViewTests.swift */,
- 8CD283E51ABE6F6600ADD109 /* NYTPhotoTransitionAnimatorTests.swift */,
- 8C4464F81ABCA3BA00BD79F1 /* Supporting Files */,
- );
- path = "NYTPhotoViewer-SwiftTests";
- sourceTree = "";
- };
- 8C4464F81ABCA3BA00BD79F1 /* Supporting Files */ = {
- isa = PBXGroup;
- children = (
- 8C4464F91ABCA3BA00BD79F1 /* Info.plist */,
- );
- name = "Supporting Files";
- sourceTree = "";
- };
8C838AC41AC7774300D754D3 /* Common Resources */ = {
isa = PBXGroup;
children = (
@@ -418,27 +357,6 @@
productReference = 8C4464E01ABCA3BA00BD79F1 /* NYTPhotoViewer-Swift.app */;
productType = "com.apple.product-type.application";
};
- 8C4464F31ABCA3BA00BD79F1 /* NYTPhotoViewer-SwiftTests */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 8C4465011ABCA3BA00BD79F1 /* Build configuration list for PBXNativeTarget "NYTPhotoViewer-SwiftTests" */;
- buildPhases = (
- 77060F753544EBF4A399EF7E /* Check Pods Manifest.lock */,
- 8C4464F01ABCA3BA00BD79F1 /* Sources */,
- 8C4464F11ABCA3BA00BD79F1 /* Frameworks */,
- 8C4464F21ABCA3BA00BD79F1 /* Resources */,
- 9F9185D07ADDCE84D01D6062 /* Copy Pods Resources */,
- 4A3E2FF23078350CB8D4ECDB /* Embed Pods Frameworks */,
- );
- buildRules = (
- );
- dependencies = (
- 8C4464F61ABCA3BA00BD79F1 /* PBXTargetDependency */,
- );
- name = "NYTPhotoViewer-SwiftTests";
- productName = "NYTPhotoViewer-SwiftTests";
- productReference = 8C4464F41ABCA3BA00BD79F1 /* NYTPhotoViewer-SwiftTests.xctest */;
- productType = "com.apple.product-type.bundle.unit-test";
- };
/* End PBXNativeTarget section */
/* Begin PBXProject section */
@@ -456,10 +374,6 @@
8C4464DF1ABCA3BA00BD79F1 = {
CreatedOnToolsVersion = 6.3;
};
- 8C4464F31ABCA3BA00BD79F1 = {
- CreatedOnToolsVersion = 6.3;
- TestTargetID = 8C4464DF1ABCA3BA00BD79F1;
- };
};
};
buildConfigurationList = 6003F585195388D10070C39A /* Build configuration list for PBXProject "NYTPhotoViewer" */;
@@ -478,7 +392,6 @@
6003F589195388D20070C39A /* NYTPhotoViewer */,
6003F5AD195388D20070C39A /* Tests */,
8C4464DF1ABCA3BA00BD79F1 /* NYTPhotoViewer-Swift */,
- 8C4464F31ABCA3BA00BD79F1 /* NYTPhotoViewer-SwiftTests */,
);
};
/* End PBXProject section */
@@ -517,15 +430,6 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
- 8C4464F21ABCA3BA00BD79F1 /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- EC1B97141BA67E6700C9C9FD /* giphy.gif in Resources */,
- 934B3EAA1BD54CE400953DC1 /* Images.xcassets in Resources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
@@ -589,36 +493,6 @@
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-NYTPhotoViewer-Swift/Pods-NYTPhotoViewer-Swift-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
- 4A3E2FF23078350CB8D4ECDB /* Embed Pods Frameworks */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputPaths = (
- );
- name = "Embed Pods Frameworks";
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-NYTPhotoViewer-SwiftTests/Pods-NYTPhotoViewer-SwiftTests-frameworks.sh\"\n";
- showEnvVarsInLog = 0;
- };
- 77060F753544EBF4A399EF7E /* Check Pods Manifest.lock */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputPaths = (
- );
- name = "Check Pods Manifest.lock";
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
- showEnvVarsInLog = 0;
- };
87D1B9B97C179AA75901DB00 /* Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
@@ -649,21 +523,6 @@
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-NYTPhotoViewer/Pods-NYTPhotoViewer-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
- 9F9185D07ADDCE84D01D6062 /* Copy Pods Resources */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputPaths = (
- );
- name = "Copy Pods Resources";
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-NYTPhotoViewer-SwiftTests/Pods-NYTPhotoViewer-SwiftTests-resources.sh\"\n";
- showEnvVarsInLog = 0;
- };
B4CAEB715688F67681460AC0 /* Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
@@ -749,22 +608,6 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
- 8C4464F01ABCA3BA00BD79F1 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 8CD283E61ABE6F6600ADD109 /* NYTPhotoTransitionAnimatorTests.swift in Sources */,
- 8C2AB3F31ABDF266004A2BBA /* NYTPhotosDataSourceTests.swift in Sources */,
- 8CD283DE1ABE3B6400ADD109 /* NYTPhotoViewControllerTests.swift in Sources */,
- 8CD283E21ABE455A00ADD109 /* NYTPhotosOverlayViewTests.swift in Sources */,
- 8C2AB3F51ABDF959004A2BBA /* NYTPhotosViewControllerTests.swift in Sources */,
- 8C4465071ABCAAD100BD79F1 /* ExamplePhoto.swift in Sources */,
- 8CD283E01ABE43DC00ADD109 /* NYTPhotoCaptionViewTests.swift in Sources */,
- 8CD283E41ABE624200ADD109 /* NYTScalingImageViewTests.swift in Sources */,
- 8C4465041ABCA95600BD79F1 /* PhotosProvider.swift in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
@@ -773,11 +616,6 @@
target = 6003F589195388D20070C39A /* NYTPhotoViewer */;
targetProxy = 6003F5B3195388D20070C39A /* PBXContainerItemProxy */;
};
- 8C4464F61ABCA3BA00BD79F1 /* PBXTargetDependency */ = {
- isa = PBXTargetDependency;
- target = 8C4464DF1ABCA3BA00BD79F1 /* NYTPhotoViewer-Swift */;
- targetProxy = 8C4464F51ABCA3BA00BD79F1 /* PBXContainerItemProxy */;
- };
/* End PBXTargetDependency section */
/* Begin PBXVariantGroup section */
@@ -1023,60 +861,6 @@
};
name = Release;
};
- 8C4464FE1ABCA3BA00BD79F1 /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = A2B2556D53F0690AADDF6739 /* Pods-NYTPhotoViewer-SwiftTests.debug.xcconfig */;
- buildSettings = {
- BUNDLE_LOADER = "$(TEST_HOST)";
- CLANG_ENABLE_MODULES = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- FRAMEWORK_SEARCH_PATHS = (
- "$(SDKROOT)/Developer/Library/Frameworks",
- "$(inherited)",
- );
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- INFOPLIST_FILE = "NYTPhotoViewer-SwiftTests/Info.plist";
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
- MTL_ENABLE_DEBUG_INFO = YES;
- PRODUCT_BUNDLE_IDENTIFIER = "com.nytimes.$(PRODUCT_NAME:rfc1034identifier)";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SWIFT_OBJC_BRIDGING_HEADER = "NYTPhotoViewer-Swift/NYTPhotoViewer-Swift-Bridging-Header.h";
- SWIFT_OPTIMIZATION_LEVEL = "-Onone";
- TEST_HOST = "$(BUILT_PRODUCTS_DIR)/NYTPhotoViewer-Swift.app/NYTPhotoViewer-Swift";
- };
- name = Debug;
- };
- 8C4464FF1ABCA3BA00BD79F1 /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 49CD4B2FD524DCA01A37028A /* Pods-NYTPhotoViewer-SwiftTests.release.xcconfig */;
- buildSettings = {
- BUNDLE_LOADER = "$(TEST_HOST)";
- CLANG_ENABLE_MODULES = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- COPY_PHASE_STRIP = NO;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- FRAMEWORK_SEARCH_PATHS = (
- "$(SDKROOT)/Developer/Library/Frameworks",
- "$(inherited)",
- );
- GCC_NO_COMMON_BLOCKS = YES;
- INFOPLIST_FILE = "NYTPhotoViewer-SwiftTests/Info.plist";
- LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
- MTL_ENABLE_DEBUG_INFO = NO;
- PRODUCT_BUNDLE_IDENTIFIER = "com.nytimes.$(PRODUCT_NAME:rfc1034identifier)";
- PRODUCT_NAME = "$(TARGET_NAME)";
- SWIFT_OBJC_BRIDGING_HEADER = "NYTPhotoViewer-Swift/NYTPhotoViewer-Swift-Bridging-Header.h";
- TEST_HOST = "$(BUILT_PRODUCTS_DIR)/NYTPhotoViewer-Swift.app/NYTPhotoViewer-Swift";
- };
- name = Release;
- };
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
@@ -1116,15 +900,6 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
- 8C4465011ABCA3BA00BD79F1 /* Build configuration list for PBXNativeTarget "NYTPhotoViewer-SwiftTests" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 8C4464FE1ABCA3BA00BD79F1 /* Debug */,
- 8C4464FF1ABCA3BA00BD79F1 /* Release */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
/* End XCConfigurationList section */
};
rootObject = 6003F582195388D10070C39A /* Project object */;