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

Spencer's Busbud Coding Challenge #23

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

spencerdiniz
Copy link

@spencerdiniz spencerdiniz commented Dec 18, 2024

Hello,

I hope all is well.

This is my submission for the Busbud Coding Challenge for the Senior iOS Engineer Role.

  • I used Xcode 16.2 and Swift 6.0.
  • I implemented the challenge in both UIKit and SwiftUI. There's a "Home" screen which allows selection of which implementation to run.
  • All of the challenge's requirements were implemented:
    • List View (UIKit and SwiftUI versions)
    • Detail View (UIKit and SwiftUI versions)
    • Light/Dark Mode using standard iOS colors
    • Localization (English / Portuguese (BR) using standard iOS Localization for Strings
    • Unit Tests for Services, View Models, UIKit View Controllers and SwiftUI Views

There's room for improvement, optimizations, better abstraction, etc., but I believe this is a good showcase of my proficiency with iOS development.

Home Screen

Light Dark
image image

Location Permission Alert

Light Dark
image image

List View (light)

UIKit SwiftUI
image image

List View (dark)

UIKit SwiftUI
image image

Detail View (light)

UIKit SwiftUI
image image

Detail View (dark)

UIKit SwiftUI
image image

List View (portuguese localization)

UIKit SwiftUI
image image

Detail View (portuguese localization)

UIKit SwiftUI
image image

Busbud Website

Light Dark
image image

Spencer Diniz added 13 commits December 17, 2024 14:11
- Blank project.
- Added .gitignore
Disabling unnecessary orientations, leaving only portrait.
- Created service and models.
- Calculated distance for each suggestion.
- Format distance in KM and Miles.
- Update list UI to show distance.
- Support for light/dark modes using sytem colors;
- Disabled zooming in map view.
- Refactored view controllers to user view models
- Adjustments to UI
- Added localization for Portuguese (BR).
- Added unit tests for service.
- Added unit tests for view models.
- Added unit tests for view controllers.
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.

1 participant