Created
December 4, 2017 17:35
-
-
Save SiarheiFedartsou/39500133fe928ba4c8442e3e73dbd0a6 to your computer and use it in GitHub Desktop.
1.swift
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 Shape {} | |
struct Rectangle: Shape { | |
let width: Float | |
let height: Float | |
} | |
struct Circle: Shape { | |
let radius: Float | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment