GitXplorerGitXplorer
l

libbulletin

public
30 stars
14 forks
7 issues

Commits

List of commits on branch master.
Unverified
10456ea1a80ab584313dd7383cb3144549260d70

Updated readme

llimneos committed 6 years ago
Unverified
1b273b4bbd2f53080e9b77c4912e48fc11d49edc

Added iOS 12 support

llimneos committed 6 years ago
Unverified
6a2a556ba719923ffeb91232fbee89fdd578b3bf

Fixed crash on slide to unlock

llimneos committed 8 years ago
Unverified
01f6c3378f69905b44534cf7da2a6ec514d28213

Fixed NULL bundleID crash

llimneos committed 8 years ago
Unverified
be735a6fea1339529d32d78781d4510da2f54f32

Fixed iOS10 lockscreen dismissal

llimneos committed 8 years ago
Unverified
00558ec5b944216d5c191ebe7883669dcebce2f2

Sound & attachment fixes for iOS 10

llimneos committed 8 years ago

README

The README file for this repository.

libbulletin

Simple iOS library that displays simple or complex bulletins

Usage:

Show simple bulletin with bundle image:

[[objc_getClass("JBBulletinManager") sharedInstance] showBulletinWithTitle:@"Hey!" message:@"Come over!" bundleID:@"com.name.id"];

Show simple bulletin with custom bundle image:

[[objc_getClass("JBBulletinManager") sharedInstance] showBulletinWithTitle:@"Hey!" message:@"Come over!" overrideBundleImage:someUIImage];

Show simple bulletin with custom sound:

[[objc_getClass("JBBulletinManager") sharedInstance] showBulletinWithTitle:@"Hey!" message:@"Come over!" overrideBundleImage:someUIImage soundPath:soundToPlay];

That's it!

Works across iOS 5 to 12.1.2

All methods:

-(id)showBulletinWithTitle:(NSString *)title message:(NSString *)msg bundleID:(NSString *)bundleID;
-(id)showBulletinWithTitle:(NSString *)title message:(NSString *)msg bundleID:(NSString *)bundleID soundPath:(NSString *)soundPath;
-(id)showBulletinWithTitle:(NSString *)title message:(NSString *)msg bundleID:(NSString *)bundleID soundID:(int)inSoundID;
-(id)showBulletinWithTitle:(NSString *)title message:(NSString *)msg overrideBundleImage:(UIImage *)bundleImage;
-(id)showBulletinWithTitle:(NSString *)title message:(NSString *)msg overrideBundleImage:(UIImage *)bundleImage soundPath:(NSString *)inSoundPath;
-(id)showBulletinWithTitle:(NSString *)title message:(NSString *)msg inOverridBundleImage:(UIImage *)bundleImage soundID:(int)soundID;
-(id)showBulletinWithTitle:(NSString *)title message:(NSString *)msg bundleID:(NSString *)bundleID hasSound:(BOOL)hasSound soundID:(int)soundID vibrateMode:(int)vibrate soundPath:(NSString *)soundPath attachmentImage:(UIImage *)attachmentImage overrideBundleImage:(UIImage *)overrideBundleImage;