Created
January 12, 2016 21:21
-
-
Save makthrow/cb57eb7d45ab5a8d8915 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
class LoginViewController : PFLogInViewController { | |
var backgroundImage : UIImageView!; | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
// set our custom background image | |
backgroundImage = UIImageView(image: UIImage(named: "berry_welcome")) | |
backgroundImage.contentMode = UIViewContentMode.ScaleAspectFill | |
self.logInView!.insertSubview(backgroundImage, atIndex: 0) | |
// remove the parse Logo | |
let logo = UILabel() | |
logo.text = "GroceryDate" | |
logo.textColor = UIColor.whiteColor() | |
logo.font = UIFont(name: "Georgia", size: 70) | |
logo.shadowColor = UIColor.lightGrayColor() | |
logo.shadowOffset = CGSizeMake(2, 2) | |
logInView?.logo = logo | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment