in one header file I have something like:
typedef void (^MyBlock)(void);
I need to use that same exact reference in another header file.
Sure, I can #import
one header file into another, or include the typedef in the global pre-compiled header, but instead is there a way to forward reference the block typedef?
Not as far as I know, I'd just put it in a shared header and include it where it is needed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With