-
Notifications
You must be signed in to change notification settings - Fork 0
/
VineVideoModalController.swift
44 lines (34 loc) · 1.26 KB
/
VineVideoModalController.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//
// VineVideoModalController.swift
// comblie
//
// Created by Cal on 11/5/15.
// Copyright © 2015 Comblie. All rights reserved.
//
import UIKit
class VineVideoModalController: UIViewController {
@IBOutlet weak var thumbnailImage: UIImageView!
@IBOutlet weak var profileImage: UIImageView!
@IBOutlet weak var postText: UILabel!
@IBOutlet weak var statusText: UILabel!
@IBOutlet weak var playButton: UIButton!
@IBOutlet weak var lineHeight: NSLayoutConstraint!
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view.
self.profileImage.layer.cornerRadius = CGFloat(self.profileImage.frame.height/2)
self.lineHeight.constant = CGFloat(0.5)
}
//MARK: Actions
@IBAction func cancel(sender: UIButton) {
self.dismissViewControllerAnimated(true, completion: nil)
}
/*
// MARK: - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
// Get the new view controller using segue.destinationViewController.
// Pass the selected object to the new view controller.
}
*/
}