BastiaanJansen / toast-swift

Customizable Swift Toast view built with UIKit. 🍞
MIT License
467 stars 77 forks source link

Will strong references to "view" lead to memory leaks? #58

Open MrYu4 opened 4 months ago

MrYu4 commented 4 months ago

what I read your code at "ToastConfiguration.swift" and did find this:

public struct ToastConfiguration {
...
    public let view: UIView?

I'm not sure it will make memory at some condition.....