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

POI view #10

Closed
5 of 6 tasks
elliottwilliams opened this issue Sep 2, 2016 · 2 comments
Closed
5 of 6 tasks

POI view #10

elliottwilliams opened this issue Sep 2, 2016 · 2 comments
Labels
Milestone

Comments

@elliottwilliams
Copy link
Member

elliottwilliams commented Sep 2, 2016

This view shows stations and their respective routes closeby to a given point. It may be the user's location, or a named point of interest, like a building or street address.

  • Create a POI view, and a model for the named point it represents.
  • Show a list of nearby stations at the POI.
  • Show upcoming arrivals at each station.
  • Show a map, with overlaid routes and stations from Map view #9.
  • For a moving point, like the user's current location, adjust the list of nearby stations as the point moves.
  • Facilitate a way for the view to follow the user's current location, or a named point.
@elliottwilliams elliottwilliams added this to the v1.0 milestone Sep 2, 2016
@elliottwilliams
Copy link
Member Author

Early concept sketch:

poi_1

elliottwilliams added a commit that referenced this issue Dec 27, 2016
The new TVC class shows a collection of routes served by that station. It's
useful in the POI view (#10) where stations serving different routes are shown
inline.

This commit introduces xibs for the different kinds of Station table view
cells, and moves the UI for `RoutesCollectionBadgeCell` out of the storyboard
and into its own xib. This allows us to easily use these UI elements in
different tables. In particular, `RoutesCollectionViewModel` works for any
collection view that registers a cell with ID `badgeCell`.

`StationTableViewCell` and `StationUpcomingTableViewCell` are designed be
usable by any table view representing stations; they both have an `apply`
method accepting a station.

TODO:
- add a standard `apply` method to StationTableViewCell
elliottwilliams added a commit that referenced this issue Dec 28, 2016
elliottwilliams added a commit that referenced this issue Dec 30, 2016
@elliottwilliams elliottwilliams mentioned this issue Jan 5, 2017
5 tasks
@elliottwilliams
Copy link
Member Author

Waiting on Timetable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant