RKTabView
RKTabView copied to clipboard
Fix deprecated warnings
It would be nice not to have warnings by integrating this library / pod ;-)
Hi @chu31g.
Deployment target of demo project is 6.0
. Target platform of the pod is 5.0
. I'm currently using sizeWithFont: constrainedToSize:lineBreakMode:
which is deprecated since 7.0 - that's right.
You offer to use boundingRectWithSize(_:options:attributes:context:)
method instead, but it was declared only in 7.0. It's fine for your project though, but it can break things for others. Rare occasion, but still.
I think respondsToSelector:
checks should be applied for both sentences.
If it's only about hiding warnings, you could try inhibit_warnings like shown here