[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-7040":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":17,"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":42,"readmeContent":43,"aiSummary":44,"trendingCount":16,"starSnapshotCount":16,"syncStatus":18,"lastSyncTime":45,"discoverSource":46},7040,"ProgressHUD","relatedcode\u002FProgressHUD","relatedcode","ProgressHUD is a lightweight and easy-to-use HUD for iOS. Over 5000+ animations.","https:\u002F\u002Frelatedcode.com",null,"Swift",2965,506,49,11,0,1,2,60.82,"MIT License",false,"master",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41],"activity-indicator","apple","hud","ios-swift","progress","progress-bar","progress-circle","progress-hud","progress-indicator","progress-indicators","progress-ring","progress-tracker","progress-view","progressbar","progresshud","swift-library","swift5","swiftui","2026-06-12 04:00:32","[![VibePrompting](VibePrompting.png)](https:\u002F\u002Fvibeprompting.dev)\n\n## WHAT'S NEW\n\nFor detailed changes, please refer to the [Change log](CHANGELOG.md).\n\n## OVERVIEW\n\n**ProgressHUD** is a convenient and intuitive HUD tool designed specifically for iOS. It enables the seamless presentation of concise alerts or notifications to your app users in a simple and non-disruptive way.\n\n**Note:** This version (15.0.0+) is built with SwiftUI. If you need the UIKit version, please use version 14.1.4.\n\n## INSTALLATION\n\n### Swift Package Manager\n\n[Swift Package Manager](https:\u002F\u002Fdocs.swift.org\u002Fswiftpm\u002Fdocumentation\u002Fpackagemanagerdocs\u002F) is a tool for managing Swift code distribution.\n\nTo add **ProgressHUD** as a dependency to your project, follow these steps:\n\n1. Open your Swift project in Xcode.\n2. Navigate to `File` -> `Add Package Dependencies...`.\n3. Paste `https:\u002F\u002Fgithub.com\u002Frelatedcode\u002FProgressHUD.git` into the search bar.\n4. Choose the version you want to use and click `Add Package`.\n\n### Manually\n\nIf you prefer not to use the dependency manager above, you can integrate **ProgressHUD** into your project manually. Simply copy all the `*.swift` files from the `SwiftUI\u002FSources` folder into your Xcode project.\n\n## QUICK START\n\n### SwiftUI Setup\n\nAdd the `.progressHUD()` modifier to your root view:\n\n```swift\nimport SwiftUI\n\n@main\nstruct MyApp: App {\n    var body: some Scene {\n        WindowGroup {\n            ContentView()\n                .progressHUD()\n        }\n    }\n}\n```\n\n### Usage Examples\n\n```swift\nProgressHUD.banner(\"Banner title\", \"Banner message to display.\")\n```\n\n```swift\nProgressHUD.banner(\"Banner title\", \"Message to display.\", delay: 2.0)\n```\n\n```swift\nProgressHUD.bannerHide()\n```\n\n```swift\nProgressHUD.animate(\"Some text...\")\n```\n\n```swift\nProgressHUD.animate(\"Some text...\", interaction: false)\n```\n\n```swift\nProgressHUD.animate(\"Please wait...\", .ballVerticalBounce)\n```\n\n```swift\nProgressHUD.succeed()\n```\n\n```swift\nProgressHUD.succeed(\"Some text...\", delay: 1.5)\n```\n\n```swift\nProgressHUD.failed()\n```\n\n```swift\nProgressHUD.failed(\"Some text...\")\n```\n\n```swift\nProgressHUD.progress(0.15)\n```\n\n```swift\nProgressHUD.progress(\"Loading...\", 0.42)\n```\n\n```swift\nProgressHUD.symbol(name: \"box.truck\")\n```\n\n```swift\nProgressHUD.symbol(\"Some text...\", name: \"sun.max\")\n```\n\n```swift\nProgressHUD.success(\"Success message\")\n```\n\n```swift\nProgressHUD.error(\"Error message\")\n```\n\n```swift\nProgressHUD.added(\"Item added\")\n```\n\n```swift\nProgressHUD.animate(\"Loading...\", symbol: \"star.fill\")\n```\n\n```swift\nProgressHUD.dismiss()\n```\n\n```swift\nProgressHUD.remove()\n```\n\n## REQUIREMENTS\n\n- iOS 17.0+\n- Xcode 15.0+\n\n## CUSTOMIZATION\n\nYou can customize attributes like color, font, image, animation type, size, and more by using these methods:\n\n```swift\nProgressHUD.animationType = .circleStrokeSpin\n```\n\n```swift\nProgressHUD.colorHUD = .gray.opacity(0.1)\n```\n\n```swift\nProgressHUD.colorBackground = .gray.opacity(0.3)\n```\n\n```swift\nProgressHUD.colorAnimation = .blue\n```\n\n```swift\nProgressHUD.colorProgress = .blue\n```\n\n```swift\nProgressHUD.colorStatus = .primary\n```\n\n```swift\nProgressHUD.mediaSize = 100\nProgressHUD.marginSize = 50\n```\n\n```swift\nProgressHUD.fontStatus = .system(size: 24, weight: .bold)\n```\n\n```swift\nProgressHUD.imageSuccess = Image(\"success\")\nProgressHUD.imageError = Image(\"error\")\n```\n\nBanner customization:\n\n```swift\nProgressHUD.colorBanner = .blue.opacity(0.1)\nProgressHUD.colorBannerTitle = .primary\nProgressHUD.colorBannerMessage = .secondary\nProgressHUD.fontBannerTitle = .system(size: 16, weight: .semibold)\nProgressHUD.fontBannerMessage = .system(size: 14)\n```\n\nA comprehensive list of the predefined enums:\n\n```swift\npublic enum AnimationType: CaseIterable {\n\tcase none\n\tcase activityIndicator\n\tcase ballVerticalBounce\n\tcase barSweepToggle\n\tcase circleArcDotSpin\n\tcase circleBarSpinFade\n\tcase circleDotSpinFade\n\tcase circlePulseMultiple\n\tcase circlePulseSingle\n\tcase circleRippleMultiple\n\tcase circleRippleSingle\n\tcase circleRotateChase\n\tcase circleStrokeSpin\n\tcase dualDotSidestep\n\tcase horizontalBarScaling\n\tcase horizontalDotScaling\n\tcase pacmanProgress\n\tcase quintupleDotDance\n\tcase semiRingRotation\n\tcase sfSymbolBounce\n\tcase squareCircuitSnake\n\tcase triangleDotShift\n}\n```\n\n```swift\npublic enum LiveIcon {\n\tcase succeed\n\tcase failed\n\tcase added\n}\n```\n\n## LICENSE\n\nMIT License\n\nCopyright (c) 2025 Related Code\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and\u002For sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","ProgressHUD 是一个专为 iOS 设计的轻量级且易于使用的 HUD 工具，提供了超过 5000 种动画效果。该项目使用 Swift 编写，并且最新版本（15.0.0+）基于 SwiftUI 构建，支持丰富的自定义选项，包括颜色、字体、图像、动画类型等，可以无缝地向用户展示简洁的通知或提示信息而不会干扰用户体验。它适用于需要在 iOS 应用中以非侵入性方式显示进度条、成功\u002F失败消息或其他即时反馈信息的各种场景，如数据加载、操作完成提示等。通过 Swift Package Manager 或手动集成均可方便地将其添加到项目中。","2026-06-11 03:10:15","top_language"]