Skip to content

rawandahmad698/Luna

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Luna

A very simple yet nice looking style messages/notifications for iOS 7+.

iPhone 6s / Landscape GIF

alt text alt text

iPhone X / Landscape GIF

alt text alt text

iPad Pro

alt text

Getting Started

Drag the Sources folder to your xcode project.

And then use:

@IBAction func presentLuna(_ sender: Any) {
        
   let luna = Luna()
   
   // Set Luna properties
   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)
   
   // Add luna to your view
   self.view.addSubview(luna)
   
}
Parameters Definition 🍉 Required ✅
InView Usually means the view you're going to add Luna into. self.view works on ViewControllers Required ✅
title Bold-looking UILabel used as your notification Title Required ✅
message Your notification message Required ✅
dissmiss For how many seconds should your message be visible? Required ✅

Future plans

You can see existing and add new feature proposals on the projects GitHub page. Pull requests are welcome!

Roadmap

  • Adding UITapGesture
  • Buttons
  • More Styles
  • Customizable alert

Support

If 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.

About

A very simple yet nice looking messages/notifications bar for iOS 11+.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages