Created
May 7, 2017 17:53
-
-
Save anuragajwani/953c087b537ba29aa8f18f16e0597bbd to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| import Foundation | |
| struct Movie { | |
| let title: String | |
| let year: String | |
| let genre: [String] | |
| init(title: String, year: String, genre: [String]) { | |
| self.title = title | |
| self.year = year | |
| self.genre = genre | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment