Created
April 9, 2018 18:46
-
-
Save yogeshmanghnani/12d67ff0c2818b299ea073f6ee3a5915 to your computer and use it in GitHub Desktop.
Simple example of Protocol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protocol Movable { | |
func move() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment