Latest 0.1.0
Homepage https://github.com/yinqiong/YQGuideView
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

Example

考虑到UI设计层面每个App 都有自己的风格,该view,只提供最简单的显示,如果要更多功能,可以pod下来继承
比如:
// 给某个cell中一个view做引导 YQPageGuideWindow,继承自YQGuideView

YQPageGuideWindow *guide = [[YQPageGuideWindow alloc] initWithView:taskCell.taskView];
// 边缘间距
guide.offset = UIEdgeInsetsMake(-5, -5, -taskCell.taskView.avgTimeInfoView.top, 5);
// 缕空显示的类型,这里是圆角
guide.cornerType = YQWinCornerTypeRound;
// 引导做介绍的图
UIImage *image = [UIImage imageNamed:@"pic_mock_report_new_function_default"];
CGFloat x = 29;
// winFrame记录了当前缕空的实际frame,这里用于iamgeView的计算
CGFloat y = guide.winFrame.origin.y + guide.winFrame.size.height + 10;
CGRect frame = CGRectMake(x, y, image.size.width, image.size.height);
// 添加iamgeView
[guide appendAnnotatedImage:image frame:frame];

Requirements

Installation

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

pod 'YQGuideView'

Author

yinqiong, [email protected]

License

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

Latest podspec

{
    "name": "YQGuideView",
    "version": "0.1.0",
    "summary": "u65b0u624bu5f15u5bfcu9875u6216u8005u4ecbu7ecdu9875",
    "description": "u975eu5e38u65b9u4fbfu5b9eu7528u7684u4e00u4e2au65b0u624bu5f15u5bfcu9875u6216u8005u4ecbu7ecdu9875",
    "homepage": "https://github.com/yinqiong/YQGuideView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "yinqiong": "[email protected]"
    },
    "source": {
        "git": "https://github.com/yinqiong/YQGuideView.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "YQGuideView/Classes/**/*"
}

Pin It on Pinterest

Share This