You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
676 B
Swift

//
// ViewController.swift
// Google Keep
//
// Created by Flavien Haas on 27/12/2017.
// Copyright © 2017 Flavien Haas. All rights reserved.
//
import Cocoa
import WebKit
class ViewController: NSViewController {
@IBOutlet weak var webView: WKWebView!
override func viewDidLoad() {
super.viewDidLoad()
let googlekeepurl = URL(string: "https://keep.google.com")
let googlekeepurlrequest = URLRequest(url: googlekeepurl!)
webView.load(googlekeepurlrequest)
}
override var representedObject: Any? {
didSet {
// Update the view, if already loaded.
}
}
}