Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/SergioChan/SCCinemaAnimation
:movie_camera: An iOS native implementation of a Cinema Animation Application. See more at https://dribbble.com/shots/2339238-Animation-for-Cinema-Application. iOS上电影购票的动效实现
https://github.com/SergioChan/SCCinemaAnimation
Last synced: about 1 month ago
JSON representation
:movie_camera: An iOS native implementation of a Cinema Animation Application. See more at https://dribbble.com/shots/2339238-Animation-for-Cinema-Application. iOS上电影购票的动效实现
- Host: GitHub
- URL: https://github.com/SergioChan/SCCinemaAnimation
- Owner: SergioChan
- License: mit
- Created: 2015-11-08T14:19:11.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-13T04:10:34.000Z (about 9 years ago)
- Last Synced: 2024-08-04T00:09:56.858Z (4 months ago)
- Language: Objective-C
- Homepage:
- Size: 0 Bytes
- Stars: 233
- Watchers: 10
- Forks: 34
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-animation - SCCinemaAnimation
README
# SCCinemaAnimation
An iOS native implementation of a Cinema Animation Application. See more at https://dribbble.com/shots/2339238-Animation-for-Cinema-Application.iOS上电影购票的动效实现。微博上看到@壹了人拾做的设计,实现了一个demo。
> *最新的安卓实现已经由[DavidWang](https://github.com/DavidWangTM)完成:[DWCinemaAnimation](https://github.com/DavidWangTM/DWCinemaAnimation-Android)*
## Preview
![image](https://raw.githubusercontent.com/SergioChan/SCCinemaAnimation/master/Image/preview.png)
![image](https://raw.githubusercontent.com/SergioChan/SCCinemaAnimation/master/Image/preview.gif)
## Intro
设计创意和动效全部来自于[Xer.Lee](https://dribbble.com/xerlee)在Dribbble上的作品:[https://dribbble.com/shots/2339238-Animation-for-Cinema-Application](https://dribbble.com/shots/2339238-Animation-for-Cinema-Application)。这是一个在iOS上原生实现的相似交互的开源库,没有百分百和设计原稿一致。
没什么特别的……就是一个效果的展示吧。觉得酷炫所以就做了。实现的有些匆忙。
The design was originated from [Xer.Lee](https://dribbble.com/xerlee)'s work on Dribbble:[https://dribbble.com/shots/2339238-Animation-for-Cinema-Application](https://dribbble.com/shots/2339238-Animation-for-Cinema-Application). This is an open-sourced iOS-native libray similar to this design, not 100% equivalent to the original desgin.
## Version
1.0
## Environment
iOS 8.0 以上 iPhone 5s/iPhone6/iPhone6 Plus 测试通过 iOS 8.0 Above iPhone 5s/6/6 Plus Tested
## Usage
The initialization is very simple. Just like the sample below:
```Objective-C
SCCinemaView *cinemaView = [[SCCinemaView alloc]initWithFrame:CGRectMake(20.0f, 80.0f, ScreenWidth - 40.0f, ScreenHeight - 160.0f) buttonTitle:@"Buy Now" price:@"$29.9"];cinemaView.posterView.layer.position = CGPointMake(cinemaView.width / 2.0f, 0.0f);
```