Validator icon indicating copy to clipboard operation
Validator copied to clipboard

Retain Cycles

Open technocidal opened this issue 8 years ago • 4 comments
trafficstars

First of all: Great job on this project! I love using it!

I was wondering if it is intentional that validationRuleSets and validationHandler are strongly referenced and that they cannot be set to nil. I'm trying to get my code as efficient as possible and this prevents ViewController from being deinitialized.

Thanks in advance

technocidal avatar Sep 13 '17 20:09 technocidal

Oops! No that definitely isn't intentional. Do you mind sharing your example so I can attempt to fix it?

adamwaite avatar Sep 15 '17 22:09 adamwaite

Sorry that my response took so long, but I had to fix some more important stuff first. I will try to get an example ready by next week so that you can take a look at it. Thank you for your patience!

technocidal avatar Oct 12 '17 09:10 technocidal

That's cool! I've actually been thinking to remove all that Obj-C runtime madness. Not sure what I was thinking when I wrote that originally.

adamwaite avatar Oct 12 '17 10:10 adamwaite

I can't think of a nice solution for this!

adamwaite avatar Jun 05 '19 22:06 adamwaite