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
Currently prepareForInterfaceBuilder hides the error label because I was unable to get it to show up correctly in the storyboard.
Steps to fix:
Currently the error property is of type NSError, but the localized description is the only thing that's used in MFTextField so it could be changed to a string instead.
Making the error an NSString instead of an NSError would allow the property to be made inspectable. The error string could then be set in the storyboard.
prepareForInterfaceBuilder could be updated to not remove the error label anymore and call sharedInit instead.
Considerations:
This would be a breaking change to the API.
The text was updated successfully, but these errors were encountered:
Currently
prepareForInterfaceBuilder
hides the error label because I was unable to get it to show up correctly in the storyboard.Steps to fix:
Currently the
error
property is of typeNSError
, but the localized description is the only thing that's used inMFTextField
so it could be changed to a string instead.Making the error an
NSString
instead of anNSError
would allow the property to be made inspectable. The error string could then be set in the storyboard.prepareForInterfaceBuilder
could be updated to not remove the error label anymore and callsharedInit
instead.Considerations:
This would be a breaking change to the API.
The text was updated successfully, but these errors were encountered: