Было бы лучше typedef
ваш блок.
//interface.h
typedef NSResultComparison (^ComparisonBlock)(id obj1, id obj2);
@interface ...
...
-(ComparisonBlock) getComparisonBlock;
@end
//implementation.m
//Here is your static block implementation
static ComparisonBlock myStaticBlock = ^(id obj1, id obj2)
{
...
return result;
};
@implementation ...
-(ComparisonBlock)getComparisonBlock
{
return myStaticBlock;
}
@end