Sobes.tech
Senior

protokol SomeProtocol { func test() } func test1_1(qiymat: SomeProtocol) {} func test1_2(qiymat: any SomeProtocol) {} func test2_1(qiymat: some SomeProtocol) {} func test2_2<Qiymat: SomeProtocol>(qiymat: Qiymat) {} class A { func test2_2<Qiymat: SomeProtocol>(qiymat: Qiymat) { } } class B: SomeProtocol { func test() {} } class C: B {} A().test2_2(qiymat: B())