Swift closure syntax and ObjC Block syntax

Find it hard to remember closures for swift or blocks for objective c. Here is easy way out at :




For every kinda blocks. Be it Anonymous self calling blocks or blocks passing arguments or blocks returning data or blocks returning blocks.
In case “fu***” is blocked in your office area… here is an alternative to the same content.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.