Objective-C helpers
Blocks
A block of code is an structure with this format:
like:
This structures can be assigned or passed as a parameter or stacked.
Iterations
Memory management
When you have two objects that have a reference to each other, use this convention to avoid release locks: Downlinks member instance use retain. Uplinks member instance don’t use retain.
This avoid memory locks like this one: