SvenTiigi / WhatsNewKit

Showcase your awesome new app features 📱
https://sventiigi.github.io/WhatsNewKit/
MIT License
3.87k stars 190 forks source link

Feature - TableView Bounces Configurations #49

Closed lifely closed 3 years ago

lifely commented 3 years ago

Working w/ this and I found that I wish the Items tableView had it's bounces disabled. It seemed this behaviour was defaults until the following commit:

https://github.com/SvenTiigi/WhatsNewKit/commit/2b4bbac4c176aa7cd607a6646165b0c02a5ec3fd

Which simply re-enabled them, Without taking in consideration any user configuration. I've simply added a configuration attribute into ItemsView definition.

ItemsView.Bounces is an OptionSet allowing to request vertical / horizontal or both configuration.

I've setup the defaults to [.vertical] which mimic the behaviour set currently.

SvenTiigi commented 3 years ago

Hi @lifely,

Looks great! Good job 👍

Your changes will be available with the next release of WhatsNewKit