• Stars
    star
    170
  • Rank 223,357 (Top 5 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created almost 7 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A wonderful 3D animation

AISphereView

CI Status Version License Platform

Purpose

I like to realize UI effects when I am free. The AISphereView was inspire by QQ Browser.

Here is the proto effect:

And here is AISphereView:

Example

You can clone or download the example to have fun with it.

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

AISphereView is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'AISphereView'

Usage

The API is very easy to use:

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

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

PS:

  1. For saving memory. AISphereView will not hold 'items' when '- (void)pushToCenter:(UIView *)centerView withItems:(NSArray <UIView >)items' gets called.
  2. You need use a stack to manager the data yourself when push. (Example project for your reference)

Author

mayqiyue, [email protected]

License

AISphereView is available under the MIT license. See the LICENSE file for more info.