How to call a function which is returning another function in Swift? -
will please guide me how call function returning function in swift.
i think need this:
func f1() -> () -> int { let = 3 func f2() -> int { return } return f2 }
this function of course useless, give idea.
Comments
Post a Comment