-
Notifications
You must be signed in to change notification settings - Fork 1
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
Feature/code updates #44
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good 👍
|
||
// MARK: - ErrorView | ||
|
||
private struct ErrorView: View { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would recommend putting this into a new file and make it internal
(no need to add that modifier explicitly), but to make it visible to internal implementation (e..g, if needed in other modules).
Summary
Updated the code style a bit, and added a part of the public documentation
Related issue: None
Changes
Type
Additional information
Description
Obj-c compatibility was removed since it was partially removed with the SwiftUI support.
Omitting a couple of returns, moving the code to new files/extensions, and adding some documentation.
Checklist
Additional notes