You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my project textfields backgroundColor is transparent,
tintColor is a custom color.
Disabled state is a custom color...
You can put blocks events and / or delegate methods developers can write logic for their cases. Maybe someone doesn't need to be white/red background or display a message in case a field has invalid value ...
In my project textfields backgroundColor is transparent,
tintColor is a custom color.
Disabled state is a custom color...
You can put blocks events and / or delegate methods developers can write logic for their cases. Maybe someone doesn't need to be white/red background or display a message in case a field has invalid value ...
Please review methods:
//********************************************************************
(void)setup {
if ([self respondsToSelector:@selector(setTintColor:)])
[self setTintColor:[UIColor blackColor]];
...
}
//********************************************************************
(BOOL) validate{
self.backgroundColor = [UIColor colorWithRed:255 green:0 blue:0 alpha:0.5];
...
[self setBackgroundColor:[UIColor whiteColor]];
...
}
//********************************************************************
(void)setNeedsBackground
{
if (!_enabled)
[self setBackgroundColor:[UIColor lightGrayColor]];
}
The text was updated successfully, but these errors were encountered: