Latest1.1.0
Homepagehttps://github.com/luosch/SCAvatarBrowser
LicenseMIT
Platformsios 7.0, requires ARC
FrameworksFoundation, UIKit
Authors

Travis CI
Version
Pod Platform
License

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.

Latest podspec

{
    "name": "SCAvatarBrowser",
    "version": "1.1.0",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "homepage": "https://github.com/luosch/SCAvatarBrowser",
    "authors": {
        "Sicheng Luo": "[email protected]"
    },
    "summary": "provide detail view of thumb image for iOS",
    "source": {
        "git": "https://github.com/luosch/SCAvatarBrowser.git",
        "tag": "v1.1.0"
    },
    "source_files": "Classes/*.{h,m}",
    "frameworks": [
        "Foundation",
        "UIKit"
    ],
    "requires_arc": true,
    "platforms": {
        "ios": "7.0"
    }
}

Pin It on Pinterest

Share This