Skip to content

Commit 10843a2

Browse files
committed
Updated .podspec and README.md.
1 parent 1c25145 commit 10843a2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

BetterSegmentedControl.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 = "BetterSegmentedControl"
3-
s.version = "0.3"
3+
s.version = "0.4"
44
s.summary = "An easy to use, customizable replacement for UISegmentedControl & UISwitch."
55
s.description = <<-DESC
66
BetterSegmentedControl is an easy to use, customizable replacement for UISegmentedControl and UISwitch written in Swift.
@@ -9,7 +9,7 @@ s.homepage = "https://github.com/gmarm/BetterSegmentedControl"
99
# s.screenshots = "www.example.com/screenshots_1", "www.example.com/screenshots_2"
1010
s.license = 'MIT'
1111
s.author = { "George Marmaridis" => "[email protected]" }
12-
s.source = { :git => "https://github.com/gmarm/BetterSegmentedControl.git", :tag => "0.3" }
12+
s.source = { :git => "https://github.com/gmarm/BetterSegmentedControl.git", :tag => "0.4" }
1313
s.social_media_url = 'https://twitter.com/gmarmas'
1414
s.platform = :ios, '8.0'
1515
s.requires_arc = true

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ BetterSegmentedControl is available through [CocoaPods](http://cocoapods.org). T
3030
it, simply add the following line to your Podfile:
3131

3232
```ruby
33-
pod 'BetterSegmentedControl', '~> 0.3'
33+
pod 'BetterSegmentedControl', '~> 0.4'
3434
```
3535

3636
### Carthage
3737

3838
If you prefer using [Carthage](https://github.com/Carthage/Carthage), simply add BetterSegmentedControl to your `Cartfile`:
3939

4040
```ruby
41-
github "gmarm/BetterSegmentedControl" ~> 0.3
41+
github "gmarm/BetterSegmentedControl" ~> 0.4
4242
```
4343

4444
### Manually
@@ -57,6 +57,7 @@ let control = BetterSegmentedControl(
5757
indicatorViewBackgroundColor: UIColor(red:0.55, green:0.26, blue:0.86, alpha:1.00),
5858
selectedTitleColor: .blackColor())
5959
control.titleFont = UIFont(name: "HelveticaNeue", size: 14.0)!
60+
control.titleFont = UIFont(name: "HelveticaNeue-Medium", size: 14.0)!
6061
control.addTarget(self, action: #selector(ViewController.controlValueChanged(_:)), forControlEvents: .ValueChanged)
6162
view.addSubview(control)
6263
```
@@ -66,15 +67,14 @@ You can find different ways of using it (such as by designing it in a Storyboard
6667

6768
- [ ] Make initializer failable if not enough titles are passed.
6869
- [ ] Set titles via method that throws.
69-
- [ ] Add a `selectedTitleFont` property.
7070
- [ ] Allow the control to have no selected index.
7171
- [ ] Allow UIViews that implement a protocol to be used as options.
7272
- [ ] Add moar tests!
7373
- [ ] ~~Try to take over the world!~~ Uh, what?
7474

7575
## Contribution
7676

77-
Feel free to Fork, submit Pull Requests or send me your feedback and suggestions! However do make sure that tests are passing before submitting a new Pull Request.
77+
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.
7878

7979
## Author
8080

0 commit comments

Comments
 (0)