I have the following class:
class Circle: CustomStringConvertible, Hashable, Equatable
{
...
var bonus5Circles = [Circle]()
...
}
Now, in most cases the bonus5Circles array will be empty, but in some cases it will contain some subset of Circles. This seems to function properly in code, but my question is whether this is creating a strong reference cycle. I have noticed leaks that I cannot track down in functions when a bonus is created, and was wondering if it could be tracked to this property.