{"id":2410,"url":"https://github.com/bryx-inc/BRYXBanner","last_synced_at":"2025-08-02T23:33:22.665Z","repository":{"id":35526282,"uuid":"39797006","full_name":"bryx-inc/BRYXBanner","owner":"bryx-inc","description":"A lightweight dropdown notification for iOS 7+, in Swift.","archived":false,"fork":false,"pushed_at":"2023-08-16T15:29:45.000Z","size":845,"stargazers_count":1006,"open_issues_count":16,"forks_count":143,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-07-28T12:43:17.677Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/bryx-inc.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-07-27T20:45:57.000Z","updated_at":"2025-05-18T02:10:40.000Z","dependencies_parsed_at":"2024-01-02T21:24:54.377Z","dependency_job_id":null,"html_url":"https://github.com/bryx-inc/BRYXBanner","commit_stats":{"total_commits":102,"total_committers":28,"mean_commits":3.642857142857143,"dds":0.4607843137254902,"last_synced_commit":"c3b80eb25c8867833a7ff47d5809445da30dedfa"},"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/bryx-inc/BRYXBanner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryx-inc%2FBRYXBanner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryx-inc%2FBRYXBanner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryx-inc%2FBRYXBanner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryx-inc%2FBRYXBanner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bryx-inc","download_url":"https://codeload.github.com/bryx-inc/BRYXBanner/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryx-inc%2FBRYXBanner/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268472374,"owners_count":24255696,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-01-05T20:16:13.072Z","updated_at":"2025-08-02T23:33:22.259Z","avatar_url":"https://github.com/bryx-inc.png","language":"Swift","funding_links":[],"categories":["UI","Swift","Popups, Banners, Alerts"],"sub_categories":["Alert \u0026 Action Sheet","Other free courses"],"readme":"# BRYXBanner\n\n[![Version](https://img.shields.io/cocoapods/v/BRYXBanner.svg?style=flat)](http://cocoapods.org/pods/BRYXBanner)\n[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n[![License](https://img.shields.io/cocoapods/l/BRYXBanner.svg?style=flat)](http://cocoapods.org/pods/BRYXBanner)\n[![Platform](https://img.shields.io/cocoapods/p/BRYXBanner.svg?style=flat)](http://cocoapods.org/pods/BRYXBanner)\n\nA lightweight dropdown banner for iOS 7+.\n\n![Example](https://raw.githubusercontent.com/bryx-inc/BRYXBanner/master/Example/Demo.gif)\n\n## Usage\n\nImport `BRYXBanner`\n\n```swift\nimport BRYXBanner\n```\n\nCreate a banner using the designated initializer.\n\n```rust\nlet banner = Banner(title: \"Image Notification\", subtitle: \"Here's a great image notification.\", image: UIImage(named: \"Icon\"), backgroundColor: UIColor(red:48.00/255.0, green:174.0/255.0, blue:51.5/255.0, alpha:1.000))\nbanner.dismissesOnTap = true\nbanner.show(duration: 3.0)\n```\n\nIf you want the banner to persist until you call `.dismiss()`, leave the argument out of the call to `.show()`\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n## Requirements\n\nDemo project requires iOS 8, though BRYXBanner works on iOS 7+.\n\n## Installation\n\nBRYXBanner is available through [CocoaPods](http://cocoapods.org) and [Carthage](https://github.com/Carthage/Carthage). \n\n#### Using CocoaPods\n\nTo install it, simply add the following line to your Podfile:\n\n```swift\npod 'BRYXBanner'\n```\n\nIf you need to support iOS 7, just copy `Banner.swift` into your Xcode project.\n\n#### Using Carthage\n\nCreate a Cartfile in your project directory and add the following line.\n\n```swift\ngithub \"bryx-inc/BRYXBanner\"\n```\nRun `carthage update` from the command line. This will build the framework. The framework will be within `Carthage/build/BRYXBanner.framework`.\n\nAdd the framework to your project by going to your app's targets and selecting the General tab. Drag the built framework onto `Linked Frameworks and Libraries`\n\nGo to the Build Phases tab, click the `+` sign and add a new run script phase. Then add the following:\n\n```\n/usr/local/bin/carthage copy-frameworks\n```\nto the box under Shell. Finally click `+` to add a new input file. Replace the default with:\n\n```\n$(SRCROOT)/Carthage/Build/iOS/BRYXBanner.framework\n```\n\nNow build and run. You're all set! More information on Carthage is available [here](https://github.com/Carthage/Carthage).\n\n### Swift Package Manager\n\nSwift Package Manager integrates withj Xcode. To add BRYXBanner to your iOS project open your project in Xcode and select **File \u003e Swift Packages \u003e Add Package Dependency** and enter `git@github.com:bryx-inc/BRYXBanner.git` in the search bar.\n\n## Authors\n\nHarlan Haskins ([@harlanhaskins](https://github.com/harlanhaskins))\nAdam Binsz ([@adambinsz](https://github.com/adambinsz))\n\n## License\n\nBRYXBanner is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbryx-inc%2FBRYXBanner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbryx-inc%2FBRYXBanner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbryx-inc%2FBRYXBanner/lists"}