artemkrachulov / AKMaskField

Swift plugin which allow add mask to input field

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Swift 5

cagatayegilmez opened this issue · comments

Do you think update the pod 4.0, 4.2 or 5.0?

Hi @cagatayegilmez. I propose a pull request(#48) migrating the code to swift5. I don't know if @artemkrachulov will accept it. He is not present in project for a long. Let's see what will happen.

Hi @cagatayegilmez
You use my fork from this project that fix for swift 5 from this.
Fix also pod file to swift 5 version.

I forked also @qasimsina

I did too, but its too constrained, I wasn't able to set a style for the placeholder color
tried:
maskedField.attributedPlaceholder = NSAttributedString(string: (formItem?.title)!, attributes: [NSAttributedString.Key.foregroundColor: UIColor.Troya.placeHolderWhite, NSAttributedString.Key.font: UIFont(name: "Verdana", size: 14)!])
but its completely ignored

commented

how do we pull a swift v5 into our project?

how do we pull a swift v5 into our project?

Use this link to your Pod file project