luosch / SCAvatarBrowser

provide detail view for thumb image

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SCAvatarBrowser

Travis CI Version Pod Platform License

Screenshots

Overview

SCAvatarBrowser is a powerful and lightweight tool to create the view used to enlarge photos from their avatar previews.

By using SCAvatarBrowser, you can make your avatar scalable, draggable and storable within just one line.

[SCAvatarBrowser showImage:self.avatar];

Installation

Using Pod

pod 'SCAvatarBrowser'

Or drag SCAvatarBrowser.h and SCAvatarBrowser.m files into your project, and then include "SCAvatarBrowser.h" where needed, or in your precompiled header.

The project uses ARC and targets iOS 7.0+.

Usage Examples

#import "SCAvatarBrowser.h"
...
...
...
- (void)showAvatarDetailView {
    [SCAvatarBrowser showImageView:self.avatar];
}

TODO

  • Create one example (added 2015/09/04)
  • Support for drag and sacle (added 2015/09/08)
  • Support for store image to local photo library (added 2015/09/08)
  • Add CocoaPods spec (added 2015/11/11)

License

All source code is licensed under the MIT License.

About

provide detail view for thumb image

License:MIT License


Languages

Language:Objective-C 96.0%Language:Ruby 4.0%