Skip to content

Commit

Permalink
updating minimum iOS SDK target to 8.0+
Browse files Browse the repository at this point in the history
  • Loading branch information
u10int committed Mar 1, 2016
1 parent bd8fb4c commit 6c8fa8f
Showing 1 changed file with 11 additions and 23 deletions.
34 changes: 11 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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.

0 comments on commit 6c8fa8f

Please sign in to comment.