Ramotion / expanding-collection

:octocat: ExpandingCollection is an animated material design UI card peek/pop controller. iOS library made by @Ramotion

Home Page:https://www.ramotion.com/smartphone-app-development-ui-library-to-peek-and-pop-cards/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do I set the collection view's position in my viewcontroller?

junweimah opened this issue · comments

In the demo app Main.storyboard > DemoViewController, all I see is this :

image

There is nothing to configure the collection view where it needs to me.

When I implement it in my project, it looks like this on 5s:

img_0101

How do I set constraint for it in my viewcontroller?

Thanks

All the Collections are added programmatically.
In Second place in you .xib expanding collection you must put the FrontContainer over the BackContainer in the Tree View

How do I set the constraint for the front view? I want them to appear lets say 20 top, 10 left, 10 right in my view controller. How can I do that programmatically?