Swiftpack.co - sparrowcode/AlertKit as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by sparrowcode.
sparrowcode/AlertKit 5.0.1
Native alert from Apple Music & Feedback. Contains Done, Heart & Message and other presets.
⭐️ 2,020
🕓 13 weeks ago
iOS tvOS
.package(url: "https://github.com/sparrowcode/AlertKit.git", from: "5.0.1")


Popup from Apple Music & Feedback in AppStore. Contains Done, Heart, Error and other. Supports Dark Mode. I tried to recreate Apple's alerts as much as possible. You can find these alerts in the AppStore after feedback and after you add a song to your library in Apple Music.

Alert Kit v5

For run alert just call this:

    title: "Added to Library", 
    icon: .done, 
    style: .iOS17AppleMusic, 
    haptic: .success

Available 2 styles:

public enum AlertViewStyle {
    case iOS16AppleMusic
    case iOS17AppleMusic



Ready to use on iOS 13+.

Swift Package Manager

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


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

dependencies: [
    .package(url: "https://github.com/sparrowcode/AlertKit", .upToNextMajor(from: "5.0.0"))


This is an outdated way of doing things. I advise you to use SPM. However, I will continue to support Cocoapods for some time.

Cocoapods Instalation

CocoaPods is a dependency manager. For usage and installation instructions, visit their website. To integrate using CocoaPods, specify it in your Podfile:

pod 'SPAlert'


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

Apps Using

If you use a AlertKit, add your app via Pull Request.


Stars: 2021
Last commit: 2 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Related Packages

Release Notes

Updated access level for view classes.
13 weeks ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics