the-blue-alliance / the-blue-alliance-ios

An iOS app for accessing information about the FIRST Robotics Competition.
MIT License
76 stars 23 forks source link

Pass Team to Team@Event #540

Closed ZachOrr closed 4 years ago

ZachOrr commented 5 years ago

We can also look to pass only a TeamKey to Team@Event and fetch the team (we don't have UI for this right now), but we need the Team object in that Team@Event view to start unblocking other tickets.

This blocks https://github.com/the-blue-alliance/the-blue-alliance-ios/issues/539 and https://github.com/the-blue-alliance/the-blue-alliance-ios/issues/412

Once we get this done, we should be able to remove the terrible code in ContainerViewController+Team https://github.com/the-blue-alliance/the-blue-alliance-ios/blob/master/the-blue-alliance-ios/Extensions/ContainerViewController%2BTeam.swift#L25

ZachOrr commented 4 years ago

F 👏 I 👏 X 👏 E 👏 D 👏 via https://github.com/the-blue-alliance/the-blue-alliance-ios/pull/716