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

Swift/3.0 #129

Open
wants to merge 2 commits into
base: swift/3.0
Choose a base branch
from
Open

Swift/3.0 #129

wants to merge 2 commits into from

Conversation

xareelee
Copy link

This fix is for swift 3.

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