Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import UIKit
- class SobreViewController: UIViewController {
- @IBOutlet weak var info1: UILabel!
- @IBOutlet weak var info2: UILabel!
- @IBOutlet weak var versão: UILabel!
- @IBOutlet weak var framework: UILabel!
- @IBOutlet weak var node: UILabel!
- @IBOutlet weak var cordova: UILabel!
- @IBOutlet weak var info3: UILabel!
- @IBOutlet weak var info4: UILabel!
- override func viewDidLoad() {
- super.viewDidLoad()
- info1.text = "A aplicação móvel MyInfo@IPLeiria permite-te consultar de forma simples e rápida alguma da tua informação académica, quer lista de unidades curriculares a que estás inscrito no teu ano letivo atual, quer a data/hora das tuas avaliações, quer o teu horário, as tuas notas ou até mesmo a referência para o pagamento das propinas.";
- info1.sizeToFit();
- info2.text = "MyInfo@IPLeiria foi desenvolvida no âmbito de projeto final de Licenciatura de Engenharia Informática";
- info2.sizeToFit();
- versão.text = "1.0";
- /* Adicionar linha separadora */
- var lineView = UIView(frame: CGRect(x: 0, y: 100, width: 420, height: 1.0));
- lineView.layer.borderWidth = 1.0;
- lineView.layer.borderColor = UIColor.black.cgColor;
- [lineView .sizeToFit()];
- self.view.addSubview(lineView);
- framework.text = "1.0.0";
- node.text = "5.12.0";
- cordova.text = "5.4.1";
- info3.text = "Pode consultar toda a informação em modo online e em modo offline.";
- info3.sizeToFit();
- info4.text = "Copyright Politécnico de Leiria © 2019";
- info4.sizeToFit();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement