Objective C Blocks Sample Code Written By: Debasis Das (19-Apr-2015) In this post we will create sample codes for using blocks in an Cocoa Objective C Application Block with 1 input Parameter and 1 return Type int (^testBlock)(int) = ^int…
Objective C Blocks Sample Code Written By: Debasis Das (19-Apr-2015) In this post we will create sample codes for using blocks in an Cocoa Objective C Application Block with 1 input Parameter and 1 return Type int (^testBlock)(int) = ^int…
Blocks in Objective – C What is Block? Blocks are language level feature which allows to create distinct segments of code that can be passed around to methods and functions as if they were values. Blocks are Objective-C objects As…