danielamitay / AppsView

AppsView is a simple SwiftUI view for displaying apps from the App Store in a similar UI/UX.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AppsView

AppsView is a simple SwiftUI view for displaying apps from the App Store in a similar UI/UX. Particularly useful for showing an app developer's other apps. This is a SwiftUI port of the original DAAppsViewController

By ArtistId By List of AppIds By Search Term
by artist id by list of app ids by search term

Installation

Requires iOS 15+.

Swift Package Manager

In Xcode go to Project -> Your Project Name -> Package Dependencies -> Tap Plus. Insert url:

https://github.com/danielamitay/AppsView

or adding it to the dependencies of your Package.swift:

dependencies: [
    .package(url: "https://github.com/danielamitay/AppsView.git", .upToNextMajor(from: "1.0.0"))
]

Manually

If you prefer not to use any dependency managers, you can integrate manually. Put Sources/AppsView folder in your Xcode project. Make sure to enable Copy items if needed and Create groups.

Usage

Displaying apps by a specific developer (useful for "Our other apps")

AppsView(developerId: 356087517)

Displaying a predetermined set of apps

AppsView(appIds: [575647534, 498151501, 482453112, 582790430, 543421080])

Displaying apps for a specific App Store search term

AppsView(searchTerm: "Radio")

About

AppsView is a simple SwiftUI view for displaying apps from the App Store in a similar UI/UX.

License:MIT License


Languages

Language:Swift 100.0%