Sobes.tech
Senior

Protokoll SomeProtocol { func test() } func test1_1(wert: SomeProtocol) {} func test1_2(wert: any SomeProtocol) {} func test2_1(wert: some SomeProtocol) {} func test2_2<Wert: SomeProtocol>(wert: Wert) {} class A { func test2_2<Wert: SomeProtocol>(wert: Wert) { } } class B: SomeProtocol { func test() {} } class C: B {} A().test2_2(wert: B())