代码库> 视图动画> SYMaterialSegue
SYMaterialSegue
关注
查看次数:1947 下载次数:494
上传时间:2015-09-02 大小:328 B
# SYMaterialSegue

A custom storyboard segue like the Android Material Animation style.

## Screen Shot

!cvpic('([img]https://raw.githubusercontent.com/Sunnyyoung/SYMaterialSegue/master/ScreenShot/ScreenShot.gif','','700','700'))

## Pod

``` bash
platform :ios, '7.0'
pod 'SYMaterialSegue'
```

## Usage

1. Select the storyboard segue and set the custom class to `SYMaterialSegue`
2. Setup the `sourceButton` and `animationColor` in the `- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender` method.

!cvpic('([img]https://raw.githubusercontent.com/Sunnyyoung/SYMaterialSegue/master/ScreenShot/StepOne.png','','700','700'))

!cvpic('([img]https://raw.githubusercontent.com/Sunnyyoung/SYMaterialSegue/master/ScreenShot/StepTwo.png','','700','700'))

## Todo

- [ ] Unwind Segue

## License

The [MIT License](LICENSE).
测试环境:Xcode 6.2,iOS 6.0 以上
收藏
我来说两句
发表评论
您还没有登录!请登录注册
所有评论(0


本周热门下载
综合评论
提示
sina weixin mail 回到顶部