I want to make a custom class of UITextField where secureTextEntry turned on, so when I'm typing text, the text will hidden and changed to UIImage instead of default "bullets".
This question is related to this question, but instead of custom fonts, I want to use UIImage instead. Anyone know how?
Here's the example of expected result:

and here's my current customclass:
import UIKit
@IBDesignable
class SecuredBorderTextField: UITextField {
}