mirror of
https://github.com/nicklockwood/SwiftFormat.git
synced 2026-06-16 10:34:34 +00:00
20 lines
323 B
Swift
20 lines
323 B
Swift
final class TestClass {
|
|
init(
|
|
foo: Foo
|
|
) where
|
|
Foo: Fooable,
|
|
Foo.Bar: Barable,
|
|
Foo.Something == Something,
|
|
Foo.SomethingElse == SomethingElse
|
|
{
|
|
self.foo = foo
|
|
}
|
|
}
|
|
|
|
final class MyClass: NSObject,
|
|
FooProtocol,
|
|
BarProtocol
|
|
{
|
|
func someFunction() {}
|
|
}
|