Skyscanner / SkyFloatingLabelTextField

A beautiful and flexible text field control implementation of "Float Label Pattern". Written in Swift.
Apache License 2.0
4.09k stars 542 forks source link

While setting icon type, code crash #283

Closed karasahinemre closed 5 years ago

karasahinemre commented 5 years ago

ℹ Please fill out this template when filing an issue. All lines beginning with an ℹ symbol instruct you with what info we expect. Please remove this line and all above before submitting.

Before you start, are you using the latest SkyFloatingLabelTextField release?

Issues are for feature requests, and bugs; questions should go to Stack Overflow with the tag skyfloatinglabeltextfield.

Report

What did you do?

passwordField.iconType = .image

What did you expect to happen?

Set icon type to image

What happened instead?

Crash

Environment

ℹ Please fill in this section with information about your environment

Xcode Version: 10.2 SkyFloatingLabelTextField Version: 3.7.0 Deployment Target: 11.0 Base SDK: Method of Integration: CocoaPods

Project that demonstrates the issue

ℹ Please link to a project we can download that reproduces the issue if applicable.