TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Mar 2017 |
Maintained by CharlsPrince.
To run the example project, clone the repo, and run pod install
from the Example directory first.
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];
CharlsPrince, [email protected]
SGSPopover is available under the MIT license. See the LICENSE file for more info.