When I run the tools and check for leaks, it shows leaks, mainly consisting of:
_ContiguousArrayStorage<String> _NativeDictionaryStorageOwner<Int, CGFloat> _NativeDictionaryStorageOwner<String, AnyObject>
This is when I use Swift 3 and test on devices using iOS 10.
Leaks appear only in iOS 10, but on iOS 9.x everything seems normal. Also, in iOS 10, UISwitch does not seem to be released.
I am currently creating all kinds of workarounds, trying to avoid using dictionaries and in some cases arrays, which makes it really annoying for the code.
Question:
Should I worry about this and try to fix all these leaks or wait and hope that it will be fixed in future updates? If so, where can I check what errors are known, etc.
memory-leaks ios10 swift swift3 instruments
Henny lee
source share