Comments (3)
That's correct. UITabBarController
keeps a strong reference to all view controllers, even when they're currently not displayed on screen. So, there's no need to confirm deallocation of view controllers in this case because they won't be deallocated until the tab bar controller is deallocated itself.
from deallocationchecker.
Thanks!, I thought that, but wasn't sure. Could be any sort of checking before the asserting if the VC is owned by a UITabBarController?
from deallocationchecker.
@sheinix I think it should have been fixed in 3.0. I added an explicit check for this case.
from deallocationchecker.
Related Issues (11)
- Wouldn't Instruments Leak profiling do the same thing? HOT 1
- Doesn't work when integrated through Carthage HOT 1
- SwiftPackage not working HOT 1
- UISearchController root? HOT 5
- Swizzling for automatic check HOT 4
- Update for Swift 4 HOT 2
- Doesn't work when imported in an Objective-c project? HOT 11
- Add unit tests HOT 1
- DeallocationChecker.swift:45:17: Method 'objc_dch_checkDeallocation(delay:)' with Objective-C selector 'dch_checkDeallocationAfterDelay:' conflicts with method 'dch_checkDeallocation(afterDelay:)' with the same Objective-C selector HOT 2
- Optimize for Swift4 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deallocationchecker.