diff GeoQuiz/Tests/ProtocolTest.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/ProtocolTest.swift	Thu Sep 22 10:42:39 2022 +0200
@@ -0,0 +1,23 @@
+//
+//  ProtocolTest.swift
+//  GeoQuiz
+//
+//  Created by Dennis Concepción Martín on 21/9/22.
+//
+
+import Foundation
+
+//protocol MyProtocol {
+//    associatedtype T
+//    
+//    var myVar: T { get set }
+//    func sayHello()
+//}
+//
+//extension MyProtocol {
+//    func sayHello() {
+//        print("Hello")
+//    }
+//}
+
+