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

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -