Skip to content

Commit 08b10a6

Browse files
authored
Merge pull request #89 from zerorendan/master
Fixes: XCode 12.0.1 Issue #88
2 parents abc60f2 + 49a7145 commit 08b10a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

iOSDropDown/Classes/iOSDropDown.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// Copyright © 2018 JRiOSdev. All rights reserved.
88
//
99
import UIKit
10-
10+
@objc(JRDropDown)
1111
open class DropDown : UITextField{
1212

1313
var arrow : Arrow!
@@ -402,7 +402,7 @@ extension DropDown: UITableViewDataSource {
402402
cell?.textLabel?.font = self.font
403403
cell?.textLabel?.textAlignment = self.textAlignment
404404
cell?.textLabel?.numberOfLines = 0
405-
cell?.textLabel?.lineBreakMode = .byWrodWrapping
405+
cell?.textLabel?.lineBreakMode = .byWordWrapping
406406
return cell!
407407
}
408408
}

0 commit comments

Comments
 (0)