Just like the title says I'd like to know how I can create a Zombie Object in swift.
The reason I ask is because I'm trying to learn how to use the Zombie Instrument.
I have a sneaking suspicion that there may be Zombie Issues somewhere in my app but I need to verify that I fully understand how to use the instrument first.
I think a good way to do this is
- Create a Zombie Object Intentionally
- Run Zombie Instruments
- Observe the Zombie in Instruments
Edit
Just to be clear, what I'm after here a couple of lines of swift code to demonstrate how zombies actually occur.
My question is 100% related to the suggested duplicate question however the duplicate question asked provided no satisfactory answer.