Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ajijoyo/popup

create popup message information need to be confirm, or cancel
https://github.com/ajijoyo/popup

Last synced: 9 days ago
JSON representation

create popup message information need to be confirm, or cancel

Awesome Lists containing this project

README

        

# popup
create popup message information need to be confirm, or cancel

![alt text](https://github.com/ajijoyo/popup/blob/master/example.png)

#installation
just copy my folder popUp to your project and `import #popUp.h`

#usage

```objective-c
#import "popUp.h"

//for confirm or cancel show popup message
[[popUp showMessage:@"lorem ipsum\nipsum ipsum" withTitle:@"with title"]
withConfirm:@"confirm" onConfirm:^{

}withCancel:@"cancel" onCancel:^{

}];

//for confirm show popup message
[[popUp showMessage:@"lorem ipsum\nipsum ipsum" withTitle:@"with title"]
withConfirm:@"oke" onConfirm:^{

}];

//you need uncomment on line 36 in 'popUp.m' and fill your images
[popUp showProgress];

[popUp stopProgress];
```
#note
feel free to pull request for add new feature


why im using objective-c?? so you can use this freely on swift 2.x or 3.x