You've already forked FinalYearProject-MyMind
mirror of
https://github.com/MrLyallCSIT/FinalYearProject-MyMind.git
synced 2026-01-18 07:09:41 +00:00
35 lines
869 B
Swift
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.
|
|
}
|
|
|
|
|
|
}
|