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

Modernize code #1

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

Modernize code #1

wants to merge 1 commit into from

Conversation

jaanus
Copy link

@jaanus jaanus commented Aug 12, 2020

Updated the code to work with Xcode 12 beta 4 and current version of Swift Package Manager. (Not sure about other build tools. I only need SPM myself.)

Updated the code to work with Xcode 12 beta 4 and current version of Swift Package Manager.
@wesbillman
Copy link
Owner

@jaanus Wow! Sorry I'm just seeing this. Somehow I dropped the ball on this one. Thanks so much for the suggestions.

I have a few comments, but I understand it it's been too long since you created this to want to update. If not, I'll put up another PR updating the project a bit.

@@ -46,15 +46,14 @@ public class JSONFeed {
}

if let hubsJSON = json["hubs"] as? [[AnyHashable: Any]] {
self.hubs = hubsJSON.flatMap(Hub.init)
// self.hubs = hubsJSON.flatMap(Hub.init)
Copy link
Owner

Choose a reason for hiding this comment

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

We can remove this comment.

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.

None yet

2 participants