ETWinkerField 0.1.0

ETWinkerField 0.1.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Jun 2015

Maintained by Ersen Tekin.



  • By
  • Ersen Tekin

Usage

Via Storyboard

You can put a UITextField on storyboard and set it's class as ETWinkerField. You can access through Identity Inspector Here's a screenshot.

Additional Customizations

// wink images
UIImage* iconImageShown = [UIImage imageNamed:@"wink.png"];
UIImage* iconImageHidden = [UIImage imageNamed:@"wink-hidden.png"];

// ATTENTION!
// insert hidden image FIRST
NSMutableArray* arrayImages = [[NSMutableArray alloc] initWithObjects:iconImageHidden, iconImageShown, nil];
self.passwordTextField.arrayStatusImages = [arrayImages mutableCopy];

Installation

ETWinkerField is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "ETWinkerField"

Then run pod install

TODOs

  • Add test coverage
  • Fix irrelevant spacing after hide-to-show switch.

Author

Ersen Tekin, [email protected]

License

ETWinkerField is available under the MIT license. See the LICENSE file for more info.