We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b9987e8 + 89921c5 commit 2a74250Copy full SHA for 2a74250
docs/OptimizationTips.rst
@@ -557,6 +557,7 @@ If it makes sense to limit the adoption of protocols to classes then mark
557
protocols as class-only protocols to get better runtime performance.
558
559
::
560
+
561
protocol Pingable : class { func ping() -> Int }
562
563
.. https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/Protocols.html
0 commit comments