{"id":2419,"url":"https://github.com/takuoka/TKSwarmAlert","last_synced_at":"2025-08-03T00:31:49.247Z","repository":{"id":36785398,"uuid":"41092159","full_name":"takuoka/TKSwarmAlert","owner":"takuoka","description":"Animated alert library like Swarm app.","archived":false,"fork":false,"pushed_at":"2019-03-30T23:20:14.000Z","size":32876,"stargazers_count":581,"open_issues_count":7,"forks_count":56,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-07-01T19:07:57.986Z","etag":null,"topics":["animation-library","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/takuoka.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-20T11:27:15.000Z","updated_at":"2025-03-01T10:51:46.000Z","dependencies_parsed_at":"2022-08-29T04:00:31.190Z","dependency_job_id":null,"html_url":"https://github.com/takuoka/TKSwarmAlert","commit_stats":null,"previous_names":["entotsu/tkswarmalert"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/takuoka/TKSwarmAlert","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takuoka%2FTKSwarmAlert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takuoka%2FTKSwarmAlert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takuoka%2FTKSwarmAlert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takuoka%2FTKSwarmAlert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/takuoka","download_url":"https://codeload.github.com/takuoka/TKSwarmAlert/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takuoka%2FTKSwarmAlert/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265311851,"owners_count":23745155,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["animation-library","swift"],"created_at":"2024-01-05T20:16:13.310Z","updated_at":"2025-08-03T00:31:47.388Z","avatar_url":"https://github.com/takuoka.png","language":"Swift","funding_links":[],"categories":["UI","Swift"],"sub_categories":["Alert \u0026 Action Sheet"],"readme":"\n# TKSwarmAlert\n\n[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n[![Platform](http://img.shields.io/badge/platform-ios-blue.svg?style=flat\n)](https://developer.apple.com/iphone/index.action)\n[![Language](http://img.shields.io/badge/language-swift-brightgreen.svg?style=flat\n)](https://developer.apple.com/swift)\n[![License](http://img.shields.io/badge/license-MIT-lightgrey.svg?style=flat\n)](http://mit-license.org)\n[![CocoaPods](https://img.shields.io/cocoapods/v/TKSwarmAlert.svg)]()\n\nAnimation Tool for Alert like [Swarm](https://swarmapp.com/) app.\n\n# ScreenShot\n![Demo GIF Animation](https://raw.githubusercontent.com/entotsu/TKSwarmAlert/master/ScreenShots/minidemo.gif \"Demo GIF Animation\")\n\n\u003c!-- You can play demo at [appetize.io](https://appetize.io/app/hbj0vawpk8uw9z00838vz5he4g). --\u003e\n\n# Installation\n\n#### CocoaPods\nYou can use [CocoaPods](http://cocoapods.org/) to install `TKSwarmAlert` by adding it to your `Podfile`:\n\n```ruby\nplatform :ios, '8.0'\nuse_frameworks!\npod 'TKSwarmAlert'\n```\n\nTo get the full benefits import `TKSwarmAlert` wherever you import UIKit\n\n``` swift\nimport UIKit\nimport TKSwarmAlert\n```\n\n#### Carthage\nCreate a `Cartfile` that lists the framework and run `carthage bootstrap`. Follow the [instructions](https://github.com/Carthage/Carthage#if-youre-building-for-ios) to add `$(SRCROOT)/Carthage/Build/iOS/YourLibrary.framework` to an iOS project.\n\n```\ngithub \"entotsu/TKSwarmAlert\"\n```\n#### Manually\n1. Download and drop ```YourLibrary.swift``` in your project.  \n2. Congratulations!  \n\n# Usage\n\n``` swift\nimport TKSwarmAlert\n```\n\n\n## Show\n\n``` swift\nlet alert = TKSwarmAlert()\nalert.show(type: .BrightBlur, views: [yourViews1, yourViews2, yourViews3])\n```\n\n## Static Views\nYou can also add non-animated views to alert view.\nPlease use this method before \"show\".\n\n``` swift\nalert.addSubStaticView(yourStaticView)\n```\n\n![Demo GIF Animation](https://raw.githubusercontent.com/entotsu/TKSwarmAlert/master/ScreenShots/static.gif \"Demo GIF Animation\")\n\n\n## Event Handler\n\n``` swift\nalert.didDissmissAllViews = {\n    println(\"didDissmissAllViews\")\n}\n```\n\n\n# TKSWBackgroundType\n\n## .TransparentBlack\n![Demo GIF Animation](https://raw.githubusercontent.com/entotsu/TKSwarmAlert/master/ScreenShots/black.gif \"Demo GIF Animation\")\n\n## .Blur\n![Demo GIF Animation](https://raw.githubusercontent.com/entotsu/TKSwarmAlert/master/ScreenShots/blur.gif \"Demo GIF Animation\")\n\n## .BrightBlur\n![Demo GIF Animation](https://raw.githubusercontent.com/entotsu/TKSwarmAlert/master/ScreenShots/bright.gif \"Demo GIF Animation\")\n\n# Kind of Blur\n\n* branch `master` -\u003e UIVisualEffectView\n* branch `DynamicBlur` -\u003e DynamicBlurView (beautiful but unstable)\n\n\n# Popup view is just a UIView.\n\nSo, you can add original view.\n\n![Demo GIF Animation](https://raw.githubusercontent.com/entotsu/TKSwarmAlert/master/ScreenShots/your.gif \"Demo GIF Animation\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakuoka%2FTKSwarmAlert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftakuoka%2FTKSwarmAlert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakuoka%2FTKSwarmAlert/lists"}