Skip to content

Instantly share code, notes, and snippets.

@BlueMilkApps
Created December 29, 2015 13:06
Show Gist options
  • Save BlueMilkApps/d90adb7b0c9bbcea2fe9 to your computer and use it in GitHub Desktop.
Save BlueMilkApps/d90adb7b0c9bbcea2fe9 to your computer and use it in GitHub Desktop.
import UIKit
class SecondaryViewController: UIViewController {
@IBOutlet weak var popupView: UIView!
override func viewDidLoad() {
super.viewDidLoad()
popupView.layer.cornerRadius = 10
popupView.layer.borderColor = UIColor.blackColor().CGColor
popupView.layer.borderWidth = 0.25
popupView.layer.shadowColor = UIColor.blackColor().CGColor
popupView.layer.shadowOpacity = 0.6
popupView.layer.shadowRadius = 15
popupView.layer.shadowOffset = CGSize(width: 5, height: 5)
popupView.layer.masksToBounds = false
}
override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment