Latest 0.1.1
Homepage https://github.com/CharlsPrince/SGSPopover
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

Example

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

Requirements

Installation

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

pod "SGSPopover"

使用方法


    UILabel *label = [[UILabel alloc] init];
    label.text = @"asdfasdfas";
    [label sizeToFit];
    self.popover = [[SGSPopover alloc] initWithContentView:label];
    self.popover.lineWidth = 5.0f;
    self.popover.lineColor = [UIColor redColor];
    self.popover.fillColor = [UIColor greenColor];
    self.popover.triangleRaduis = 5.0f;
    self.popover.widthEdge = 10.0;
    self.popover.heightEdge = 10.0f;
    self.popover.cornerRadius = 5.0f;
    self.popover.popoverStyle = SGSPopoverStyleLeft;
    [self.view addSubview:self.popover];

Author

CharlsPrince, [email protected]

License

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

Latest podspec

{
    "name": "SGSPopover",
    "version": "0.1.1",
    "summary": "Pop u89c6u56feu7ec4u4ef6",
    "description": "u4e00u4e2aPopoveru63a7u4ef6uff0cu53efu4ee5u6dfbu52a0u4efbu4f55u5b50u89c6u56fe",
    "homepage": "https://github.com/CharlsPrince/SGSPopover",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "CharlsPrince": "[email protected]"
    },
    "source": {
        "git": "https://github.com/CharlsPrince/SGSPopover.git",
        "tag": "0.1.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "SGSPopover/Classes/**/*"
}

Pin It on Pinterest

Share This