Created
December 29, 2015 13:06
-
-
Save BlueMilkApps/d90adb7b0c9bbcea2fe9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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