From fbaebc356df1a6dd07bf2fdefa5af82f28879f6c Mon Sep 17 00:00:00 2001 From: ReadmeCritic Date: Fri, 12 Feb 2016 22:41:21 -0800 Subject: [PATCH 1/2] Correct the spelling of CocoaPods in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8bb3ca9d..027af4c7 100644 --- a/README.md +++ b/README.md @@ -148,7 +148,7 @@ WYPopoverController uses ARC. ~~iOS SDK 7.0 (with Xcode 5) is required.~~ -#### Cocoapods +#### CocoaPods Add this line `pod 'WYPopoverController', '~> 0.2.0'` to your PodFile. From f46123ffbf7ed275fcbd9c594417184b129d2acb Mon Sep 17 00:00:00 2001 From: ReadmeCritic Date: Fri, 12 Feb 2016 22:42:07 -0800 Subject: [PATCH 2/2] Correct the spelling of CocoaPods in README --- README.md | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 027af4c7..65035998 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ WYPopoverController =================== +*[This fork](https://github.com/sammcewan/WYPopoverController) is being actively maintained. The [original one](https://github.com/nicolaschengdev/WYPopoverController) seems to have been abandoned.* + WYPopoverController is for the presentation of content in popover on iPhone / iPad devices. Very customizable. ### Screenshots @@ -30,6 +32,7 @@ WYPopoverController is for the presentation of content in popover on iPhone / iP | Property | Type | Default value (iOS 6) | Default value (iOS 7) | | ----------------------------- | -------------- | ---------------------: | ---------------------: | +| usesRoundedArrow | `BOOL` | NO | YES | | tintColor | `UIColor` | *nil* | *nil* | | arrowBase | `NSUInteger` | 42 | 25 | | arrowHeight | `NSUInteger` | 18 | 13 | @@ -51,9 +54,12 @@ WYPopoverController is for the presentation of content in popover on iPhone / iP | minOuterCornerRadius | `NSUInteger` | 0 | 0 | | innerStrokeColor | `UIColor` | #262c31ff | #transparent | | outerStrokeColor | `UIColor` | #262c31ff | #transparent | +| dimsBackgroundViewsTintColor | `BOOL` | YES | YES | ##### Arrow & Border +`usesRoundedArrow` (enabled by default) produces a nicely curved arrow. Set it to `NO` to revert to the old pointy arrow. + ![](https://raw.github.com/nicolaschengdev/WYPopoverController/master/screenshots/appearance/small/wypopover_arrowbase.png "arrowBase: 42") , ![](https://raw.github.com/nicolaschengdev/WYPopoverController/master/screenshots/appearance/small/wypopover_arrowheight.png "arrowHeight: 18") , ![](https://raw.github.com/nicolaschengdev/WYPopoverController/master/screenshots/appearance/small/wypopover_borderwidth.png "borderWidth: 6") ##### Corner radius & View content insets @@ -76,6 +82,10 @@ WYPopoverController is for the presentation of content in popover on iPhone / iP ![](https://raw.github.com/nicolaschengdev/WYPopoverController/master/screenshots/appearance/small/wypopover_innershadowcolor.png "innerShadowColor: #c3045e, innerShadowOffset: {0, 1}, innerShadowBlurRadius: 2") , ![](https://raw.github.com/nicolaschengdev/WYPopoverController/master/screenshots/appearance/small/wypopover_innershadowoffset_0--1.png "innerShadowColor: #c3045e, innerShadowOffset: {0, -1}, innerShadowBlurRadius: 2") , ![](https://raw.github.com/nicolaschengdev/WYPopoverController/master/screenshots/appearance/small/wypopover_innershadowblurradius_0.png "innerShadowColor: #c3045e, innerShadowOffset: {0, 1}, innerShadowBlurRadius: 0") +##### Tint + +`dimsBackgroundViewsTintColor` controls whether views behind the overlay have their tint color dimmed. + ### Works like UIPopoverController --- @@ -150,20 +160,20 @@ WYPopoverController uses ARC. #### CocoaPods -Add this line `pod 'WYPopoverController', '~> 0.2.0'` to your PodFile. +Add this line `pod 'WYPopoverController', '~> 0.3.7'` to your PodFile. Your PodFile should look like : ```Ruby platform :ios, '6.0' -pod 'WYPopoverController', '~> 0.2.2' +pod 'WYPopoverController', '~> 0.3.7' ``` To use the `master` branch of the repo : ```Ruby platform :ios, '6.0' -pod 'WYPopoverController', :git => 'https://github.com/nicolaschengdev/WYPopoverController.git' +pod 'WYPopoverController', :git => 'https://github.com/sammcewan/WYPopoverController.git' ``` #### Manually @@ -327,14 +337,14 @@ Situations when handling is required: --- -A brief summary of each WYPopoverController release can be found on the [wiki](https://github.com/nicolaschengdev/WYPopoverController/wiki/Change-logs). +A brief summary of each WYPopoverController release can be found on the [wiki](https://github.com/sammcewan/WYPopoverController/wiki/Change-logs). ### Contact --- -* [@mikl_jeo](https://twitter.com/mikl_jeo) on Twitter -* [@nicolaschengdev](https://github.com/nicolaschengdev) on Github +* ~~[@mikl_jeo](https://twitter.com/mikl_jeo) on Twitter~~ +* [@vitalys](https://github.com/vitalys) on Github ### License @@ -349,3 +359,4 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +