You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -13,11 +13,11 @@ BetterSegmentedControl is an easy to use, customizable replacement for UISegment
13
13
## Features
14
14
15
15
-[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
18
18
-[x] Designable straight in Interface Builder
19
19
-[x] Customizable behavior
20
-
-[x] Right to left languages support
20
+
-[x] Right-to-left languages support
21
21
22
22
## Requirements
23
23
@@ -26,14 +26,19 @@ BetterSegmentedControl is an easy to use, customizable replacement for UISegment
26
26
27
27
## Installation
28
28
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
+
29
34
### CocoaPods
30
35
31
36
BetterSegmentedControl is available through [CocoaPods](http://cocoapods.org). To install
32
37
it, simply add the following line to your Podfile:
33
38
34
39
```ruby
35
-
# Swift 5
36
-
pod 'BetterSegmentedControl', '~> 1.2'
40
+
# Swift 5.1
41
+
pod 'BetterSegmentedControl', '~> 1.3'
37
42
38
43
# Swift 4
39
44
pod 'BetterSegmentedControl', '1.0'
@@ -47,8 +52,8 @@ pod 'BetterSegmentedControl', '0.8'
47
52
If you prefer using [Carthage](https://github.com/Carthage/Carthage), simply add BetterSegmentedControl to your `Cartfile`:
48
53
49
54
```ruby
50
-
# Swift 5
51
-
github "gmarm/BetterSegmentedControl"~>1.2
55
+
# Swift 5.1
56
+
github "gmarm/BetterSegmentedControl"~>1.3
52
57
53
58
# Swift 4
54
59
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
83
88
84
89
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.
85
90
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.
0 commit comments