https://github.com/xiaohange/jqstickersview
JQStickersView: 仿摩拜单车我的贴纸,摩拜单车贴纸弹跳效果, 自定义摩拜单车贴纸效果, iOS开发者交流群: 446310206
https://github.com/xiaohange/jqstickersview
bicycle gyro mobai objective-c stickers ticker-data
Last synced: 11 months ago
JSON representation
JQStickersView: 仿摩拜单车我的贴纸,摩拜单车贴纸弹跳效果, 自定义摩拜单车贴纸效果, iOS开发者交流群: 446310206
- Host: GitHub
- URL: https://github.com/xiaohange/jqstickersview
- Owner: xiaohange
- License: mit
- Created: 2017-06-16T02:10:52.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-16T02:49:51.000Z (about 9 years ago)
- Last Synced: 2025-05-24T15:03:28.392Z (about 1 year ago)
- Topics: bicycle, gyro, mobai, objective-c, stickers, ticker-data
- Language: Objective-C
- Size: 1.19 MB
- Stars: 15
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JQStickersView
前言
===
JQStickersView: 仿摩拜单车我的贴纸,摩拜单车贴纸弹跳效果, 自定义摩拜单车贴纸效果, iOS开发者交流群: 446310206

## Installation
Drag all source files under floder `JQStickersView` to your project.
## Usage
```
/**
Initialization JQStickersView
@param frame frame description
@param ballDiameter ballDiameter description
@param imgArray imgArray description
@return return value description
*/
- (instancetype)initWithFrame:(CGRect)frame andBallDiameter:(CGFloat)ballDiameter andImgArray:(NSMutableArray *)imgArray;
// Stop DeviceMotionUpdate
- (void)stopDeviceMotionUpdate;
```
```
#import "JQStickersView.h"
// imageArray
NSMutableArray *imgArray = [NSMutableArray arrayWithArray:@[@"testImage_1",@"testImage_2",@"testImage_3",@"testImage_4",@"testImage_5",@"testImage_6",@"testImage_7",@"testImage_8",@"testImage_1",@"testImage_2",@"testImage_3",@"testImage_4"]];
JQStickersView *jqStickersView = [[JQStickersView alloc]initWithFrame:CGRectMake(0, 80, [UIScreen mainScreen].bounds.size.width, 200) andBallDiameter:40 andImgArray:imgArray];
jqStickersView.backgroundColor = [UIColor cyanColor];
[self.view addSubview:jqStickersView];
// [jqStickersView stopDeviceMotionUpdate];
```
## Star
[CSDN博客](http://blog.csdn.net/qq_31810357) iOS开发者交流群: 446310206
Love is every every every star! Your support is my renewed motivation!
## License
This code is distributed under the terms and conditions of the [MIT license](LICENSE).