Skip to content

RaulGalindoIIMAS/ViewMAPP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

ViewMAPP

ViewMAPP using TCA with SwiftUI and SwiftData

I used SwiftUI to create the views and SwiftData for data storage because it is newer, works effectively with SwiftUI, and requires fewer features than CoreData.

The main view contains three options for performing different options.

The project is designed to perform three key functions, each contributing to its overall functionality and user experience.

  • Map View: The first option displays a map view with coordinates obtained from an API. An annotation is added to represent the coordinates' place visually. This option remains inactive until the data is fetched.

  • Data Storage: The second option shows the records fetched from the API. A timestamp is added to identify each register individually. When the user selects a row, the app shows the Map View with the coordinates from that row. The records are saved using SwiftData as it is more efficient and seamless with SwiftUI than CoreData. This option is disabled until the data is fetched using the third option.

  • Fetch data: The third option fetches data from the API using the composable architecture with SwiftUI.

The following video shows the app's functionality.

Screen.Recording.2024-08-31.at.11.26.38.a.m.mov

UIUnitTests were implemented to test the navigation flow and views.

2024-08-31 at 11 56 25 a m 2024-08-31 at 11 56 22 a m

About

ViewMAPP using TCA with SwiftUI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages