Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ajijoyo/popup
- Owner: ajijoyo
- License: mit
- Created: 2016-11-28T07:27:33.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-09T05:03:16.000Z (about 8 years ago)
- Last Synced: 2024-11-23T11:28:59.050Z (3 months ago)
- Language: Objective-C
- Size: 107 KB
- Stars: 11
- Watchers: 4
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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