Files
FinalYearProject-MyMind/My Broken Mind/My Mind/ForumView.swift
Alexander Davis 0018e82ee5 App Completed
Basic Prototype App Completed. Proposal, Literature Review and Final
Report to Follow.
2017-04-13 18:18:38 +01:00

35 lines
869 B
Swift

//
// ForumView.swift
// My Mind
//
// Created by Alexander Davis on 31/03/2017.
// Copyright © 2017 Alexander Davis. All rights reserved.
//
import Foundation
import UIKit
class ForumViewController: UIViewController {
override var preferredStatusBarStyle: UIStatusBarStyle {
return .lightContent
}
@IBOutlet var webView: UIWebView!
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
let url = NSURL (string: "https://www.mymindforum.com");
let requestObj = NSURLRequest(url: url! as URL);
webView.loadRequest(requestObj as URLRequest);
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
}