Mercurial > public > geoquiz
diff GeoQuiz/Tests/Protocols.swift @ 3:4dbe0cd9dadc
first game prototype
author | Dennis C. M. <dennis@denniscm.com> |
---|---|
date | Thu, 22 Sep 2022 10:42:39 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/GeoQuiz/Tests/Protocols.swift Thu Sep 22 10:42:39 2022 +0200 @@ -0,0 +1,24 @@ +// +// Protocols.swift +// GeoQuiz +// +// Created by Dennis Concepción Martín on 21/9/22. +// + +import Foundation + +//protocol MyProtocol { +// associatedtype T +// +// var myVar: T { get set } +//} +// +//class MyClass { +// typealias T = String +// +// let myVar: T +// +// init() { +// myVar = "Hello, world!" +// } +//}