ajijoyo / Ajmessage
Licence: mit
Simple popup message
Stars: ✭ 30
Programming Languages
swift
15916 projects
Projects that are alternatives of or similar to Ajmessage
prophetjs
Vanilla JS library to display toast messages.
Stars: ✭ 31 (+3.33%)
Mutual labels: popup, message, notification
Customalertviewdialogue
Custom AlertView Dialogue is the world's most advanced alert view library. Custom AlertView Dialogue includes simple message popups, confirmation alerts, selector popups, action sheet bottom menus, and input/feedback contact forms.
Stars: ✭ 100 (+233.33%)
Mutual labels: message, popup
Nativescript Feedback
📢 Non-blocking textual feedback for your NativeScript app
Stars: ✭ 127 (+323.33%)
Mutual labels: message, notification
vercel-toast
💬 Framework-agnostic vercel design's toast component (≈1KB Gzipped)
Stars: ✭ 67 (+123.33%)
Mutual labels: popup, message
Vueup
Simple, lightweight and super fast global notification popup for Vue.js
Stars: ✭ 104 (+246.67%)
Mutual labels: popup, notification
Multiplatform-Bus
Kotlin event-bus compatible with Android & native iOS
Stars: ✭ 43 (+43.33%)
Mutual labels: message, notification
Fftoast
A very powerful iOS message notifications and AlertView extensions. It can be easily realized from the top of the screen, the bottom of the screen and the middle of the screen pops up a notification. You can easily customize the pop-up View.
Stars: ✭ 649 (+2063.33%)
Mutual labels: message, notification
Toast
To use it in PCL or .NetStandard projects write this line of code : CrossToastPopUp.Current.ShowToastMessage("Message");
Stars: ✭ 51 (+70%)
Mutual labels: message, notification
SimpleToast
SimpleToast is a simple, lightweight, flexible and easy to use library to show toasts / popup notifications inside iOS or MacOS applications in SwiftUI. Because of the flexibility to show any content it is also possible to use the library for showing simple modals.
Stars: ✭ 131 (+336.67%)
Mutual labels: popup, notification
Swiftentrykit
SwiftEntryKit is a presentation library for iOS. It can be used to easily display overlays within your iOS apps.
Stars: ✭ 5,706 (+18920%)
Mutual labels: popup, notification
Data Collection Dotnet
Data collection application built using the .NET Runtime SDK.
Stars: ✭ 17 (-43.33%)
Mutual labels: popup
Paypal Checkout Components
Javascript Integration for PayPal Button and PayPal Checkout
Stars: ✭ 938 (+3026.67%)
Mutual labels: popup
Inotify
📢 JS achieve the browser title flashing, scrolling, voice prompts, Chrome/Safari/FireFox/IE notice. has no dependencies. It not interfere with any JavaScript libraries or frameworks. has a reasonable footprint 5.05kb (gzipped: 1.75kb)
Stars: ✭ 892 (+2873.33%)
Mutual labels: notification
Battery notifier
Send an alarm to notification daemon if battery percentage become lower than a threshould
Stars: ✭ 16 (-46.67%)
Mutual labels: notification
Quickmyanimelist
[Abandoned] The dream Chrome Extension for you with a MyAnimeList account.
Stars: ✭ 6 (-80%)
Mutual labels: popup
AJMessage
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Requirements
XCode 10.2
Swift 5
Installation
AJMessage is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'AJMessage'
Changelog
- separated function show with initial view :
AJMessage(title: title, message: msg).show()
//or
let asd = AJMessage(title: title, message: msg)
asd.show()
- function callback
onHide
has deprecated and changed toonDismiss
and have valueAJMessage
class - add new configuration of backgroundcolor
setBackgroundColor
for each status - add new configuratoin of icon
setImage
for each status
Used
Simple used
AJMessage.show(title: "This is title", message: "message for description",position:.top).onHide {
print("did dissmiss")
}
Can use NSAttributeString
let title = NSAttributedString(string: "Title", attributes: [.font:UIFont.systemFont(ofSize: 15)])
let msg = NSMutableAttributedString(string: "aasdasd", attributes: [.font:UIFont.systemFont(ofSize: 14)])
let attach = NSTextAttachment()
attach.image = UIImage(named:"plus")
msg.append(NSAttributedString(attachment: attach))
msg.append(NSAttributedString(string: "asdasdasdasd asdasdasdasd asdasdasdasd asdasdasdasd asdasd"))
AJMessage.show(title: title, message: msg,position:.top).onHide {
print("did dissmiss")
}
customize config
for spesific view present
var config = AJMessageConfig()
/**
config.titleFont
config.setBackgroundColor(.cyan, status: .success)
config.setImage(UIImage(named:"warning"), status: .info)
*/
AJMessage.show(title: "This is title", message: "message for description", config: config)
for global view present
just set AJMessageConfig.shared
on didFinishLaunchingWithOptions
var config = AJMessageConfig.shared
/**
config.titleFont
config.setBackgroundColor(.cyan, status: .success)
config.setImage(UIImage(named:"warning"), status: .info)
*/
Author
ajijoyo, [email protected]
License
AJMessage is available under the MIT license. See the LICENSE file for more info.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].