According to "Reveal" version 6, I have over 100 tabs in memory, each with a different memory address, even though I've only defined the tab to have a single, centered tab.
I think you guys have a bad leak in the slide tab view.
Hello,
Without more information about how you're using the control it's hard to understand what could be creating extra views. I created a quick sample to take a look and didn't notice anything off.
(Link)
Attached to this reply is the sample project. If possible, could you update the sample to help reproduce your issue?
I'll try and get to a sample project this weekend.
It appears that each time I slide open and close my single, centered tab, a new tab is added in memory (though not visually).
I ran the sample through the Instruments Leaks tool and didn't see anything extra being added after 30 seconds of opening and closing tabs.
A few replies ago I had included a sample project. If you want, give it a try and maybe modify it to see if you're getting the same issue.
Hmmm... ok.
Well maybe I'm using it wrong, but I'm not adding tabs more than once.
I set a breakpoint at the place in code where I set up the tab, and it's never hit more than the initial first time.
Really odd