I'am staring to use the Spring4D Framework for Delphi because of its Collections methods that delivers interfaces and all sort of other cool stuff.
I was wondering If there is a Interface I can use, when I need a Dictionary with a Class and that Dictionary should free the classes. Lets say Tdictionary<String,TMyClass>. How can I get my interface to free up TMyClass when the Dictionary goes out of scope?