You've already forked FinalYearProject-MyMind
mirror of
https://github.com/MrLyallCSIT/FinalYearProject-MyMind.git
synced 2026-01-18 07:09:41 +00:00
App Completed
Basic Prototype App Completed. Proposal, Literature Review and Final Report to Follow.
This commit is contained in:
34
My Broken Mind/My Mind/ForumView.swift
Normal file
34
My Broken Mind/My Mind/ForumView.swift
Normal file
@@ -0,0 +1,34 @@
|
||||
//
|
||||
// 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.
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user