From c30f1311db61701f63337ef89021d574f7e2fb1c Mon Sep 17 00:00:00 2001 From: Nicholas Shipes Date: Sun, 10 May 2015 09:37:41 -0700 Subject: [PATCH] Added Swift demo project --- .../Resources/animated_thumb.jpg | Bin .../Resources/panorama.jpg | Bin .../Resources/panorama_vert.jpg | Bin .../Resources/raceforfood.jpg | Bin .../Resources/seattle01.jpg | Bin ...ViewControllerDemo-Swift-Bridging-Header.h | 5 + .../project.pbxproj | 329 ++++++++++++++++++ .../AppDelegate.swift | 55 +++ .../Base.lproj/LaunchScreen.xib | 41 +++ .../AppIcon.appiconset/Contents.json | 68 ++++ .../Info.plist | 47 +++ .../ViewController.swift | 169 +++++++++ .../project.pbxproj | 46 +-- URBMediaFocusViewController.podspec | 2 +- 14 files changed, 738 insertions(+), 24 deletions(-) rename SampleProject/{URBMediaFocusViewControllerDemo => }/Resources/animated_thumb.jpg (100%) rename SampleProject/{URBMediaFocusViewControllerDemo => }/Resources/panorama.jpg (100%) rename SampleProject/{URBMediaFocusViewControllerDemo => }/Resources/panorama_vert.jpg (100%) rename SampleProject/{URBMediaFocusViewControllerDemo => }/Resources/raceforfood.jpg (100%) rename SampleProject/{URBMediaFocusViewControllerDemo => }/Resources/seattle01.jpg (100%) create mode 100644 SampleProject/URBMediaFocusViewControllerDemo-Swift/URBMediaFocusViewControllerDemo-Swift-Bridging-Header.h create mode 100644 SampleProject/URBMediaFocusViewControllerDemo-Swift/URBMediaFocusViewControllerDemo-Swift.xcodeproj/project.pbxproj create mode 100644 SampleProject/URBMediaFocusViewControllerDemo-Swift/URBMediaFocusViewControllerDemo-Swift/AppDelegate.swift create mode 100644 SampleProject/URBMediaFocusViewControllerDemo-Swift/URBMediaFocusViewControllerDemo-Swift/Base.lproj/LaunchScreen.xib create mode 100644 SampleProject/URBMediaFocusViewControllerDemo-Swift/URBMediaFocusViewControllerDemo-Swift/Images.xcassets/AppIcon.appiconset/Contents.json create mode 100644 SampleProject/URBMediaFocusViewControllerDemo-Swift/URBMediaFocusViewControllerDemo-Swift/Info.plist create mode 100644 SampleProject/URBMediaFocusViewControllerDemo-Swift/URBMediaFocusViewControllerDemo-Swift/ViewController.swift diff --git a/SampleProject/URBMediaFocusViewControllerDemo/Resources/animated_thumb.jpg b/SampleProject/Resources/animated_thumb.jpg similarity index 100% rename from SampleProject/URBMediaFocusViewControllerDemo/Resources/animated_thumb.jpg rename to SampleProject/Resources/animated_thumb.jpg diff --git a/SampleProject/URBMediaFocusViewControllerDemo/Resources/panorama.jpg b/SampleProject/Resources/panorama.jpg similarity index 100% rename from SampleProject/URBMediaFocusViewControllerDemo/Resources/panorama.jpg rename to SampleProject/Resources/panorama.jpg diff --git a/SampleProject/URBMediaFocusViewControllerDemo/Resources/panorama_vert.jpg b/SampleProject/Resources/panorama_vert.jpg similarity index 100% rename from SampleProject/URBMediaFocusViewControllerDemo/Resources/panorama_vert.jpg rename to SampleProject/Resources/panorama_vert.jpg diff --git a/SampleProject/URBMediaFocusViewControllerDemo/Resources/raceforfood.jpg b/SampleProject/Resources/raceforfood.jpg similarity index 100% rename from SampleProject/URBMediaFocusViewControllerDemo/Resources/raceforfood.jpg rename to SampleProject/Resources/raceforfood.jpg diff --git a/SampleProject/URBMediaFocusViewControllerDemo/Resources/seattle01.jpg b/SampleProject/Resources/seattle01.jpg similarity index 100% rename from SampleProject/URBMediaFocusViewControllerDemo/Resources/seattle01.jpg rename to SampleProject/Resources/seattle01.jpg diff --git a/SampleProject/URBMediaFocusViewControllerDemo-Swift/URBMediaFocusViewControllerDemo-Swift-Bridging-Header.h b/SampleProject/URBMediaFocusViewControllerDemo-Swift/URBMediaFocusViewControllerDemo-Swift-Bridging-Header.h new file mode 100644 index 0000000..adb1b74 --- /dev/null +++ b/SampleProject/URBMediaFocusViewControllerDemo-Swift/URBMediaFocusViewControllerDemo-Swift-Bridging-Header.h @@ -0,0 +1,5 @@ +// +// Use this file to import your target's public headers that you would like to expose to Swift. +// + +#import "URBMediaFocusViewController.h" \ No newline at end of file diff --git a/SampleProject/URBMediaFocusViewControllerDemo-Swift/URBMediaFocusViewControllerDemo-Swift.xcodeproj/project.pbxproj b/SampleProject/URBMediaFocusViewControllerDemo-Swift/URBMediaFocusViewControllerDemo-Swift.xcodeproj/project.pbxproj new file mode 100644 index 0000000..7c7d7b7 --- /dev/null +++ b/SampleProject/URBMediaFocusViewControllerDemo-Swift/URBMediaFocusViewControllerDemo-Swift.xcodeproj/project.pbxproj @@ -0,0 +1,329 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 2B4C5B6D1ADB34B30039599D /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2B4C5B6C1ADB34B30039599D /* AppDelegate.swift */; }; + 2B4C5B6F1ADB34B30039599D /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2B4C5B6E1ADB34B30039599D /* ViewController.swift */; }; + 2B4C5B741ADB34B30039599D /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 2B4C5B731ADB34B30039599D /* Images.xcassets */; }; + 2B4C5B771ADB34B30039599D /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 2B4C5B751ADB34B30039599D /* LaunchScreen.xib */; }; + 2B4C5B8F1ADB35730039599D /* URBMediaFocusViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 2B4C5B8E1ADB35730039599D /* URBMediaFocusViewController.m */; }; + 2B4C5B971ADB3F300039599D /* animated_thumb.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 2B4C5B921ADB3F300039599D /* animated_thumb.jpg */; }; + 2B4C5B981ADB3F300039599D /* panorama.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 2B4C5B931ADB3F300039599D /* panorama.jpg */; }; + 2B4C5B991ADB3F300039599D /* panorama_vert.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 2B4C5B941ADB3F300039599D /* panorama_vert.jpg */; }; + 2B4C5B9A1ADB3F300039599D /* raceforfood.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 2B4C5B951ADB3F300039599D /* raceforfood.jpg */; }; + 2B4C5B9B1ADB3F300039599D /* seattle01.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 2B4C5B961ADB3F300039599D /* seattle01.jpg */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 2B4C5B671ADB34B30039599D /* URBMediaFocusViewControllerDemo-Swift.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "URBMediaFocusViewControllerDemo-Swift.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + 2B4C5B6B1ADB34B30039599D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 2B4C5B6C1ADB34B30039599D /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 2B4C5B6E1ADB34B30039599D /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + 2B4C5B731ADB34B30039599D /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; + 2B4C5B761ADB34B30039599D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; + 2B4C5B8C1ADB35720039599D /* URBMediaFocusViewControllerDemo-Swift-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "URBMediaFocusViewControllerDemo-Swift-Bridging-Header.h"; sourceTree = SOURCE_ROOT; }; + 2B4C5B8D1ADB35730039599D /* URBMediaFocusViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = URBMediaFocusViewController.h; path = ../../URBMediaFocusViewController.h; sourceTree = ""; }; + 2B4C5B8E1ADB35730039599D /* URBMediaFocusViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = URBMediaFocusViewController.m; path = ../../URBMediaFocusViewController.m; sourceTree = ""; }; + 2B4C5B921ADB3F300039599D /* animated_thumb.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = animated_thumb.jpg; sourceTree = ""; }; + 2B4C5B931ADB3F300039599D /* panorama.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = panorama.jpg; sourceTree = ""; }; + 2B4C5B941ADB3F300039599D /* panorama_vert.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = panorama_vert.jpg; sourceTree = ""; }; + 2B4C5B951ADB3F300039599D /* raceforfood.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = raceforfood.jpg; sourceTree = ""; }; + 2B4C5B961ADB3F300039599D /* seattle01.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = seattle01.jpg; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 2B4C5B641ADB34B30039599D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 2B4C5B5E1ADB34B30039599D = { + isa = PBXGroup; + children = ( + 2B4C5B8D1ADB35730039599D /* URBMediaFocusViewController.h */, + 2B4C5B8E1ADB35730039599D /* URBMediaFocusViewController.m */, + 2B4C5B691ADB34B30039599D /* URBMediaFocusViewControllerDemo-Swift */, + 2B4C5B681ADB34B30039599D /* Products */, + ); + sourceTree = ""; + }; + 2B4C5B681ADB34B30039599D /* Products */ = { + isa = PBXGroup; + children = ( + 2B4C5B671ADB34B30039599D /* URBMediaFocusViewControllerDemo-Swift.app */, + ); + name = Products; + sourceTree = ""; + }; + 2B4C5B691ADB34B30039599D /* URBMediaFocusViewControllerDemo-Swift */ = { + isa = PBXGroup; + children = ( + 2B4C5B8C1ADB35720039599D /* URBMediaFocusViewControllerDemo-Swift-Bridging-Header.h */, + 2B4C5B6C1ADB34B30039599D /* AppDelegate.swift */, + 2B4C5B6E1ADB34B30039599D /* ViewController.swift */, + 2B4C5B731ADB34B30039599D /* Images.xcassets */, + 2B4C5B751ADB34B30039599D /* LaunchScreen.xib */, + 2B4C5B911ADB3F300039599D /* Resources */, + 2B4C5B6A1ADB34B30039599D /* Supporting Files */, + ); + path = "URBMediaFocusViewControllerDemo-Swift"; + sourceTree = ""; + }; + 2B4C5B6A1ADB34B30039599D /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 2B4C5B6B1ADB34B30039599D /* Info.plist */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + 2B4C5B911ADB3F300039599D /* Resources */ = { + isa = PBXGroup; + children = ( + 2B4C5B921ADB3F300039599D /* animated_thumb.jpg */, + 2B4C5B931ADB3F300039599D /* panorama.jpg */, + 2B4C5B941ADB3F300039599D /* panorama_vert.jpg */, + 2B4C5B951ADB3F300039599D /* raceforfood.jpg */, + 2B4C5B961ADB3F300039599D /* seattle01.jpg */, + ); + name = Resources; + path = ../../Resources; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 2B4C5B661ADB34B30039599D /* URBMediaFocusViewControllerDemo-Swift */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2B4C5B861ADB34B30039599D /* Build configuration list for PBXNativeTarget "URBMediaFocusViewControllerDemo-Swift" */; + buildPhases = ( + 2B4C5B631ADB34B30039599D /* Sources */, + 2B4C5B641ADB34B30039599D /* Frameworks */, + 2B4C5B651ADB34B30039599D /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "URBMediaFocusViewControllerDemo-Swift"; + productName = "URBMediaFocusViewControllerDemo-Swift"; + productReference = 2B4C5B671ADB34B30039599D /* URBMediaFocusViewControllerDemo-Swift.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 2B4C5B5F1ADB34B30039599D /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0630; + ORGANIZATIONNAME = "Urban10 Interactive, LLC"; + TargetAttributes = { + 2B4C5B661ADB34B30039599D = { + CreatedOnToolsVersion = 6.3; + }; + }; + }; + buildConfigurationList = 2B4C5B621ADB34B30039599D /* Build configuration list for PBXProject "URBMediaFocusViewControllerDemo-Swift" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 2B4C5B5E1ADB34B30039599D; + productRefGroup = 2B4C5B681ADB34B30039599D /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 2B4C5B661ADB34B30039599D /* URBMediaFocusViewControllerDemo-Swift */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 2B4C5B651ADB34B30039599D /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2B4C5B9A1ADB3F300039599D /* raceforfood.jpg in Resources */, + 2B4C5B771ADB34B30039599D /* LaunchScreen.xib in Resources */, + 2B4C5B741ADB34B30039599D /* Images.xcassets in Resources */, + 2B4C5B991ADB3F300039599D /* panorama_vert.jpg in Resources */, + 2B4C5B981ADB3F300039599D /* panorama.jpg in Resources */, + 2B4C5B971ADB3F300039599D /* animated_thumb.jpg in Resources */, + 2B4C5B9B1ADB3F300039599D /* seattle01.jpg in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 2B4C5B631ADB34B30039599D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2B4C5B6F1ADB34B30039599D /* ViewController.swift in Sources */, + 2B4C5B8F1ADB35730039599D /* URBMediaFocusViewController.m in Sources */, + 2B4C5B6D1ADB34B30039599D /* AppDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 2B4C5B751ADB34B30039599D /* LaunchScreen.xib */ = { + isa = PBXVariantGroup; + children = ( + 2B4C5B761ADB34B30039599D /* Base */, + ); + name = LaunchScreen.xib; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 2B4C5B841ADB34B30039599D /* 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; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + 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.3; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 2B4C5B851ADB34B30039599D /* 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 = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + 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.3; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 2B4C5B871ADB34B30039599D /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + INFOPLIST_FILE = "URBMediaFocusViewControllerDemo-Swift/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_OBJC_BRIDGING_HEADER = "URBMediaFocusViewControllerDemo-Swift-Bridging-Header.h"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 2B4C5B881ADB34B30039599D /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + INFOPLIST_FILE = "URBMediaFocusViewControllerDemo-Swift/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_OBJC_BRIDGING_HEADER = "URBMediaFocusViewControllerDemo-Swift-Bridging-Header.h"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 2B4C5B621ADB34B30039599D /* Build configuration list for PBXProject "URBMediaFocusViewControllerDemo-Swift" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2B4C5B841ADB34B30039599D /* Debug */, + 2B4C5B851ADB34B30039599D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 2B4C5B861ADB34B30039599D /* Build configuration list for PBXNativeTarget "URBMediaFocusViewControllerDemo-Swift" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2B4C5B871ADB34B30039599D /* Debug */, + 2B4C5B881ADB34B30039599D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 2B4C5B5F1ADB34B30039599D /* Project object */; +} diff --git a/SampleProject/URBMediaFocusViewControllerDemo-Swift/URBMediaFocusViewControllerDemo-Swift/AppDelegate.swift b/SampleProject/URBMediaFocusViewControllerDemo-Swift/URBMediaFocusViewControllerDemo-Swift/AppDelegate.swift new file mode 100644 index 0000000..3b30a9e --- /dev/null +++ b/SampleProject/URBMediaFocusViewControllerDemo-Swift/URBMediaFocusViewControllerDemo-Swift/AppDelegate.swift @@ -0,0 +1,55 @@ +// +// AppDelegate.swift +// URBMediaFocusViewControllerDemo-Swift +// +// Created by Nicholas Shipes on 4/12/15. +// Copyright (c) 2015 Urban10 Interactive, LLC. All rights reserved. +// + +import UIKit + +@UIApplicationMain +class AppDelegate: UIResponder, UIApplicationDelegate { + + var window: UIWindow? + + + func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { + + self.window = UIWindow(frame: UIScreen.mainScreen().bounds) + + let controller: UIViewController = ViewController(nibName: nil, bundle: nil) + let navController: UINavigationController = UINavigationController(rootViewController: controller) + self.window?.rootViewController = navController + + self.window?.backgroundColor = UIColor.whiteColor() + self.window?.makeKeyAndVisible() + + return true + } + + func applicationWillResignActive(application: UIApplication) { + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. + } + + func applicationDidEnterBackground(application: UIApplication) { + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. + } + + func applicationWillEnterForeground(application: UIApplication) { + // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. + } + + func applicationDidBecomeActive(application: UIApplication) { + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. + } + + func applicationWillTerminate(application: UIApplication) { + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. + } + + +} + diff --git a/SampleProject/URBMediaFocusViewControllerDemo-Swift/URBMediaFocusViewControllerDemo-Swift/Base.lproj/LaunchScreen.xib b/SampleProject/URBMediaFocusViewControllerDemo-Swift/URBMediaFocusViewControllerDemo-Swift/Base.lproj/LaunchScreen.xib new file mode 100644 index 0000000..d7c3592 --- /dev/null +++ b/SampleProject/URBMediaFocusViewControllerDemo-Swift/URBMediaFocusViewControllerDemo-Swift/Base.lproj/LaunchScreen.xib @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SampleProject/URBMediaFocusViewControllerDemo-Swift/URBMediaFocusViewControllerDemo-Swift/Images.xcassets/AppIcon.appiconset/Contents.json b/SampleProject/URBMediaFocusViewControllerDemo-Swift/URBMediaFocusViewControllerDemo-Swift/Images.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..36d2c80 --- /dev/null +++ b/SampleProject/URBMediaFocusViewControllerDemo-Swift/URBMediaFocusViewControllerDemo-Swift/Images.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,68 @@ +{ + "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" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/SampleProject/URBMediaFocusViewControllerDemo-Swift/URBMediaFocusViewControllerDemo-Swift/Info.plist b/SampleProject/URBMediaFocusViewControllerDemo-Swift/URBMediaFocusViewControllerDemo-Swift/Info.plist new file mode 100644 index 0000000..72436cf --- /dev/null +++ b/SampleProject/URBMediaFocusViewControllerDemo-Swift/URBMediaFocusViewControllerDemo-Swift/Info.plist @@ -0,0 +1,47 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + com.urban10.$(PRODUCT_NAME:rfc1034identifier) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + LSRequiresIPhoneOS + + UILaunchStoryboardName + LaunchScreen + UIMainStoryboardFile + Main + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/SampleProject/URBMediaFocusViewControllerDemo-Swift/URBMediaFocusViewControllerDemo-Swift/ViewController.swift b/SampleProject/URBMediaFocusViewControllerDemo-Swift/URBMediaFocusViewControllerDemo-Swift/ViewController.swift new file mode 100644 index 0000000..37ee641 --- /dev/null +++ b/SampleProject/URBMediaFocusViewControllerDemo-Swift/URBMediaFocusViewControllerDemo-Swift/ViewController.swift @@ -0,0 +1,169 @@ +// +// ViewController.swift +// URBMediaFocusViewControllerDemo-Swift +// +// Created by Nicholas Shipes on 4/12/15. +// Copyright (c) 2015 Urban10 Interactive, LLC. All rights reserved. +// + +import UIKit + +class ViewController: UIViewController, URBMediaFocusViewControllerDelegate, NSURLConnectionDataDelegate { + + var mediaFocusController: URBMediaFocusViewController? + + var thumbnailView: UIImageView? + var remoteThumbnailView: UIImageView? + var localThumbnailView: UIImageView? + var panoramaThumbnailView: UIImageView? + var verticalPanoramaThumbnailView: UIImageView? + var animatedThumbnailView: UIImageView? + + var remoteData: NSMutableData? + var connection: NSURLConnection? + + override func viewDidLoad() { + super.viewDidLoad() + + if (self.respondsToSelector(Selector("edgesForExtendedLayout"))) { + self.edgesForExtendedLayout = UIRectEdge.None + } + + if (self.respondsToSelector(Selector("extendedLayoutIncludesOpaqueBars"))) { + self.extendedLayoutIncludesOpaqueBars = true + } + + self.mediaFocusController = URBMediaFocusViewController() + if let focusController = self.mediaFocusController { + focusController.delegate = self +// focusController.shouldBlurBackground = false +// focusController.parallaxEnabled = false +// focusController.shouldDismissOnTap = false +// focusController.shouldDismissOnImageTap = true +// focusController.allowSwipeOnBackgroundView = false + } + + self.thumbnailView = self.thumbnailViewWithOrigin(CGPointMake(20, 20)) + self.thumbnailView!.image = UIImage(named: "seattle01.jpg") + + var thumbView: UIImageView = self.thumbnailView! + self.remoteThumbnailView = self.thumbnailViewWithOrigin(CGPointMake(CGRectGetMinX(thumbView.frame), CGRectGetMaxY(thumbView.frame) + 20)) + + self.localThumbnailView = self.thumbnailViewWithOrigin(CGPointMake(CGRectGetMinX(thumbView.frame), CGRectGetMaxY(self.remoteThumbnailView!.frame) + 20)) + self.localThumbnailView!.image = UIImage(named: "raceforfood.jpg") + + self.panoramaThumbnailView = self.thumbnailViewWithOrigin(CGPointMake(CGRectGetMinX(thumbView.frame), CGRectGetMaxY(self.localThumbnailView!.frame) + 20)) + self.panoramaThumbnailView!.image = UIImage(named: "panorama.jpg") + + self.verticalPanoramaThumbnailView = self.thumbnailViewWithOrigin(CGPointMake(CGRectGetMaxX(thumbView.frame) + 30, CGRectGetMinY(thumbView.frame))) + self.verticalPanoramaThumbnailView!.image = UIImage(named: "panorama_vert.jpg") + + self.animatedThumbnailView = self.thumbnailViewWithOrigin(CGPointMake(CGRectGetMaxX(thumbView.frame) + 30, CGRectGetMaxY(self.verticalPanoramaThumbnailView!.frame) + 30)) + self.animatedThumbnailView!.image = UIImage(named: "animated_thumb.jpg") + + } + + override func viewDidAppear(animated: Bool) { + super.viewDidAppear(animated) + + if (self.remoteThumbnailView!.image == nil) { + var remoteImageURL: NSURL = NSURL(string: "http://apollo.urban10.net/random/oiab/01_thumb.jpg")! + var request: NSURLRequest = NSURLRequest(URL: remoteImageURL, cachePolicy: NSURLRequestCachePolicy.ReturnCacheDataElseLoad, timeoutInterval: 10) + + if (self.connection == nil) { + self.connection = NSURLConnection(request: request, delegate: self, startImmediately: false) + } + self.remoteData = NSMutableData() + self.connection!.start(); + } + } + + override func didReceiveMemoryWarning() { + super.didReceiveMemoryWarning() + // Dispose of any resources that can be recreated. + } + + private func thumbnailViewWithOrigin(origin: CGPoint) -> UIImageView? { + var imageView: UIImageView = UIImageView(frame: CGRectMake(origin.x, origin.y, 100.0, 100.0)) + imageView.backgroundColor = UIColor.darkGrayColor() + imageView.contentMode = UIViewContentMode.ScaleAspectFill + imageView.clipsToBounds = true + imageView.userInteractionEnabled = true + self.view.addSubview(imageView) + + self.addTapGestureToView(imageView) + + return imageView; + } + + private func addTapGestureToView(view: UIView) { + var tapRecognizer: UITapGestureRecognizer = UITapGestureRecognizer(target: self, action: "showFocusView:") + tapRecognizer.numberOfTapsRequired = 1 + tapRecognizer.numberOfTouchesRequired = 1 + view.addGestureRecognizer(tapRecognizer) + } + + func showFocusView(gestureRecognizer: UITapGestureRecognizer) { + if (gestureRecognizer.view == self.localThumbnailView) { + self.mediaFocusController?.showImage(UIImage(named: "raceforfood.jpg"), fromView: gestureRecognizer.view) + } + else if (gestureRecognizer.view == self.panoramaThumbnailView) { + self.mediaFocusController?.showImage(UIImage(named: "panorama.jpg"), fromView: gestureRecognizer.view) + } + else if (gestureRecognizer.view == self.verticalPanoramaThumbnailView) { + self.mediaFocusController?.showImage(UIImage(named: "panorama_vert.jpg"), fromView: gestureRecognizer.view) + } + else { + var url: NSURL?; + if (gestureRecognizer.view == self.remoteThumbnailView) { + url = NSURL(string: "http://apollo.urban10.net/random/oiab/01.jpg") + } + else if (gestureRecognizer.view == self.localThumbnailView) { + url = NSURL(string: "http://farm3.staticflickr.com/2109/5763011359_f371b21fc9_b.jpg") + } + else if (gestureRecognizer.view == self.animatedThumbnailView) { + url = NSURL(string: "http://s3-ec.buzzfed.com/static/enhanced/webdr02/2012/12/19/13/anigif_enhanced-buzz-8195-1355941233-2.gif") + } + else { + url = NSURL(string: "http://farm3.staticflickr.com/2109/5763011359_f371b21fc9_b.jpg") + } + + self.mediaFocusController?.showImageFromURL(url, fromView: gestureRecognizer.view) + + // alternative method adding the focus view to this controller's view + //self.mediaFocusController?.showImageFromURL(url, fromView: gestureRecognizer.view, inViewController: self) + } + } + + // URBMediaFocusViewControllerDelegate + + func mediaFocusViewControllerDidAppear(mediaFocusViewController: URBMediaFocusViewController!) { + println("focus view appeared") + } + + func mediaFocusViewControllerDidDisappear(mediaFocusViewController: URBMediaFocusViewController!) { + println("focus view disappeared") + } + + func mediaFocusViewController(mediaFocusViewController: URBMediaFocusViewController!, didFinishLoadingImage image: UIImage!) { + println("focus view finished loading image") + } + + func mediaFocusViewController(mediaFocusViewController: URBMediaFocusViewController!, didFailLoadingImageWithError error: NSError!) { + println("focus view failed loading image: \(error)") + } + + // NSURLConnectionDelegate + + func connection(connection: NSURLConnection, didReceiveData data: NSData) { + self.remoteData?.appendData(data) + } + + func connectionDidFinishLoading(connection: NSURLConnection) { + if let imageData = self.remoteData { + self.remoteThumbnailView?.image = UIImage(data: imageData) + } + } + +} + diff --git a/SampleProject/URBMediaFocusViewControllerDemo.xcodeproj/project.pbxproj b/SampleProject/URBMediaFocusViewControllerDemo.xcodeproj/project.pbxproj index 517f0ac..0076d9f 100644 --- a/SampleProject/URBMediaFocusViewControllerDemo.xcodeproj/project.pbxproj +++ b/SampleProject/URBMediaFocusViewControllerDemo.xcodeproj/project.pbxproj @@ -15,14 +15,14 @@ 2B0745811826C6020092FA56 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 2B0745801826C6020092FA56 /* AppDelegate.m */; }; 2B0745831826C6020092FA56 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 2B0745821826C6020092FA56 /* Images.xcassets */; }; 2B0745A41826CBAB0092FA56 /* DemoViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 2B0745A31826CBAB0092FA56 /* DemoViewController.m */; }; - 2B0745A71826D0E00092FA56 /* seattle01.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 2B0745A61826D0E00092FA56 /* seattle01.jpg */; }; 2B0745AA182729AF0092FA56 /* URBMediaFocusViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 2B0745A9182729AF0092FA56 /* URBMediaFocusViewController.m */; }; - 2B18684B183C758500539B97 /* raceforfood.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 2B18684A183C758500539B97 /* raceforfood.jpg */; }; - 2B18684D183C852900539B97 /* panorama.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 2B18684C183C852900539B97 /* panorama.jpg */; }; - 2B18684F183C869300539B97 /* panorama_vert.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 2B18684E183C869300539B97 /* panorama_vert.jpg */; }; - 2B407B1018FCE6DC00D1608E /* animated_thumb.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 2B407B0F18FCE6DB00D1608E /* animated_thumb.jpg */; }; 2B7013ED1A3FBA80009A0D6E /* CoreImage.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2B7013EC1A3FBA80009A0D6E /* CoreImage.framework */; }; 2B82035018E65C8900610831 /* AssetsLibrary.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2B82034F18E65C8900610831 /* AssetsLibrary.framework */; }; + 2BB639B31AFFB3B2000271C9 /* animated_thumb.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 2BB639AE1AFFB3B2000271C9 /* animated_thumb.jpg */; }; + 2BB639B41AFFB3B2000271C9 /* panorama.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 2BB639AF1AFFB3B2000271C9 /* panorama.jpg */; }; + 2BB639B51AFFB3B2000271C9 /* panorama_vert.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 2BB639B01AFFB3B2000271C9 /* panorama_vert.jpg */; }; + 2BB639B61AFFB3B2000271C9 /* raceforfood.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 2BB639B11AFFB3B2000271C9 /* raceforfood.jpg */; }; + 2BB639B71AFFB3B2000271C9 /* seattle01.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 2BB639B21AFFB3B2000271C9 /* seattle01.jpg */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ @@ -40,15 +40,15 @@ 2B0745891826C6020092FA56 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; 2B0745A21826CBAB0092FA56 /* DemoViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DemoViewController.h; sourceTree = ""; }; 2B0745A31826CBAB0092FA56 /* DemoViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DemoViewController.m; sourceTree = ""; }; - 2B0745A61826D0E00092FA56 /* seattle01.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = seattle01.jpg; sourceTree = ""; }; 2B0745A8182729AF0092FA56 /* URBMediaFocusViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = URBMediaFocusViewController.h; path = ../URBMediaFocusViewController.h; sourceTree = ""; }; 2B0745A9182729AF0092FA56 /* URBMediaFocusViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = URBMediaFocusViewController.m; path = ../URBMediaFocusViewController.m; sourceTree = ""; }; - 2B18684A183C758500539B97 /* raceforfood.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = raceforfood.jpg; sourceTree = ""; }; - 2B18684C183C852900539B97 /* panorama.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = panorama.jpg; sourceTree = ""; }; - 2B18684E183C869300539B97 /* panorama_vert.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = panorama_vert.jpg; sourceTree = ""; }; - 2B407B0F18FCE6DB00D1608E /* animated_thumb.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = animated_thumb.jpg; sourceTree = ""; }; 2B7013EC1A3FBA80009A0D6E /* CoreImage.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreImage.framework; path = System/Library/Frameworks/CoreImage.framework; sourceTree = SDKROOT; }; 2B82034F18E65C8900610831 /* AssetsLibrary.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AssetsLibrary.framework; path = System/Library/Frameworks/AssetsLibrary.framework; sourceTree = SDKROOT; }; + 2BB639AE1AFFB3B2000271C9 /* animated_thumb.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = animated_thumb.jpg; sourceTree = ""; }; + 2BB639AF1AFFB3B2000271C9 /* panorama.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = panorama.jpg; sourceTree = ""; }; + 2BB639B01AFFB3B2000271C9 /* panorama_vert.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = panorama_vert.jpg; sourceTree = ""; }; + 2BB639B11AFFB3B2000271C9 /* raceforfood.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = raceforfood.jpg; sourceTree = ""; }; + 2BB639B21AFFB3B2000271C9 /* seattle01.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = seattle01.jpg; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -106,8 +106,8 @@ 2B0745801826C6020092FA56 /* AppDelegate.m */, 2B0745A21826CBAB0092FA56 /* DemoViewController.h */, 2B0745A31826CBAB0092FA56 /* DemoViewController.m */, + 2BB639AD1AFFB3B2000271C9 /* Resources */, 2B0745821826C6020092FA56 /* Images.xcassets */, - 2B0745A51826D0E00092FA56 /* Resources */, 2B0745771826C6020092FA56 /* Supporting Files */, ); path = URBMediaFocusViewControllerDemo; @@ -124,17 +124,17 @@ name = "Supporting Files"; sourceTree = ""; }; - 2B0745A51826D0E00092FA56 /* Resources */ = { + 2BB639AD1AFFB3B2000271C9 /* Resources */ = { isa = PBXGroup; children = ( - 2B407B0F18FCE6DB00D1608E /* animated_thumb.jpg */, - 2B18684E183C869300539B97 /* panorama_vert.jpg */, - 2B18684C183C852900539B97 /* panorama.jpg */, - 2B18684A183C758500539B97 /* raceforfood.jpg */, - 2B0745A61826D0E00092FA56 /* seattle01.jpg */, + 2BB639AE1AFFB3B2000271C9 /* animated_thumb.jpg */, + 2BB639AF1AFFB3B2000271C9 /* panorama.jpg */, + 2BB639B01AFFB3B2000271C9 /* panorama_vert.jpg */, + 2BB639B11AFFB3B2000271C9 /* raceforfood.jpg */, + 2BB639B21AFFB3B2000271C9 /* seattle01.jpg */, ); path = Resources; - sourceTree = ""; + sourceTree = SOURCE_ROOT; }; /* End PBXGroup section */ @@ -192,12 +192,12 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( - 2B18684B183C758500539B97 /* raceforfood.jpg in Resources */, + 2BB639B31AFFB3B2000271C9 /* animated_thumb.jpg in Resources */, 2B07457B1826C6020092FA56 /* InfoPlist.strings in Resources */, - 2B0745A71826D0E00092FA56 /* seattle01.jpg in Resources */, - 2B18684F183C869300539B97 /* panorama_vert.jpg in Resources */, - 2B18684D183C852900539B97 /* panorama.jpg in Resources */, - 2B407B1018FCE6DC00D1608E /* animated_thumb.jpg in Resources */, + 2BB639B41AFFB3B2000271C9 /* panorama.jpg in Resources */, + 2BB639B51AFFB3B2000271C9 /* panorama_vert.jpg in Resources */, + 2BB639B71AFFB3B2000271C9 /* seattle01.jpg in Resources */, + 2BB639B61AFFB3B2000271C9 /* raceforfood.jpg in Resources */, 2B0745831826C6020092FA56 /* Images.xcassets in Resources */, ); runOnlyForDeploymentPostprocessing = 0; diff --git a/URBMediaFocusViewController.podspec b/URBMediaFocusViewController.podspec index 05da4ec..0927889 100644 --- a/URBMediaFocusViewController.podspec +++ b/URBMediaFocusViewController.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'URBMediaFocusViewController' - s.version = '0.5.3' + s.version = '0.5.7' s.summary = 'A view controller that focuses images to their full size with physics similar to Tweetbot 3.' s.description = 'URBMediaFocusViewController is an experiment to recreate the view used to enlarge photos and videos from their thumbnail previews as seen in Tweetbot 3 for iOS 7 using the new UIDynamics API available in iOS 7.' s.homepage = 'https://github.com/u10int/URBMediaFocusViewController'