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

update playground for Swift 5 and Xcode 12 #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

azarovalex
Copy link

The playground from the master branch doesn't compile anymore on the latest versions of Xcode.
I fixed a lot of compile errors and warnings and tested that everything works fine on Xcode 12.2.
I hope you will find these changes helpful if you want to try this playground by yourself.

let episodeResource = Resource<Episode>(url: url, parseJSON: { anyObject in
(anyObject as? JSONDictionary).flatMap(Episode.init)
})


final class LoadingViewController: UIViewController {
let spinner = UIActivityIndicatorView(activityIndicatorStyle: .Gray)
Copy link
Author

@azarovalex azarovalex Nov 28, 2020

Choose a reason for hiding this comment

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

.Gray style is now deprecated in favor of .medium

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.

1 participant