I have defined a callback block for a JSON service like so:
#import "JSONResult.h"
typedef void (^JSONResultHandler)(JSONResult*);
Obviously, the JSONResult typed argument is a custom type and its header file is included where this block is defined. Why do I then get the following error?
/Users/oyvind/code/_objc/JSONService.h:22:35: Unknown type name 'JSONResult'