Skip to content

freeskys/FRDoneAccessory

Repository files navigation

FRDoneAccessory

Build Status Pod Version Pod Platform Pod License

Done button accessory for UITextfield or UITextview

HOW TO USE

  1. Import #import <FRDoneAccessory.h>
  2. Insert accessory into your textfield self.yourTextfield.inputAccessoryView = [[FRDoneAccessory alloc] initWithBackground:yourBackground andButton:yourButton andTextfield:yourTextfield];
  3. Or use native styling by using self.yourTextfield.inputAccessoryView = [[FRDoneAccessory alloc] initWithTextField:self.yourTextfield];

Screenshot

Native

Native

Styled

Styled

Cocoapod

Add pod 'FRDoneAccessory', '~> 0.2' to your Podfile

Release

  1. 0.1 First public release
  2. 0.2 Add native style

TODO

  1. Support button position