I figured it out. I was confused. The instance wasn't the right type!
The XCode debugger said that mWebView
was a pointer to a My_WebView
.
mWebView My_WebView * 0x000000010e0884c0
This led me to think, wrongly, that My_WebView
was also the runtime type of mWebView
. It wasn't, as NSLog(@"mWebView: %@", mWebView);
and po mWebView
revealed.
mWebView: <WebView: 0x1180ca4c0>
mWebView
was actually just a plain old Cocoa WebView
. That's why it wasn't responding to a LoadHTML
message. Problem solved.