-
Notifications
You must be signed in to change notification settings - Fork 40
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
OBAListView iOS 14 list #391
Conversation
Rename sectionLayout to sectionLayout(:_) to use provided layoutEnvironment
AgencyAlert identifiers start from 1, 2, 3…, which is not unique for OBAListView. Uses it hash value instead of relying on agency.
Recommend synthenized Equatable conformance over manual implementation for OBAListViewItem.
Add new internal view-model for sections
Move layout configuration from section model to OBAListViewItem
Removes Separated protocol in favor of view model configuration
Make bookmarks list plain appearance
memory leak not related to this pr, opened #394 |
See OneBusAway#398, added support for iOS 14.4 for CI compatibility.
Fix CI complaining about unknown types (ugh)
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.
This looks like a great improvement! I noticed a couple of outstanding TODOs that you'd added that look like they still need to be taken care of. If you want to add issues for those and have me merge this, np. Otherwise let me know when they're wrapped up and I'll get this merged.
- detailButton is not being used anywhere - Clean up code and swiftlint warnings
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.
nice work
Fixes a OneBusAway#391 — OBAListView iOS 14 list regression
Changelog
insetGrouped
visual style for most lists (not bookmarks, bookmark cells look too space-constrained in the new style).Shiny new visual look
References
Fixes #377
Opened:
#392
#393
#398
#399