uias / Tabman

™️ A powerful paging view controller with interactive indicator bars
https://uias.github.io/Tabman
MIT License
2.86k stars 237 forks source link

Retain Cycle when swiping throughPages #520

Open Guala99 opened 4 years ago

Guala99 commented 4 years ago

I have noticed that when I pass form a ViewController to another swiping with TabManI have memory that continuously goes up

mkll commented 4 years ago

@BellaGuala Can't confirm. Maybe the reason of memory consumption lays in some other place. Are you sure your own code doesn't leak?

Guala99 commented 4 years ago

@mkll No I also tried using some plain ViewControllers and when I swipe through them the memory continuously goes up, I guess it's a problem of TabMan. Also If I change TMBarItem the memory used goes up even faster

Guala99 commented 4 years ago

@mkll I also noticed the memory leak happens only when scrolling and not when I tap on TabBaritems to redirect in the right page.

msaps commented 4 years ago

@BellaGuala which version of Tabman are you using? and what does your TabmanViewController look like?