AISphereView 1.3.0

AISphereView 1.3.0

may362321  维护。



  • mayqiyue

AISphereView

CI Status Version License Platform

目的

我喜欢在空闲时实现 UI 效果。AISphereView 受到了来自 QQ 浏览器 的启发。

下面是原型效果

以下是 AISphereView

示例

您可以克隆或下载示例来享受其中的乐趣。

要运行示例项目,请克隆仓库,然后首先从示例目录中运行 pod install

安装

AISphereView 可通过 CocoaPods 获取。要安装,只需将以下行添加到您的 Podfile 中。

pod 'AISphereView'

使用方法

API 使用非常简单。

- (void)pushToCenter:(UIView *)centerView withItems:(NSArray <UIView *>*)items;

- (void)popToCenter:(UIView *)centerView withItems:(NSArray <UIView *>*)items;

说明

  1. 为了节省内存,当调用 '- (void)pushToCenter:(UIView *)centerView withItems:(NSArray <UIView >)items' 时,AISphereView 将不会保留 'items'。
  2. 您需要在推送时使用堆栈来管理自己的数据。(示例项目供参考)

作者

mayqiyue, [email protected]

许可证

AISphereView 在 MIT 许可之下提供。有关更多信息,请参阅 LICENSE 文件。