From 49a714591b6eb418bcd91cf863d0b900987c7c22 Mon Sep 17 00:00:00 2001 From: Juan Calvo Date: Thu, 15 Oct 2020 12:03:12 -0600 Subject: [PATCH] Fixes: - typo - Xcode 12 issue 'DropDown' has different definitions in different modules; first difference is definition in module 'iOSDropDown.Swift' found super class with type 'UITextField' --- iOSDropDown/Classes/iOSDropDown.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iOSDropDown/Classes/iOSDropDown.swift b/iOSDropDown/Classes/iOSDropDown.swift index af719de..c5fc7d1 100644 --- a/iOSDropDown/Classes/iOSDropDown.swift +++ b/iOSDropDown/Classes/iOSDropDown.swift @@ -7,7 +7,7 @@ // Copyright © 2018 JRiOSdev. All rights reserved. // import UIKit - +@objc(JRDropDown) open class DropDown : UITextField{ var arrow : Arrow! @@ -402,7 +402,7 @@ extension DropDown: UITableViewDataSource { cell?.textLabel?.font = self.font cell?.textLabel?.textAlignment = self.textAlignment cell?.textLabel?.numberOfLines = 0 - cell?.textLabel?.lineBreakMode = .byWrodWrapping + cell?.textLabel?.lineBreakMode = .byWordWrapping return cell! } }