Skip to content

Commit 96c2c6d

Browse files
fix issue #57
1 parent 02ce6ac commit 96c2c6d

5 files changed

Lines changed: 176 additions & 87 deletions

File tree

WYPopoverController.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'WYPopoverController'
3-
s.version = '0.1.7-beta'
3+
s.version = '0.1.8'
44
s.summary = 'An iOS Popover for iPhone and iPad. Very customizable.'
55
s.description = <<-DESC
66
WYPopoverController is for the presentation of content in popover on iPhone / iPad devices. Very customizable.
@@ -14,6 +14,6 @@ Pod::Spec.new do |s|
1414
s.source_files = 'WYPopoverController/*.{h,m}'
1515
s.requires_arc = true
1616

17-
s.ios.deployment_target = '5.1'
17+
s.ios.deployment_target = '6.0'
1818
s.ios.frameworks = 'QuartzCore', 'UIKit', 'CoreGraphics'
1919
end

WYPopoverController/WYPopoverController.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Version 0.1.7
2+
Version 0.1.8
33
44
WYPopoverController is available under the MIT license.
55
@@ -30,7 +30,11 @@
3030
@protocol WYPopoverControllerDelegate;
3131

3232
#ifndef WY_POPOVER_DEFAULT_ANIMATION_DURATION
33-
#define WY_POPOVER_DEFAULT_ANIMATION_DURATION .20f
33+
#define WY_POPOVER_DEFAULT_ANIMATION_DURATION .25f
34+
#endif
35+
36+
#ifndef WY_POPOVER_MIN_SIZE
37+
#define WY_POPOVER_MIN_SIZE CGSizeMake(200, 100)
3438
#endif
3539

3640
typedef NS_OPTIONS(NSUInteger, WYPopoverArrowDirection) {

0 commit comments

Comments
 (0)