Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Conversation

xareelee
Copy link

This fix is for swift 4.

Add the keyword required to designated initializers for protocol extension.

I found that @danthorpe forked this repo to add protocols to the class WebSocket, and the protocol could be extracted out of this repo.

https://github.com/danthorpe/SwiftWebSocket/blob/SWS-9_websockettype_protocol/Source/WebSocket.swift#L1677

To make a generic type instantiatable, we need to make the designated initializers marked with the keyword required.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant