{"id":18340093,"url":"https://github.com/rawandahmad698/luna","last_synced_at":"2025-08-30T07:13:03.118Z","repository":{"id":108860349,"uuid":"140679084","full_name":"rawandahmad698/Luna","owner":"rawandahmad698","description":"A very simple yet nice looking messages/notifications bar for iOS 11+.","archived":false,"fork":false,"pushed_at":"2019-07-16T17:55:59.000Z","size":19,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-22T06:57:02.667Z","etag":null,"topics":["alertview","notifications","swift","swift4"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rawandahmad698.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["rawandahmad698"],"patreon":"excitedmicrobe"}},"created_at":"2018-07-12T07:41:14.000Z","updated_at":"2023-04-10T09:39:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"f5d2b4f3-f71e-45cc-96f4-e4cf371cdf2e","html_url":"https://github.com/rawandahmad698/Luna","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rawandahmad698/Luna","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rawandahmad698%2FLuna","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rawandahmad698%2FLuna/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rawandahmad698%2FLuna/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rawandahmad698%2FLuna/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rawandahmad698","download_url":"https://codeload.github.com/rawandahmad698/Luna/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rawandahmad698%2FLuna/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272817303,"owners_count":24997963,"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-30T02:00:09.474Z","response_time":77,"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":["alertview","notifications","swift","swift4"],"created_at":"2024-11-05T20:20:56.110Z","updated_at":"2025-08-30T07:13:03.113Z","avatar_url":"https://github.com/rawandahmad698.png","language":"Swift","funding_links":["https://github.com/sponsors/rawandahmad698","https://patreon.com/excitedmicrobe"],"categories":[],"sub_categories":[],"readme":"# Luna\nA very simple yet nice looking style messages/notifications for iOS 7+.\n\n\n### iPhone 6s / Landscape **GIF**\n\n![alt text](https://res.cloudinary.com/dreamlabsaryan/image/upload/q_100/v1531382379/LunaiPhone_tpp9tz.gif \"iPhone\") ![alt text](http://res.cloudinary.com/dreamlabsaryan/image/upload/q_100/v1531382702/lunaiPhoneLandscape_uaoqrt.gif \"iPhone\") \n\n\n### iPhone X / Landscape **GIF**\n\n\n![alt text](http://res.cloudinary.com/dreamlabsaryan/image/upload/q_100/v1531382910/lunaX_jsiyef.gif \"iPhone X\")\n![alt text](http://res.cloudinary.com/dreamlabsaryan/image/upload/q_100/v1531382905/lunaXLandscape_m94t8w.gif \"iPhone X\")\n\n### iPad Pro\n![alt text](http://res.cloudinary.com/dreamlabsaryan/image/upload/q_100/v1531383028/Simulator_Screen_Shot_-_iPad_Pro_12.9-inch_2nd_generation_-_2018-07-12_at_10.32.36_kdphls.png \"iPhone\")\n\n## Getting Started\n\nDrag the **Sources** folder to your xcode project. \n\nAnd then use: \n\n```swift\n@IBAction func presentLuna(_ sender: Any) {\n        \n   let luna = Luna()\n   \n   // Set Luna properties\n   luna.setLuna(inView: self.view, title: \"Introducing our new football notifications on the Guardian app\", message: \"Today we are excited to announce the launch of our new and improved football notifications in our latest update to the Guardian app.\", dissmiss: 2)\n   \n   // Add luna to your view\n   self.view.addSubview(luna)\n   \n}\n```\n\n| Parameters        | Definition 🍉          | Required ✅ |\n| ------------- |:-------------:| -----:|\n| InView | Usually means the view you're going to add Luna into. self.view works on ViewControllers | Required ✅ |\n| title     | Bold-looking UILabel used as your notification Title      |   Required ✅ |\n| message | Your notification message      |    Required ✅|\n| dissmiss | For how many seconds should your message be visible?      |    Required ✅|\n\n## Future plans  \n\nYou can see existing and add new feature proposals on the projects GitHub page.\nPull requests are welcome!\n#### Roadmap\n+ Adding UITapGesture\n+ Buttons\n+ More Styles \n+ Customizable alert\n\n## Support  \n\nIf you need any assistance or find any bugs, feel free to contact me directly via email or create a new issue on the GitHub page.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frawandahmad698%2Fluna","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frawandahmad698%2Fluna","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frawandahmad698%2Fluna/lists"}