RGDynamicOnboard 0.1

RGDynamicOnboard 0.1

测试已测试
语言语言 Obj-CObjective C
许可证 MIT
发布上次发布2015年3月

Ramon Gilabert 维护。



一个优雅的动态幻灯片,可以展示任何您想要的内容,只需添加一张图片,一些文本,并选择一个动画,RGDynamicOnboard 会处理其余的工作。您可以通过多种方式自定义您的幻灯片,添加静态图片,从一个页面切换到另一个页面的图片,添加文本,选择字体和一些颜色,仅用 5 行代码,您就拥有了一个完全响应式的幻灯片!

特色

  • 就像输入一个字符串并选择一些动画那么简单。
  • 为所有设备,动态计算尺寸。
  • 多种自定义选项。
  • 做得多,说得少。
  • 动态计算动画。
  • 左右移动的动画。
  • 不是所有页面同时加载,节省内存空间。

使用方法

将主文件导入您的 Xcode 项目或使用 Cocoapods 安装 pod。

创建一个简单的引导

self.mainSlideView = [[RGDynamicOnboard alloc] initFullscreenWithNumberOfSlides:3 andPageControl:YES inView:self.view];

自定义它,添加图片和文本

[self.mainSlideView addImage:[UIImage imageNamed:@"firstImage"] andText:@"Just like magic, add two lines of code and that's it..." toPageNumber:0];
[self.mainSlideView applyAnimationNumber:0 toGoFromPage:0];
[self.mainSlideView addImage:[UIImage imageNamed:@"secondImage"] andText:@"With multiple animations and some more options!" toPageNumber:1];
[self.mainSlideView applyAnimationNumber:0 toGoFromPage:1];
[self.mainSlideView addImage:[UIImage imageNamed:@"thirdImage"] andText:@"And some more customization is coming!" toPageNumber:2];
[self.mainSlideView applyAnimationNumber:0 toGoFromPage:2];

更多选项

添加静态图片、文本并自定义您的颜色。

示例

RGDynamicOnboard

RGDynamicOnboard

即将推出的功能

  • 向表中添加更多动画。

贡献

  1. 进行分支。
  2. 创建您的分支(git checkout -b feature-branch)。
  3. 提交您的更改(git commit -am 'Added this feature')。
  4. 将更改推送到分支(git push origin feature-branch)。
  5. 创建新的 pull request。

完成者

Ramon Gilabert,倾情奉献! :)