SyntaxFix
Write A Post
Hire A Developer
Questions
Put [unowned self] before (text: String)... in your closure. This is called a capture list and places ownership instructions on symbols captured in the closure.
[unowned self]
(text: String)...