Declare a direct link to a typedef block?

in one header file I have something like:

typedef void (^MyBlock)(void); 

I need to use the same exact link in another header file.

Of course, I can #import one header file into another or include a typedef in a global precompiled header, but is there a way to forward a link to a typedef block instead?

+8
objective-c objective-c-blocks
source share
1 answer

As far as I know, I would just put it in the general heading and include it where necessary.

+9
source share

All Articles