[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-7100":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":21,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":41,"readmeContent":42,"aiSummary":43,"trendingCount":16,"starSnapshotCount":16,"syncStatus":44,"lastSyncTime":45,"discoverSource":46},7100,"AlertKit","sparrowcode\u002FAlertKit","sparrowcode","Native alert from Apple Music & Feedback. Contains Done, Heart & Message and other presets.","https:\u002F\u002Fsparrowcode.io\u002Fframeworks",null,"Swift",2637,150,17,4,0,1,10,28.54,"MIT License",false,"v5",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"alert","alert-controller","animated","apple","apple-music","applemusic","appstore","feedback","ios","native","popup","swift","swiftui","swiftui-example","ui","ui-components","uikit","2026-06-12 02:01:34","# AlertKit\n\n**Popup from Apple Music & Feedback in AppStore**. Contains `Done`, `Heart`, `Error` and other. Supports Dark Mode.\nI 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.\n\n![Alert Kit v5](https:\u002F\u002Fcdn.sparrowcode.io\u002Fgithub\u002Falertkit\u002Fv5\u002Fpreview-v1_2.png)\n\nFor UIKit & SwiftUI call this:\n\n```swift\nAlertKitAPI.present(\n    title: \"Added to Library\",\n    icon: .done,\n    style: .iOS17AppleMusic,\n    haptic: .success\n)\n```\n\nAvailable 2 styles:\n\n```swift\npublic enum AlertViewStyle {\n\n    case iOS16AppleMusic\n    case iOS17AppleMusic\n}\n```\n\n### iOS Dev Community\n\n\u003Cp float=\"left\">\n    \u003Ca href=\"https:\u002F\u002Ftwitter.com\u002Fi\u002Fcommunities\u002F1730194338489987403\">\n        \u003Cimg src=\"https:\u002F\u002Fcdn.sparrowcode.io\u002Fgithub\u002Fbadges\u002Fx-community.png?version=1\" height=\"52\">\n    \u003C\u002Fa>\n    \u003Ca href=\"#apps-using\">\n        \u003Cimg src=\"https:\u002F\u002Fcdn.sparrowcode.io\u002Fgithub\u002Fbadges\u002Fdownload-on-the-appstore.png?version=4\" height=\"52\">\n    \u003C\u002Fa>\n\u003C\u002Fp>\n\n## Navigate\n\n- [Installation](#installation)\n  - [Swift Package Manager](#swift-package-manager)\n  - [CocoaPods](#cocoapods)\n- [SwiftUI](#swiftui)\n- [Present & Dismiss](#present--dismiss)\n- [Customisation](#customisation)\n- [Apps Using](#apps-using)\n\n## Installation\n\nReady to use on iOS 13+. Supports iOS and visionOS. Working with `UIKit` and `SwiftUI`.\n\n### Swift Package Manager\n\nIn Xcode go to Project -> Your Project Name -> `Package Dependencies` -> Tap _Plus_. Insert url:\n\n```\nhttps:\u002F\u002Fgithub.com\u002Fsparrowcode\u002FAlertKit\n```\n\nor adding it to the `dependencies` of your `Package.swift`:\n\n```swift\ndependencies: [\n    .package(url: \"https:\u002F\u002Fgithub.com\u002Fsparrowcode\u002FAlertKit\", .upToNextMajor(from: \"5.1.8\"))\n]\n```\n\n### CocoaPods:\n\nThis is an outdated way of doing things. I advise you to use [SPM](#swift-package-manager). However, I will continue to support Cocoapods for some time.\n\n\u003Cdetails>\u003Csummary>Cocoapods Installation\u003C\u002Fsummary>\n\n[CocoaPods](https:\u002F\u002Fcocoapods.org) is a dependency manager. For usage and installation instructions, visit their website. To integrate using CocoaPods, specify it in your `Podfile`:\n\n```ruby\npod 'SPAlert'\n```\n\n\u003C\u002Fdetails>\n\n### Manually\n\nIf you prefer not to use any of dependency managers, you can integrate manually. Put `Sources\u002FAlertKit` folder in your Xcode project. Make sure to enable `Copy items if needed` and `Create groups`.\n\n## SwiftUI\n\nYou can use basic way via `AlertKitAPI` or call via modifier:\n\n```swift\nlet alertView = AlertAppleMusic17View(title: \"Hello\", subtitle: nil, icon: .done)\n\nVStack {}\n    .alert(isPresent: $alertPresented, view: alertView)\n```\n\n## Customisation\n\nIf you need customisation fonts, icon, colors or any other, make view:\n\n```swift\nlet alertView = AlertAppleMusic17View(title: \"Added to Library\", subtitle: nil, icon: .done)\n\n\u002F\u002F change font\nalertView.titleLabel.font = UIFont.systemFont(ofSize: 21)\n\u002F\u002F change color\nalertView.titleLabel.textColor = .white\n```\n\n## Present & Dismiss\n\nYou can present and dismiss alerts manually via view.\n\n```swift\nlet alertView = AlertAppleMusic17View(title: \"Added to Library\", subtitle: nil, icon: .done)\n\n\u002F\u002F present\nalertView.present(on: self)\n\u002F\u002F and dismiss\nalertView.dismiss()\n```\n\nFor dismiss all alerts that was presented: \n\n```swift\nAlertKitAPI.dismissAllAlerts()\n```\n\n## Apps Using\n\n\u003Cp float=\"left\">\n    \u003Ca href=\"https:\u002F\u002Fapps.apple.com\u002Fapp\u002Fid1624477055\">\u003Cimg src=\"https:\u002F\u002Fcdn.sparrowcode.io\u002Fgithub\u002Fapps-using\u002Fid1624477055.png?v=2\" height=\"65\">\u003C\u002Fa>\n    \u003Ca href=\"https:\u002F\u002Fapps.apple.com\u002Fapp\u002Fid1625641322\">\u003Cimg src=\"https:\u002F\u002Fcdn.sparrowcode.io\u002Fgithub\u002Fapps-using\u002Fid1625641322.png?v=2\" height=\"65\">\u003C\u002Fa>\n    \u003Ca href=\"https:\u002F\u002Fapps.apple.com\u002Fapp\u002Fid1625641322\">\u003Cimg src=\"https:\u002F\u002Fcdn.sparrowcode.io\u002Fgithub\u002Fapps-using\u002Fid6449774982.png?v=2\" height=\"65\">\u003C\u002Fa>\n    \u003Ca href=\"https:\u002F\u002Fapps.apple.com\u002Fapp\u002Fid875280793\">\u003Cimg src=\"https:\u002F\u002Fcdn.sparrowcode.io\u002Fgithub\u002Fapps-using\u002Fid875280793.png?v=2\" height=\"65\">\u003C\u002Fa>\n    \u003Ca href=\"https:\u002F\u002Fapps.apple.com\u002Fapp\u002Fid743843090\">\u003Cimg src=\"https:\u002F\u002Fcdn.sparrowcode.io\u002Fgithub\u002Fapps-using\u002Fid743843090.png?v=2\" height=\"65\">\u003C\u002Fa>\n    \u003Ca href=\"https:\u002F\u002Fapps.apple.com\u002Fapp\u002Fid537070378\">\u003Cimg src=\"https:\u002F\u002Fcdn.sparrowcode.io\u002Fgithub\u002Fapps-using\u002Fid537070378.png?v=2\" height=\"65\">\u003C\u002Fa>\n    \u003Ca href=\"https:\u002F\u002Fapps.apple.com\u002Fapp\u002Fid1617055933\">\u003Cimg src=\"https:\u002F\u002Fcdn.sparrowcode.io\u002Fgithub\u002Fapps-using\u002Fid1617055933.png?v=2\" height=\"65\">\u003C\u002Fa>\n    \u003Ca href=\"https:\u002F\u002Fapps.apple.com\u002Fapp\u002Fid1668579869\">\u003Cimg src=\"https:\u002F\u002Fcdn.sparrowcode.io\u002Fgithub\u002Fapps-using\u002Fid1668579869.png?v=1\" height=\"65\">\u003C\u002Fa>\n    \u003Ca href=\"https:\u002F\u002Fapps.apple.com\u002Fapp\u002Fid6451087813\">\u003Cimg src=\"https:\u002F\u002Fcdn.sparrowcode.io\u002Fgithub\u002Fapps-using\u002Fid6451087813.png?v=1\" height=\"65\">\u003C\u002Fa>\n\u003C\u002Fp>\n\nIf you use a `AlertKit`, add your app via Pull Request.\n","AlertKit 是一个用于 iOS 开发的库，旨在重现 Apple Music 和 App Store 中的原生弹出提示样式。它支持 Done、Heart、Error 等多种预设样式，并且兼容 Dark Mode。该库采用 Swift 编写，提供两种风格（iOS 16 和 iOS 17 的 Apple Music 风格），并通过 AlertKitAPI 进行调用，适用于 UIKit 和 SwiftUI 项目。AlertKit 适合需要在应用中实现类似 Apple 官方应用反馈或添加歌曲到库时的美观弹出提示场景。此外，它还支持自定义字体、颜色等属性，以满足不同需求。",2,"2026-06-11 03:10:32","top_language"]