spothero/SpotHeroEmailValidator-iOS

Deprecated methods.

Closed this issue · 2 comments

Is there update to stop using deprecated methods?

SHAutocorrectSuggestionView.m:83:35: 'sizeWithFont:constrainedToSize:lineBreakMode:' is deprecated: first deprecated in iOS 7.0 - Use -boundingRectWithSize:options:attributes:context:

SHAutocorrectSuggestionView.m:84:45: 'sizeWithFont:constrainedToSize:lineBreakMode:' is deprecated: first deprecated in iOS 7.0 - Use -boundingRectWithSize:options:attributes:context:

SHAutocorrectSuggestionView.m:164:17: 'drawInRect:withFont:lineBreakMode:alignment:' is deprecated: first deprecated in iOS 7.0 - Use -drawInRect:withAttributes:

SHAutocorrectSuggestionView.m:167:25: 'drawInRect:withFont:lineBreakMode:alignment:' is deprecated: first deprecated in iOS 7.0 - Use -drawInRect:withAttributes:

PR created to avoid and keep code clean of these deprecated warnings.
#10

Closing as this was merged some time ago.