chrismiles / EZForm

iOS form handling and validation library.
MIT License
284 stars 64 forks source link

Allow for greater customisation of the Input accessory view #38

Closed jessedc closed 10 years ago

jessedc commented 10 years ago

Allow visual customisation, translucency

@property (nonatomic, strong) UIColor *inputAccessoryViewTintColor;
@property (nonatomic, strong) UIColor *inputAccessoryViewBarTintColor NS_AVAILABLE_IOS(7_0);
@property (nonatomic, assign) BOOL inputAccessoryViewTranslucent;   //defaults to YES

screen shot 2013-11-07 at 2 18 04 pm

Allow left/right orientation of the done button

typedef enum : NSInteger {
    EZFormInputAccessoryTypeNone = 0,
    EZFormInputAccessoryTypeStandard, //done button on the right
    EZFormInputAccessoryTypeStandardLeftAligned, //dont button on the left
  } EZFormInputAccessoryType;

screen shot 2013-11-07 at 2 18 10 pm

jessedc commented 10 years ago

You just need to be careful on iOS 6, the UIToolbar tintColor is used for different purposes.

screen shot 2013-11-07 at 2 24 05 pm