Skip to content

veeru1011/iOSExerciseVeer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iOSExercise

Technology Assessment

What am I building?

The final result of this task is to have a View for displaying Album List after getting in a from Api for a random user and after navigating display list of Photos for particular Album, After tapping on Photo open a detail page for Photo which displaying Photo with title.

In this project:

Structural Design Pattern

  • MVVM - Model View ViewModel use for Better UI design

Models:

  • From API data datamodels are created, which are User, Company, Address, UserAlbum, UserPhoto

View:

  • MainHomeView

  • AlbumListView

    • AlbumListItemView
  • AlbumDetailView

    • PhotoItemView
  • PhotoDetailView

ViewModel:

  • AlbumListViewModel - A ViewModel used to get the user and Album list for AlbumListView
  • AlbumViewModel

Coordinator

  • AlbumListCoordinator - Module level Coordinator which has AlbumListViewModel , AlbumViewModel

Services:

  • AppDataService - a protocal which has definition for All use API and DataFetchService consume this API for network call

    Network:

    • NetworkService - use NetworkSessionManager for calling network calls
    • NetworkSessionManager - use URLSession to call new request

Test Cases:

iOSExerciseTests:

  • MainHomeViewTests

  • AlbumListViewModelTests

  • AlbumViewModelTests

  • AppDataServiceTests

  • NetworkServiceTests

Instructions:

  • Fork the project
  • Clone the forked project to you'r machine
  • open iOSExercise.xcodeproj with latest Xcode, Build and run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages