Question
Does objective-c have any kind of functionality which allows me to compose my own blocks or IMP
s on the fly?
By that I mean let me link together arbitrary code snippets into a single block (and then perform imp_implementationWithBlock
) or just get an assembled IMP
straight up.
Pseudocode
(IMP) linkExistingBlock:LBExistingBlock With:^{
}
or
(IMP) linkExistingBlock:LBExistingBlock With:LBAnotherBlock