Cocoa app that opens a website in a Web View right when its launched

Hi, I’m new to Xcode and to Swift, but I’d like to learn a lot! I’ll try to explain and detail my question as much as I can… So, I was wondering if it was possible to add a Web View to a Cocoa application, and get it to load a website when its launched.. I tried, with what I know, (and with some Youtube videos), to code the desired app, but the WebView wasn’t loading for some reason..

 

Also, I’d like to know which “Web Viewer” is the best for what I’m trying to do, “WebKit View” or “Web View (Legacy)”.

 

 

(Using Xcode 9.4.1)

 

Thanks,

Milou

Powered by WPeMatico

About

You may also like...

Comments are closed.