Hello
Recently i've tried to integrate a webview in my app
and while i tried to make the url for the web view but it doesn't work, Xcode says to me that (
webView?.load(request)"
it says to me this
"/ Extraneous '}' at top level"
Extraneous '}' at top level
Expected 'func' keyword in instance method declaration
Expected '(' in argument list of function declaration
Consecutive declarations on a line must be separated by ';'
Expected declaration In declaration of 'ViewController'
: Expected '{' in body of function declaration
Invalid redeclaration of 'webView()'
'webView' previously declared here
i'm a newbie in developmment and I don't know that much how to debug code,
this my webview code that i did before this line
import UIKit
import WebKit
class ViewController: UIViewController {
@IBOutlet weak var webView:WKWebView?
let request = URLRequest(url: URL(string: "https://www.exampleurl.com")!)