This library provides an easy to use class to show little notification views on the top of the screen. (à la Tweetbot). The notification moves from the top of the screen underneath the navigation bar and stays there for a few seconds, depending on the length of the displayed text. To dismiss a notification before the time runs out, the user can swipe it to the top or just tap it. There are 4 different types already set up for you, success, error, warning, message. It is very easy to add new notification types with a different design. Add the new type to the notificationType enum, add the needed design properties to the configuration file and set the name of the theme (used in the config file and images) in TSMessagesView.m inside the switch case. Take a look at the Example project to see how to use this library. You have to open the workspace, not the project file, since the Example project uses cocoapods.

Features

  • TSMessages is available through CocoaPods
  • You can define a default view controller in which the notifications should be displayed
  • You can customize a message view
  • You can customize message view elements using UIAppearance
  • Except the title and the notification type, all of the values are optional
  • The notification will automatically resize itself properly

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow TSMessages

TSMessages Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of TSMessages!

Additional Project Details

Operating Systems

Apple iPhone

Programming Language

Objective C

Related Categories

Objective C Communications Software, Objective C Security Software

Registered

2021-10-29