Rogelio Martinez

1pod
RMTostada 框架提供显示多个不同样式的 tostadas 视图(吐司视图)的方法。RMTostada 能够同时显示多个 tostadas 视图,每个 tostadas 视图都将被添加到队列中。当 tostadas 视图将被隐藏时,队列中原有的所有后续 tostadas 视图(屏幕上的)都将进行位移。基本上有三个不同的 tostadas 视图
- Self dismissed: These tostadas views will be dismissed automatically after a time interval.
- Manually dismissed: These tostadas needs to be dismissed manually calling dismissWithId and sending the id of the tostada to dismiss.
- Manually dismissed with activity indicator: Same as Manually dismissed just that these will include an UIActivityIndicatorView at the end of the text.
如果存在 rootViewController 视图,所有的 tostadas 都将显示在根视图控制器视图中。
此框架基于 Charles Scalesse 的 Toast-Swift pod(https://github.com/scalessec/Toast-Swift)。
许可证: MIT