Skip to content
聚光灯效果,可以用来做功能介绍或者新手引导
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Example [update]getter & setter Apr 2, 2019
XSpotLight [update]修改frame为bounds Apr 3, 2019
.gitignore
.travis.yml Initial commit Apr 1, 2019
10.gif
LICENSE Initial commit Apr 1, 2019
README.md Merge branch 'feature/cocoaPods' Apr 2, 2019
XSpotLight.podspec Update spec Apr 3, 2019

README.md

XSpotLight

CI Status Version License Platform

image

XSportLight *SportLight = [[XSportLight alloc]init];
SportLight.messageArray = @[
@"这是《简书》",
@"点这里撰写文章",
@"搜索文章",
@"这会是StrongX的下一节课内容"
];
SportLight.rectArray = @[
[NSValue valueWithCGRect:CGRectMake(0,0,0,0)],
[NSValue valueWithCGRect:CGRectMake(SCREEN_WIDTH/2, SCREEN_HEIGHT - 20, 50, 50)],
[NSValue valueWithCGRect:CGRectMake(SCREEN_WIDTH - 20, 42, 50, 50)],
[NSValue valueWithCGRect:CGRectMake(0,0,0,0)]
];
[self presentViewController:SportLight animated:false completion:^{

}];

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

XSpotLight is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'XSpotLight'

Author

StrongX, strongxlx@gmail.com

License

XSpotLight is available under the MIT license. See the LICENSE file for more info.

You can’t perform that action at this time.