-
Notifications
You must be signed in to change notification settings - Fork 0
/
TumblrPhotoModalController.swift
45 lines (35 loc) · 1.32 KB
/
TumblrPhotoModalController.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
45
//
// TumblrPhotoModalController.swift
// comblie
//
// Created by Cal on 11/19/15.
// Copyright © 2015 Comblie. All rights reserved.
//
import UIKit
class TumblrPhotoModalController: UIViewController {
@IBOutlet weak var thumbnailImage: UIImageView!
@IBOutlet weak var profileImage: UIImageView!
@IBOutlet weak var postText: UILabel!
@IBOutlet weak var statusText: UILabel!
@IBOutlet weak var likeButton: UIButton!
@IBOutlet weak var reblogButton: 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.
}
*/
}