Birthday Wishes for a Marshmallow

When you’re sad
And feeling blue
Just remember
That I love you.

When you’re happy, well..
Tell me about you,
Tell me how happy you are,
I’m happy too.


Now read this

Context capturing C function pointers in Swift.

Take the following code: func foo() { let bar = NSObject() let f: (@convention(c) () -> ()) = { print(bar) } } This will not compile. You will instead be presented with the following error: error: a C function pointer cannot be formed... Continue →