gleue / TGLStackedViewController

A stacked view layout with gesture-based reordering using a UICollectionView -- inspired by Passbook and Reminders apps.
MIT License
1.21k stars 117 forks source link

How to add a title similar to Wallet app ? #46

Open adrianstanciu24 opened 7 years ago

adrianstanciu24 commented 7 years ago

I love this stacked view controller that you build. I am interesting to make something similar to Wallet app and I want to add a title on the top.

Can you give me some pointers on how to do this ? I am thinking that the Wallet app title might be a Section Header ? If so I need to implement this in the StackLayout class (and ExposedLayout ? ). Also I need it to stop at the top while scrolling and all cells go above it. Not sure if this will work automatically or I need to make changes.

What do you thing ?

Adrian

gleue commented 7 years ago

You could set the top inset of the collection view and place the title in the background.