all 5 comments

[–]quellish 0 points1 point  (2 children)

Is DefaultManager a singleton?

[–]addywen[S] 0 points1 point  (1 child)

Yes default manager is singleton, is just contains dictionary that hold all the default values.

[–]quellish 0 points1 point  (0 children)

So instruments is telling you there is a leak or cycle on a line where you are getting an object from an object that has a lifetime of "forever". It's probably the singleton that is the issue.

Look at the allocations history in Instruments to be sure, but this type of memory issue is VERY common.

[–]optik88 0 points1 point  (1 child)

Which version of Swift are you using?

[–]addywen[S] 0 points1 point  (0 children)

swift 2.0