MLTableAlert
===
**[MLTableAlert][1] is a block-based UIAlertView replacement which allows you to show table view in alerts for fast selection.**
MLTableAlert is completely based on UIView and it isn't a custom subclass of UIAlertView. It supports ARC and is compatible with iOS SDK 5.0 or later.
Here are some features:
* **Block-based**, no more delegates required.
* **table** property to access to the table view.
* **completionBlock** property to configure actions which have to be performed when Cancel button is pressed
* **selectionBlock** property to configure actions which have to be performed when a row in table view is pressed
* Custom height settings
* **Landscape** e orientation support for iPad
* Table alert creation through _class_ or _init_ method
* Table view customization managed by blocks: style your cells as you want
* Beautiful animations
* UIAlertView-like interface
* **Retina ready** and compatible with iPhone, iPod and iPad
This is how the alert looks like:
![MLTableAlert](http://www.matthewlabs.com/resources/external/MLTableAlertGitHubSmall.png "MLTableAlert")
Use MLTableAlert in your projects
---
1. Download the latest code version from the repository (using the Download Source button or your preferred command-line tool).
2. If you have to, extract the archive.
3. All you need is contained in the **MLTableAlert Files** folder.
4. Drag it to your project and make sure that the option Copy items is checked.
5. Add **QuartzCore framework** to your project.
Demo
---
A demo project, called **MLTableAlertDemo**, is included so you will see how to use this class.
License
---
The license for this source code is included in the **Source Code License** file.
It's a **BSD-like license with attribution**: you can use this code in your projects, even if they are commercial or closed-source; you only need to credit me!
For warranties and other info about this code, read the license file.
Changelog
---
**Version 1.3 @ July 3rd, 2013**
* Cancel button can also be omitted to show an alert for mandatory selection
* Cancel button drawing improvements
* Fixed typo and version numbers
**Version 1.2 @ March 30th, 2013**
* Landscape and Orientation support for iPad
* Bug fix
**Version 1.1 @ December 31st, 2012**
* Custom height settings: now you can set your preferred height to the alert
* Changed properties to instance variables in initialization methods
**Version 1.0 @ December 22nd, 2012**
* Initial release: probably there are some bugs and the code could be improved…
I'm here to hear your requests or issues and I hope this code will simplify your developer life!
Credits
---
**Matteo Del Vecchio**
**Matthew Labs**
Web: [Matthew Labs][2]
Twitter: [@MatthewLabs][3]
Facebook: [facebook.com/MatthewLabsDev][4]
Google+: [Matthew Labs Page][5]
[1]: http://www.matthewlabs.com/blog/mltablealert-an-overview/
[2]: http://www.matthewlabs.com/ "Matthew Labs"
[3]: http://twitter.com/MatthewLabs "Matthew Labs on Twitter"
[4]: http://www.facebook.com/MatthewLabsDev "Matthew Labs on Facebook"
[5]: https://plus.google.com/117759042318503506347 "Matthew Labs on Google+"
没有合适的资源?快使用搜索试试~ 我知道了~
基于块的UIAlertView替代品,允许您在警报中显示.zip
共27个文件
png:11个
m:4个
h:3个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 14 浏览量
2023-04-05
12:59:35
上传
评论
收藏 49KB ZIP 举报
温馨提示
基于块的UIAlertView替代品,允许您在警报中显示.zip
资源推荐
资源详情
资源评论
收起资源包目录
基于块的UIAlertView替代品,允许您在警报中显示.zip (27个子文件)
MLTableAlert-master
.gitattributes 28B
MLTableAlertDemo
Default@2x.png 16KB
ViewController.h 559B
AppDelegate.h 466B
AppDelegate.m 1KB
main.m 429B
MLTableAlertDemo-Prefix.pch 329B
MLTableAlertDemo-Info.plist 1KB
Default-568h@2x.png 18KB
Default.png 6KB
ViewController.m 2KB
en.lproj
ViewController.xib 16KB
InfoPlist.strings 45B
Source Code License.rtf 6KB
.gitignore 241B
MLTableAlert Files
MLTableAlert.h 2KB
MLTableAlert.m 12KB
Images
MLTableAlertButton.png 606B
MLTableAlertButtonPressed@2x.png 2KB
MLTableAlertBackground@2x.png 8KB
MLTableAlertButton@2x.png 1KB
MLTableAlertButtonPressed.png 603B
MLTableAlertBackground.png 7KB
MLTableAlertShadowMask.png 400B
MLTableAlertShadowMask@2x.png 1013B
README.md 3KB
MLTableAlertDemo.xcodeproj
project.pbxproj 19KB
共 27 条
- 1
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9156
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功