What is the correct way to declare, instantiate and unwrap an optional closure?
I have a class CommentView
that has an optional closure (for simplification purposes, I’ve cut down the code to its bare basics to make it easy for the reader):
I have a class CommentView
that has an optional closure (for simplification purposes, I’ve cut down the code to its bare basics to make it easy for the reader):