lucoceano / Pager

Pager is the simplest and best way to implement sliding view controllers in Swift
MIT License
232 stars 41 forks source link

Memory leak fix and top/bottom bar height ignore option. #46

Closed matijakregar closed 6 years ago

matijakregar commented 7 years ago

Data source and delegate variables are set to weak to prevent a retain cycle, which prevents the PagerController objects to deallocate from memory.

ignoreTopBarHeight and ignoreBottomBarHeight options are added so the view can be sized appropriately if it is embedded in as a child view controller (through Container View in storyboard).

lucoceano commented 7 years ago

@matijakregar thanks! I'll have a look at the weekend

musiienko commented 6 years ago

bump

lfarah commented 6 years ago

@matijakregar thanks for contributing 👍

lfarah commented 6 years ago

@lucoceano can you release a new CocoaPods version please?