Quiet warning by adopting the official enum type result for hitTestForEvent:...
Cast the return from [IMBFSEventsWatcher sharedFileWatcher] to the expected type. Since it's an id the compiler was matching the setDelegate: call to another object and triggering a protocol mismatch warning for the argument.