Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

latest swift 3 syntax + rm'd NSError usage #42

Closed
wants to merge 2 commits into from
Closed

latest swift 3 syntax + rm'd NSError usage #42

wants to merge 2 commits into from

Conversation

triage
Copy link

@triage triage commented Oct 17, 2016

hello
upgraded to most recent swift 3 syntax, and added new MBStaticError error enum.

@triage triage changed the title latest swift 3 syntax latest swift 3 syntax + rm'd NSError usage Oct 17, 2016
@@ -9,23 +9,26 @@
typealias JSONDictionary = [String: AnyObject]

/// Indicates that an error occurred in MapboxStatic.
public let MBStaticErrorDomain = "MBStaticErrorDomain"
public enum MBStaticError: Error {
case snapshot(failureReason: String?, recoverySuggestion: String?)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately, this kind of enumeration usage won’t bridge to Objective-C.

@1ec5 1ec5 mentioned this pull request Feb 20, 2017
@1ec5
Copy link
Contributor

1ec5 commented Feb 20, 2017

Superseded by #50.

@1ec5 1ec5 closed this Feb 20, 2017
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