Skip to content

Commit 3119ab5

Browse files
committed
Bump podspec version, update README
1 parent b873729 commit 3119ab5

File tree

3 files changed

+17
-16
lines changed

3 files changed

+17
-16
lines changed

.swift-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.0
1+
5.1

BetterSegmentedControl.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
Pod::Spec.new do |s|
22
s.name = "BetterSegmentedControl"
3-
s.version = "1.2.1"
4-
s.swift_version = "5.0"
3+
s.version = "1.3.0"
4+
s.swift_version = "5.1"
55
s.summary = "An easy to use, customizable replacement for UISegmentedControl & UISwitch."
66
s.description = <<-DESC
77
BetterSegmentedControl is an easy to use, customizable replacement for UISegmentedControl and UISwitch written in Swift.
88
DESC
99
s.homepage = "https://github.com/gmarm/BetterSegmentedControl"
1010
s.license = 'MIT'
1111
s.author = { "George Marmaridis" => "[email protected]" }
12-
s.source = { :git => "https://github.com/gmarm/BetterSegmentedControl.git", :tag => "1.2.1" }
12+
s.source = { :git => "https://github.com/gmarm/BetterSegmentedControl.git", :tag => "1.3.0" }
1313
s.social_media_url = 'https://twitter.com/gmarmas'
1414
s.platform = :ios, '9.0'
1515
s.requires_arc = true

README.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# BetterSegmentedControl
22

3-
![](https://img.shields.io/badge/Swift-5-blue.svg?style=flat)
3+
![](https://img.shields.io/badge/Swift-5.1-blue.svg?style=flat)
44
[![Version](https://img.shields.io/cocoapods/v/BetterSegmentedControl.svg?style=flat)](http://cocoapods.org/pods/BetterSegmentedControl)
55
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
66
[![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
1313
## Features
1414

1515
- [x] Can be used as a segmented control or switch
16-
- [x] Plethora of customizable options from colors to insets and radii
17-
- [x] Use icons as segments, or add your own custom segments
16+
- [x] Plethora of customizable options from colors to insets, radii, animations
17+
- [x] Use text or icons as segments, or add your own custom segments
1818
- [x] Designable straight in Interface Builder
1919
- [x] Customizable behavior
20-
- [x] Right to left languages support
20+
- [x] Right-to-left languages support
2121

2222
## Requirements
2323

@@ -26,14 +26,19 @@ BetterSegmentedControl is an easy to use, customizable replacement for UISegment
2626

2727
## Installation
2828

29+
### Swift Package Manager
30+
31+
BetterSegmentedControl is available through Swift Package Manager. To install
32+
it, simply go to Xcode under `File > Swift Packages > Add Package Dependency...`
33+
2934
### CocoaPods
3035

3136
BetterSegmentedControl is available through [CocoaPods](http://cocoapods.org). To install
3237
it, simply add the following line to your Podfile:
3338

3439
```ruby
35-
# Swift 5
36-
pod 'BetterSegmentedControl', '~> 1.2'
40+
# Swift 5.1
41+
pod 'BetterSegmentedControl', '~> 1.3'
3742

3843
# Swift 4
3944
pod 'BetterSegmentedControl', '1.0'
@@ -47,8 +52,8 @@ pod 'BetterSegmentedControl', '0.8'
4752
If you prefer using [Carthage](https://github.com/Carthage/Carthage), simply add BetterSegmentedControl to your `Cartfile`:
4853

4954
```ruby
50-
# Swift 5
51-
github "gmarm/BetterSegmentedControl" ~> 1.2
55+
# Swift 5.1
56+
github "gmarm/BetterSegmentedControl" ~> 1.3
5257

5358
# Swift 4
5459
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
8388

8489
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.
8590

86-
## Known Issues
87-
88-
- CocoaPods version 1.5+ breaks `IBDesignable` support. If you need `IBDesignable` support stick to CocoaPods version 1.4 for now.
89-
9091
## Author
9192

9293
George Marmaridis

0 commit comments

Comments
 (0)