Latest 0.0.1
Homepage https://github.com/LittleCuteCat/LWPhotoBrowser
License MIT
Platforms ios 8.0
Dependencies SDWebImage
Authors

类似微信图片相册浏览的功能,包含放缩,捏合和下拉退出等
调用方式

//封装参数对象
LWPhotoBrowserTransition *transitionParameter = [[LWPhotoBrowserTransition alloc] init];
transitionParameter.transitionImage = cell.imageView.image;
transitionParameter.sourceImagesFrames = [self firstImageViewFrames];
transitionParameter.transitionImageIndex = index;
//    transitionParameter.openSpring = NO;
//    transitionParameter.duration = 0.25;
self.animatedTransition = nil;
self.animatedTransition.photoBrowserTransition = transitionParameter;

//传输必要参数
LWPhotoBrowserController *pictVC = [[LWPhotoBrowserController alloc] init];
pictVC.photosArray = [self browseSouceModelItemArray];
pictVC.animatedTransition = self.animatedTransition;

//设置代理
pictVC.transitioningDelegate = self.animatedTransition;
[self presentViewController:pictVC animated:YES completion:nil];

Latest podspec

{
    "name": "LWPhotoBrowser",
    "version": "0.0.1",
    "summary": "u56feu7247u6d4fu89c8u5668",
    "description": "u4e00u6b3eu7c7bu4f3cu5faeu4fe1u56feu7247u6d4fu89c8u7684u5e93",
    "homepage": "https://github.com/LittleCuteCat/LWPhotoBrowser",
    "license": {
        "type": "MIT",
        "file": "LICENSE.md"
    },
    "authors": {
        "LittleCuteCat": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/LittleCuteCat/LWPhotoBrowser.git",
        "tag": "0.0.1"
    },
    "source_files": [
        "Classes",
        "Classes/**/*.{h,m}"
    ],
    "exclude_files": "Classes/Exclude",
    "dependencies": {
        "SDWebImage": []
    }
}

Pin It on Pinterest

Share This