Re: Some advice requested on debugging a difficult problem. iOS.
Jack Brindle
Alex;
toggle quoted message
Show quoted text
I think you may be going down the wrong path on this one. It sounds more like a second instance is being created somehow. Did you guard the init method so that no one can create a second one, or are you sure that the dictionary is not being released before you actually use it? As for guarding the init - in a singleton I always have the singleton accessor call a method named something like initOnce that is not accessible outside the class file, the code an init method that returns nil. Anyone calling init on the class will get the nil response. Hope this helps. Jack On Mar 26, 2019, at 8:53 AM, Alex Zavatone via Groups.Io <zav@...> wrote: |
|