Skip to content

Commit

Permalink
Merge pull request #58 from corin8823/release/1.0.4
Browse files Browse the repository at this point in the history
Update podspec and README.md
  • Loading branch information
corin8823 committed Feb 10, 2017
2 parents 2212f9a + 80a22e6 commit f362fb9
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 18 deletions.
4 changes: 2 additions & 2 deletions Example/Podfile.lock
@@ -1,5 +1,5 @@
PODS:
- Popover (1.0.3)
- Popover (1.0.4)

DEPENDENCIES:
- Popover (from `../`)
Expand All @@ -9,7 +9,7 @@ EXTERNAL SOURCES:
:path: "../"

SPEC CHECKSUMS:
Popover: 4546c636aeb712cc3ab8050cfb6d0d2fb6a8086f
Popover: b6999e0625b690f455d0bb031b97ff5f39f33a29

PODFILE CHECKSUM: 6d2f20b0ca605fb4d048b05500bed6d649d9a399

Expand Down
2 changes: 1 addition & 1 deletion Example/Popover/AppDelegate.swift
Expand Up @@ -13,7 +13,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {

var window: UIWindow?

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey : Any]? = nil) -> Bool {
// Override point for customization after application launch.
return true
}
Expand Down
2 changes: 1 addition & 1 deletion Popover.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Popover"
s.version = "1.0.3"
s.version = "1.0.4"
s.summary = "Popover is a balloon library like facebook app. It is written in pure swift."
s.homepage = "https://github.com/corin8823"
# s.screenshots = "www.example.com/screenshots_1", "www.example.com/screenshots_2"
Expand Down
30 changes: 16 additions & 14 deletions README.md
Expand Up @@ -30,11 +30,11 @@ popover.show(aView, point: startPoint)
let width = self.view.frame.width / 4
let aView = UIView(frame: CGRect(x: 0, y: 0, width: width, height: width))
let options = [
.Type(.Up),
.CornerRadius(width / 2),
.AnimationIn(0.3),
.BlackOverlayColor(UIColor.redColor()),
.ArrowSize(CGSizeZero)
.type(.Up),
.cornerRadius(width / 2),
.animationIn(0.3),
.blackOverlayColor(UIColor.redColor()),
.arrowSize(CGSizeZero)
] as [PopoverOption]
let popover = Popover(options: options, showHandler: nil, dismissHandler: nil)
popover.show(aView, fromView: self.leftBottomButton)
Expand Down Expand Up @@ -72,15 +72,17 @@ Popover.swift
## Customization

### Enum
- ``case ArrowSize(CGSize)``
- ``case AnimationIn(NSTimeInterval)``
- ``case AnimationOut(NSTimeInterval)``
- ``case CornerRadius(CGFloat)``
- ``case SideEdge(CGFloat)``
- ``case BlackOverlayColor(UIColor)``
- ``case OverlayBlur(UIBlurEffectStyle)``
- ``case Type(Popover.PopoverType)``
- ``case Color(UIColor)``
- ``case arrowSize(CGSize)``
- ``case animationIn(NSTimeInterval)``
- ``case animationOut(NSTimeInterval)``
- ``case cornerRadius(CGFloat)``
- ``case sideEdge(CGFloat)``
- ``case blackOverlayColor(UIColor)``
- ``case overlayBlur(UIBlurEffectStyle)``
- ``case type(Popover.PopoverType)``
- ``case color(UIColor)``
- ``case dismissOnBlackOverlayTap(Bool)``
- ``case showBlackOverlay(Bool)``

### Property
- ``arrowSize: CGSize = CGSize(width: 16.0, height: 10.0)``
Expand Down

0 comments on commit f362fb9

Please sign in to comment.