Skip to content

Commit 3f2a826

Browse files
Fix warning from Swift 4.2 compiler
1 parent ad5caf3 commit 3f2a826

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

DropDown.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "DropDown"
4-
s.version = "2.3.4"
4+
s.version = "2.3.5"
55
s.summary = "A Material Design drop down"
66

77
s.description = <<-DESC

DropDown/src/DropDown.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ extension DropDown {
722722

723723
fileprivate func fittingWidth() -> CGFloat {
724724
if templateCell == nil {
725-
templateCell = cellNib.instantiate(withOwner: nil, options: nil)[0] as! DropDownCell
725+
templateCell = (cellNib.instantiate(withOwner: nil, options: nil)[0] as! DropDownCell)
726726
}
727727

728728
var maxWidth: CGFloat = 0

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Twitter: @kevinh6113](http://img.shields.io/badge/contact-%40kevinh6113-70a1fb.svg?style=flat)](https://twitter.com/kevinh6113)
44
[![License: MIT](http://img.shields.io/badge/license-MIT-70a1fb.svg?style=flat)](https://github.com/AssistoLab/DropDown/blob/master/README.md)
5-
[![Version](http://img.shields.io/badge/version-2.3.4-green.svg?style=flat)](https://github.com/AssistoLab/DropDown)
5+
[![Version](http://img.shields.io/badge/version-2.3.5-green.svg?style=flat)](https://github.com/AssistoLab/DropDown)
66
[![Cocoapods](http://img.shields.io/badge/Cocoapods-available-green.svg?style=flat)](http://cocoadocs.org/docsets/DropDown/)
77
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
88

@@ -21,7 +21,7 @@ To install [CocoaPods](http://www.cocoapods.org), run `sudo gem install cocoapod
2121

2222
## Installation 📱
2323

24-
`DropDown` supports Swift 4.2.
24+
`DropDown` supports Swift 4.2 since version `2.3.4`.
2525

2626
If you need Swift 4.0, use version 2.3.3:
2727
- Manually: use tag `2.3.3`

0 commit comments

Comments
 (0)