Skip to content

feat(examples): MVVM profile demo apps on iPhone 12 baseline - #9

Merged
Dicky019 merged 1 commit into
mainfrom
feat/example
Jun 27, 2026
Merged

Dicky019 merged 1 commit into
mainfrom
feat/example

Conversation

@Dicky019

Copy link
Copy Markdown
Owner

Replace the old example files with two runnable iOS 17 demo apps (one pure SwiftUI, one pure UIKit) — each a single GitHub profile page designed on the iPhone 12 baseline (390x844) that scales proportionally on larger devices.

  • Drive data through an MVVM LoadState machine (idle/loading/loaded/failed) backed by a ProfileRepository protocol; map the GitHubUser DTO to a domain Profile.
  • Group the shared layer by responsibility (Domain/Data/ViewModel/Support) and add view-model/repository/mapping/state unit tests that need no network.
  • Match the SwiftUI and UIKit visuals (gradient banner, full-bleed Highlights carousel, blue tag chips) and drop the UIKit navigation chrome.
  • Add a public iPhone12 configuration preset to the package.

Replace the old example files with two runnable iOS 17 demo apps (one pure
SwiftUI, one pure UIKit) — each a single GitHub profile page designed on the
iPhone 12 baseline (390x844) that scales proportionally on larger devices.

- Drive data through an MVVM LoadState<Profile> machine
  (idle/loading/loaded/failed) backed by a ProfileRepository protocol; map the
  GitHubUser DTO to a domain Profile.
- Group the shared layer by responsibility (Domain/Data/ViewModel/Support) and
  add view-model/repository/mapping/state unit tests that need no network.
- Match the SwiftUI and UIKit visuals (gradient banner, full-bleed Highlights
  carousel, blue tag chips) and drop the UIKit navigation chrome.
- Add a public iPhone12 configuration preset to the package.
@Dicky019
Dicky019 merged commit 3f50acb into main Jun 27, 2026
4 checks passed
@Dicky019
Dicky019 deleted the feat/example branch June 27, 2026 12:28
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