I admit, I had a hard time understanding this technical blog by Noah Martin, regarding checking for Swift Protocol. Sharper minds will do better.
Bottom line, the “as?” operation to check for protocol is expensive and should be used lightly.
https://www.emergetools.com/blog/posts/SwiftProtocolConformance
No comments:
Post a Comment