Is it complusory to use "in" keyword in closure? If no then what is the syntax wise difference between closure and computed property in swift? – Ios swift
In swift use of get and set is not compulsory and if use of "in" in closure is also not compulsory then how to differentiate a closure and computed property? Like in below example greet is a closure or computed…