Latest 0.0.1
Homepage https://github.com/hao0818/TipView
License MIT
Platforms ios 7.0, requires ARC
Dependencies Masonry
Frameworks UIKit
Authors

TipView

第一步:
给view设置tipID,如:
view.tipID = @"test_tip_1";
view.message = @"这是个测试tip"

第二步:添加操作提示流

  • (BOOL)application:(UIApplication )application didFinishLaunchingWithOptions:(NSDictionary )launchOptions {
    // Override point for customization after application launch.
    [[TooltipManager sharedInstance] addFlow:@"test_1" withTips:@[@"tip_test", @"tip_test2"]];
    return YES;
    }

第三步:在需要弹出提示的位置调用方法:

  • (void)viewDidAppear:(BOOL)animated{
    [super viewDidAppear:animated];
    [[TooltipManager sharedInstance] startFlowIfNeeded:self flowID:@"test_1"];
    }

Latest podspec

{
    "name": "TipView",
    "version": "0.0.1",
    "summary": "u5febu901fu96c6u6210u7528u6237u5f15u5bfcu7684u63d0u793au6c14u6ce1",
    "description": "[email protected]",
    "authors": {
        "chenhao": "[email protected]"
    },
    "homepage": "https://github.com/hao0818/TipView",
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/hao0818/TipView.git",
        "tag": "0.0.1"
    },
    "source_files": [
        "TipView",
        "TipView/*.{h,m}"
    ],
    "requires_arc": true,
    "exclude_files": "Classes/Exclude",
    "frameworks": "UIKit",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "dependencies": {
        "Masonry": []
    }
}

Pin It on Pinterest

Share This