How to insert a WebView into a cocoa app?

Posted by spamoom on Stack Overflow See other posts from Stack Overflow or by spamoom
Published on 2010-06-01T10:23:18Z Indexed on 2010/06/01 11:03 UTC
Read the original article Hit count: 193

Filed under:
|
|
|
|

I'm rather new with the whole OSX programming, I wanted to stick a WebView into an empty app. Apparently it isn't as simple as sticking a WebView on a window in interface builder and creating an outlet.

IBOutlet WebView *webView;

It gives me a

expected specifier-qualifier-list before 'WebView'

and when I don't use an outlet, it terminates due to uncaught exception. I'm not too sure what these error messages mean.

Seems it isn't that simple!

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about xcode