Where do usually programmers put their blocks and functions?
in header files? or .m? are blocks and functions can be used on another class (imported) ?
from textbook it is said that blocks can be defined inside functions, it looks more flexible. But, when or on what conditions are more appropriate to use functions, blocks or methods?
How about using typdef on blocks?
Xcode provide convenience auto options (dropdown list of functions) such as :
typedef <return type>(^block name)(arguments);
How do I apply it in my program?
NSLog(@"programming is fun");
this one wont work