We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51a9cea commit 89921c5Copy full SHA for 89921c5
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