Skip to content

Repository files navigation

iTunesSongSearch

A lightweight SwiftUI app that searches the iTunes API for songs by artist name and displays the results in a clean, tappable list. Users can view track details and listen to audio previews.

🚀 Features

  • 🔍 Search by artist name (minimum 3 characters)
  • 📜 Displays track name, artist, genre, release year (album on detail view)
  • 🎧 Audio preview playback using AVPlayer
  • 🖼 Album artwork (via AsyncImage)
  • 🧭 Tappable rows navigate to a full song detail view
  • 🧪 Unit tested JSON decoding logic
  • ✅ Clean Swift Concurrency (async/await) and MVVM architecture

🛠 Tech Stack

  • Swift 5.9+
  • SwiftUI
  • AVKit (AVPlayer)
  • iTunes Search API
  • XCTest for basic decoding validation

📱 Screenshots

Search View Song Detail
SongList SongDetail

📦 API Used

  • https://itunes.apple.com/search?term=ARTIST&entity=song&limit=25

Example:
https://itunes.apple.com/search?term=zeppelin&entity=song&limit=25

🔧 Setup

  1. Clone the repo:
    git clone https://github.com/bsimmons01/iTunesSongSearch.git

About

Simple iOS App to allow users to search iTunes for songs

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages