Skip to content

Fixes: https://github.com/daltoniam/Starscream/issues/442#443

Closed
BlakeBarrett wants to merge 2 commits into
daltoniam:masterfrom
BlakeBarrett:master
Closed

Fixes: https://github.com/daltoniam/Starscream/issues/442#443
BlakeBarrett wants to merge 2 commits into
daltoniam:masterfrom
BlakeBarrett:master

Conversation

@BlakeBarrett

Copy link
Copy Markdown
Contributor

Should build again under Swift 3.2

Should build again under Swift 3.2
This doesn't need to effect anyone else' code.
@BlakeBarrett

Copy link
Copy Markdown
Contributor Author

Alternatively, you could do conditional compilation.

#if swift(>=4)
#else
    fileprivate extension String {
        var count: Int {
            return self.characters.count
        }
    }
#endif

@daltoniam

Copy link
Copy Markdown
Owner

Thanks! I had another branch going with some other fixes so I just pulled this code into version 3.0.4 which I just released! Thanks again.

@daltoniam daltoniam closed this Jan 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants