Skip to content

benjaminrsalgado/Contacts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“± My Favorite Contacts - SwiftUI App

A clean and simple SwiftUI app that displays a list of favorite contacts using ForEach with a custom Identifiable struct.


πŸ“‹ Overview

This app demonstrates how to use SwiftUI to create a dynamic and styled contact list.

Each contact card includes:

  • πŸ§‘β€πŸš€ Emoji representing the contact
  • πŸ“ Name
  • πŸ“ž Phone number

The UI features scrollable lists, card designs, and modern SwiftUI styling.


✨ Features

  • βœ… Uses ForEach with Identifiable structs
  • 🎨 Stylish contact cards with rounded corners & shadows
  • 🌈 Linear gradient background for a modern look
  • πŸ“œ Scrollable list of contacts

πŸ›  Technologies

  • πŸ–₯ Swift
  • πŸ“± SwiftUI
  • πŸ” ForEach
  • πŸ†” Identifiable protocol

πŸ“· Screenshot

App Screenshot


πŸš€ How to Run

  1. Clone this repository
  2. Open the project in Xcode
  3. Run on the iOS Simulator or a physical device

πŸ“š Learning Purpose

This project was built to practice:

  • πŸ›  Creating and using custom data models in SwiftUI
  • πŸ” Implementing ForEach with Identifiable
  • 🎨 Styling views with SwiftUI modifiers

About

SwiftUI app that displays a list of favorite contacts using ForEach with Identifiable structs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages