Latest 0.0.1
Homepage https://github.com/LPD-iOS/LPDGuideMaskKit
License MIT
Platforms ios 8.0
Authors

CI Status
Codebeat
Version
License
Platform

Preview

Example

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

Requirements

  • iOS 8.0+

Installation

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

pod "LPDGuideMaskKit"

Usage

  • LPDGuideMaskButtonItem
  • LPDGuideMaskHollowItem
  • LPDGuideMaskTipsItem
  NSArray<id<LPDGuideMaskItemProtocol>> *guideOne = @[[[LPDGuideMaskHollowItem alloc] initWithCenter:self.guideOne.center size:self.guideOne.bounds.size],
                        [[LPDGuideMaskTipsItem alloc] initWithImage:[UIImage imageNamed:@"image_transferorder_guide2"] center:CGPointMake([UIScreen mainScreen].bounds.size.width/2.0, 120+(170/2)) size:CGSizeMake(320, 170)],
                        [[LPDGuideMaskButtonItem alloc] initWithView:[self nextWithTitle:@"下一步"] center:CGPointMake([UIScreen mainScreen].bounds.size.width/2.0, [UIScreen mainScreen].bounds.size.height-(142+20)) size:CGSizeMake(100, 40)]
                        ];

  NSArray<id<LPDGuideMaskItemProtocol>> *guideTwo = @[
                        [[LPDGuideMaskHollowItem alloc] initWithCenter:self.guideTwo.center size:self.guideTwo.bounds.size],
                        [[LPDGuideMaskTipsItem alloc] initWithImage:[UIImage imageNamed:@"image_transferorder_guide3"] center:CGPointMake([UIScreen mainScreen].bounds.size.width/2.0, [UIScreen mainScreen].bounds.size.height-(120+(200/2))) size:CGSizeMake(320, 200)],
                        [[LPDGuideMaskButtonItem alloc] initWithView:[self nextWithTitle:@"下一步"] center:CGPointMake([UIScreen mainScreen].bounds.size.width/2.0, [UIScreen mainScreen].bounds.size.height-(142+20)) size:CGSizeMake(100, 40)]
                        ];

  NSArray<id<LPDGuideMaskItemProtocol>> *guideThree = @[
                          [[LPDGuideMaskHollowItem alloc] initWithCenter:self.guideThree.center size:self.guideThree.bounds.size],
                          [[LPDGuideMaskTipsItem alloc] initWithImage:[UIImage imageNamed:@"image_transferorder_guide4"] center:CGPointMake([UIScreen mainScreen].bounds.size.width/2.0, [UIScreen mainScreen].bounds.size.height-(120+(200/2))) size:CGSizeMake(320, 200)],
                          [[LPDGuideMaskButtonItem alloc] initWithView:[self nextWithTitle:@"开始转单"] center:CGPointMake([UIScreen mainScreen].bounds.size.width/2.0, [UIScreen mainScreen].bounds.size.height-(142+20)) size:CGSizeMake(100, 40)]
                          ];

  [[LPDGuideMaskKit shared] setItems:@[guideOne, guideTwo, guideThree]];

Author

mmoaay, [email protected]

License

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

Latest podspec

{
    "name": "LPDGuideMaskKit",
    "version": "0.0.1",
    "summary": "A short description of LPDGuideMaskKit.",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/LPD-iOS/LPDGuideMaskKit",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "mmoaay": "[email protected]"
    },
    "source": {
        "git": "https://github.com/LPD-iOS/LPDGuideMaskKit.git",
        "tag": "0.0.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "LPDGuideMaskKit/Classes/**/*"
}

Pin It on Pinterest

Share This