Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ‘₯ Users

A clean iOS app to browse and explore user profiles fetched from a REST API β€” with detail views, theming, and settings.


✨ Features

  • πŸ‘€ User List β€” Browse a list of users with avatar and details
  • πŸ” User Detail β€” Tap any user for a full profile view
  • πŸŒ™ Theme Support β€” Dynamic theme switching with ThemeViewModel
  • βš™οΈ Settings β€” Customizable app preferences

πŸ—οΈ Structure

Users/
β”œβ”€β”€ UserModel.swift
β”œβ”€β”€ UserViewModel.swift
β”œβ”€β”€ UserAPIService.swift     # REST API networking
β”œβ”€β”€ ThemeViewModel.swift
β”œβ”€β”€ ContentView.swift
└── View/
    β”œβ”€β”€ UserListView.swift
    β”œβ”€β”€ UserDetailView.swift
    └── SettingView.swift

πŸš€ Getting Started

Requirements

  • Xcode 15+
  • iOS 17+ simulator or device

Setup

  1. Clone the repo
  2. Open Users.xcodeproj in Xcode
  3. Hit ⌘R to build and run

Uses JSONPlaceholder for mock user data.


πŸ“œ License

MIT Β© Sithum Raigamage

About

πŸ‘₯ SwiftUI iOS app to browse user profiles from a REST API, with detail views and theme support.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages