这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@jiachenyee
Copy link
Contributor

  • Switched it to Alamofire from NSURLConnection

  • Removed Deprecated Code from NSURLConnection

  • Updated demo app

    • Connected TextField's primary action to trigger done
    • Added Dark Mode to the demo app (iOS 13 and up)
    • Set TextField keyboard type to URL

- Removed deprecated code
- Added activity indicator to show loading
- Updated constraints
- Use primary action to dismiss keyboard
@itsmeichigo
Copy link
Owner

Hi, thank you for the contribution. My apologies for the outdated NSURLConnection, but I'd prefer updating the syntax to match latest Swift version to adding more dependency to the library. What do you think about that?

@jiachenyee
Copy link
Contributor Author

Ok, I've replaced Alamofire with URLSession.

@itsmeichigo
Copy link
Owner

Looks great! Merging request, thanks a lot.

@itsmeichigo itsmeichigo merged commit da8e23e into itsmeichigo:master Aug 27, 2020
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