RandomUsers
Creating the social media app with random generated users from Random User Generator API; using JSON and XCTest
Aplication pulls users from the Random User Generator API
In this repo you will find:
-
randomUsers.json with data used by XTCTests
-
UserFetchingClient.swift which gets data from Random User Generator API
-
User.swift responsible for decoding data
-
UserData.swift is our @MainActor and is waiting for data provided by UserFetchingClient’s funcion getUsers
-
UsersView.swift is main View with first and second name of each generated user presented as a list