From 3119ab5ccaf4c4a127aaa3620e3cbc9edf712d21 Mon Sep 17 00:00:00 2001 From: George Marmaridis Date: Sun, 10 Nov 2019 13:36:48 +0100 Subject: [PATCH] Bump podspec version, update README --- .swift-version | 2 +- BetterSegmentedControl.podspec | 6 +++--- README.md | 25 +++++++++++++------------ 3 files changed, 17 insertions(+), 16 deletions(-) diff --git a/.swift-version b/.swift-version index 6e63660..8336407 100755 --- a/.swift-version +++ b/.swift-version @@ -1 +1 @@ -5.0 \ No newline at end of file +5.1 \ No newline at end of file diff --git a/BetterSegmentedControl.podspec b/BetterSegmentedControl.podspec index 6618d1d..6189522 100644 --- a/BetterSegmentedControl.podspec +++ b/BetterSegmentedControl.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "BetterSegmentedControl" -s.version = "1.2.1" -s.swift_version = "5.0" +s.version = "1.3.0" +s.swift_version = "5.1" s.summary = "An easy to use, customizable replacement for UISegmentedControl & UISwitch." s.description = <<-DESC BetterSegmentedControl is an easy to use, customizable replacement for UISegmentedControl and UISwitch written in Swift. @@ -9,7 +9,7 @@ DESC s.homepage = "https://github.com/gmarm/BetterSegmentedControl" s.license = 'MIT' s.author = { "George Marmaridis" => "gmarmas@gmail.com" } -s.source = { :git => "https://github.com/gmarm/BetterSegmentedControl.git", :tag => "1.2.1" } +s.source = { :git => "https://github.com/gmarm/BetterSegmentedControl.git", :tag => "1.3.0" } s.social_media_url = 'https://twitter.com/gmarmas' s.platform = :ios, '9.0' s.requires_arc = true diff --git a/README.md b/README.md index 05cb4f9..2fd8bdb 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # BetterSegmentedControl -![](https://img.shields.io/badge/Swift-5-blue.svg?style=flat) +![](https://img.shields.io/badge/Swift-5.1-blue.svg?style=flat) [![Version](https://img.shields.io/cocoapods/v/BetterSegmentedControl.svg?style=flat)](http://cocoapods.org/pods/BetterSegmentedControl) [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) [![License](https://img.shields.io/cocoapods/l/BetterSegmentedControl.svg?style=flat)](http://cocoapods.org/pods/BetterSegmentedControl) @@ -13,11 +13,11 @@ BetterSegmentedControl is an easy to use, customizable replacement for UISegment ## Features - [x] Can be used as a segmented control or switch -- [x] Plethora of customizable options from colors to insets and radii -- [x] Use icons as segments, or add your own custom segments +- [x] Plethora of customizable options from colors to insets, radii, animations +- [x] Use text or icons as segments, or add your own custom segments - [x] Designable straight in Interface Builder - [x] Customizable behavior -- [x] Right to left languages support +- [x] Right-to-left languages support ## Requirements @@ -26,14 +26,19 @@ BetterSegmentedControl is an easy to use, customizable replacement for UISegment ## Installation +### Swift Package Manager + +BetterSegmentedControl is available through Swift Package Manager. To install +it, simply go to Xcode under `File > Swift Packages > Add Package Dependency...` + ### CocoaPods BetterSegmentedControl is available through [CocoaPods](http://cocoapods.org). To install it, simply add the following line to your Podfile: ```ruby -# Swift 5 -pod 'BetterSegmentedControl', '~> 1.2' +# Swift 5.1 +pod 'BetterSegmentedControl', '~> 1.3' # Swift 4 pod 'BetterSegmentedControl', '1.0' @@ -47,8 +52,8 @@ pod 'BetterSegmentedControl', '0.8' If you prefer using [Carthage](https://github.com/Carthage/Carthage), simply add BetterSegmentedControl to your `Cartfile`: ```ruby -# Swift 5 -github "gmarm/BetterSegmentedControl" ~> 1.2 +# Swift 5.1 +github "gmarm/BetterSegmentedControl" ~> 1.3 # Swift 4 github "gmarm/BetterSegmentedControl" 1.0 @@ -83,10 +88,6 @@ You can find different ways of using it (such as by designing it in a Storyboard Feel free to Fork, submit Pull Requests or send me your feedback and suggestions! Please make sure that tests are passing before submitting a new Pull Request. -## Known Issues - -- CocoaPods version 1.5+ breaks `IBDesignable` support. If you need `IBDesignable` support stick to CocoaPods version 1.4 for now. - ## Author George Marmaridis