Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1. import UIKit
  2.  
  3. class SobreViewController: UIViewController {
  4.  
  5. @IBOutlet weak var info1: UILabel!
  6. @IBOutlet weak var info2: UILabel!
  7. @IBOutlet weak var versão: UILabel!
  8. @IBOutlet weak var framework: UILabel!
  9. @IBOutlet weak var node: UILabel!
  10. @IBOutlet weak var cordova: UILabel!
  11. @IBOutlet weak var info3: UILabel!
  12. @IBOutlet weak var info4: UILabel!
  13.  
  14. override func viewDidLoad() {
  15. super.viewDidLoad()
  16.  
  17. 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.";
  18. info1.sizeToFit();
  19.  
  20. info2.text = "MyInfo@IPLeiria foi desenvolvida no âmbito de projeto final de Licenciatura de Engenharia Informática";
  21. info2.sizeToFit();
  22.  
  23. versão.text = "1.0";
  24.  
  25. /* Adicionar linha separadora */
  26. var lineView = UIView(frame: CGRect(x: 0, y: 100, width: 420, height: 1.0));
  27. lineView.layer.borderWidth = 1.0;
  28. lineView.layer.borderColor = UIColor.black.cgColor;
  29. [lineView .sizeToFit()];
  30. self.view.addSubview(lineView);
  31.  
  32. framework.text = "1.0.0";
  33.  
  34. node.text = "5.12.0";
  35.  
  36. cordova.text = "5.4.1";
  37.  
  38. info3.text = "Pode consultar toda a informação em modo online e em modo offline.";
  39. info3.sizeToFit();
  40.  
  41. info4.text = "Copyright Politécnico de Leiria © 2019";
  42. info4.sizeToFit();
  43.  
  44. }
  45. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement