Skip to content

Tom4259/HaveYouTriedKit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwiftUI Auto-Scrolling App Carousel with StoreKit

This component shows a horizontal, auto-scrolling carousel of apps from your developer account.
Tapping an app opens the App Store product page in-app using SKStoreProductViewController, so users can download or purchase without leaving your app.


✨ Features

  • Fetches apps from your developer account using the iTunes Search API.
  • Displays app icons and names in a scrolling carousel.
  • Auto-scrolls through apps every 3 seconds.
  • Tap an app → opens its App Store product page in-app via StoreKit.
  • Users can download/purchase without leaving your app.
  • Timer pauses/resets when the user interacts, then resumes smoothly.

📦 Requirements

  • iOS 17.0+
  • Swift 5.7+
  • Xcode 14+

🚀 Usage

1. Add the Component

Include the following files in your project:

  • AppStoreViewModel.swift (API fetch + model)
  • StoreProductView.swift (StoreKit wrapper)
  • AutoScrollingAppsView.swift (carousel)

2. Use in Your View

For example, inside your Settings screen:

struct SettingsView: View {
    var body: some View {
        Form {
            Section(header: Text("More from Us")) {
                AutoScrollingAppsView()
            }
        }
    }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages