From 6c8fa8fbfc58d34c50a5dda1fe159bbe626639bd Mon Sep 17 00:00:00 2001 From: Nicholas Shipes Date: Mon, 29 Feb 2016 16:56:06 -0800 Subject: [PATCH] updating minimum iOS SDK target to 8.0+ --- README.md | 34 +++++++++++----------------------- 1 file changed, 11 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index d5c33ca..315cd90 100644 --- a/README.md +++ b/README.md @@ -4,29 +4,26 @@ URBMediaFocusViewController ## Overview -`URBMediaFocusViewController` is an experiment to recreate the view used to enlarge photos and videos from their thumbnail previews as seen in [Tweetbot 3](https://itunes.apple.com/app/id722294701) for iOS 7 using the new UIDynamics API available in iOS 7. +`URBMediaFocusViewController` is an experiment to recreate the view used to enlarge photos and videos from their thumbnail previews as seen in [Tweetbot 3](https://itunes.apple.com/app/id722294701) using the UIDynamics API available starting with iOS 7. ![Basic example](https://dl.dropboxusercontent.com/u/197980/Screenshots/URBMediaFocusViewController03.gif) -## Installation - -### Installing with CocoaPods +## Requirements -[CocoaPods](http://cocoapods.org) is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries in your projects. +- iOS 8.0+ -Add the following to your `Podfile` and run `$ pod install`: - - pod "URBMediaFocusViewController" - -If you don't have CocoaPods installed or integrated into your project, you can learn how to do via [CocoaPods](http://cocoapods.org/). +## Usage -### Installing Manually +To run the example project, clone the repo, open the `URBMediaFocusViewControllerDemo.xcodeproject` and run the *URBMediaFocusViewControllerDemo* target. -To use `URBMediaFocusViewController` in your own project, just import `URBMediaFocusViewController.h` and `URBMediaFocusViewController.m` files into your project, and then include "`URBMediaFocusViewController.h`" where needed, or in your precompiled header. +## Installation -The project uses ARC and targets iOS 7.0+. +URBMediaFocusViewController is available through [CocoaPods](http://cocoapods.org). To install +it, simply add the following line to your Podfile: -**NOTE:** This project has been updated to work with and tested against iOS 6 (when compiling using Xcode 5+). However, the UIDynamics features are only support in iOS 7+. +```ruby +pod "URBMediaFocusViewController" +``` ## Usage Examples @@ -78,15 +75,6 @@ You can also provide copy and save actions for the presented photo from an actio self.shouldShowPhotoActions = YES; // default NO -## TODO - -- ~~Add CocoaPods spec~~ (added 11/15/2013) -- Support for handling device orientation changes -- ~~Support for focusing in image from a web view (issue #6)~~ (added 1/5/2014) -- ~~Support for animated GIFs~~ (added 4/14/2014) -- Add support for loading videos similar to the method for remote photos -- Consider adding support for additional present/dismiss transition animations - ## License This code is distributed under the terms and conditions of the MIT license. \ No newline at end of file