-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Labels
Description
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
errorproperty is of typeNSError, but the localized description is the only thing that's used inMFTextFieldso it could be changed to a string instead. -
Making the error an
NSStringinstead of anNSErrorwould allow the property to be made inspectable. The error string could then be set in the storyboard. -
prepareForInterfaceBuildercould be updated to not remove the error label anymore and callsharedInitinstead.
Considerations:
This would be a breaking change to the API.