Closed sunils27 closed 9 years ago
Hi, someone else had the same question. This library wasn't built with vertical flips in mind so it's not supported as of now. It's on my to do list though.
Below is a link where I go into some detail as to how to implement a vertical flip. https://github.com/djk12587/DJKFlipper/issues/1
Hi,
I was wondering if you had any examples with dynamic arrays for the flipView Array?
I'm pretty new to Swift, so I'm still figuring things out.
Thanks, Sunil
On Sun, Aug 9, 2015 at 8:49 PM, djk12587 notifications@github.com wrote:
Hi, someone else had the same question. This library wasn't built with vertical flips in mind so it's not supported as of now. It's on my to do list though.
Below is a link where I go into some detail as to how to implement a vertical flip.
1 https://github.com/djk12587/DJKFlipper/issues/1
— Reply to this email directly or view it on GitHub https://github.com/djk12587/DJKFlipper/issues/2#issuecomment-129270879.
By dynamic array do you mean an array that is not type specific?
In my example the flipperViewArray is an array of UIViewController types. If you wanted to you could use an array of UIViews instead or an NSMutableArray and put whatever type/subclass of UIView you want. The DJKFlipperView class only needs a collection of UIViews to work, how you serve DJKFlipperViews the UIViews is up to you.
Thanks for your reply. I'm getting the hang of it now.
Sunil
On Tue, Aug 25, 2015 at 7:59 AM, djk12587 notifications@github.com wrote:
By dynamic array do you mean an array that is not type specific?
In my example the flipperViewArray is an array of UIViewController types. If you wanted to you could use an array of UIViews instead or an NSMutableArray and put whatever type/subclass of UIView you want. The DJKFlipperView class only needs a collection of UIViews to work, how you serve DJKFlipperViews the UIViews is up to you.
— Reply to this email directly or view it on GitHub https://github.com/djk12587/DJKFlipper/issues/2#issuecomment-134577703.
Thanks for the great library.
Is it possible to extend this to flip along a horizontal axis as opposed to a vertical axis? If it already exists can you please provide an example/documentation.
Thanks!