From 6eb7c859bb4364ce0627228580d94af2c42c18f0 Mon Sep 17 00:00:00 2001 From: Lucas Ortis Date: Tue, 1 Mar 2016 08:46:27 +0100 Subject: [PATCH] Update README.md --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 33b49c6..588841f 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,18 @@ pod "Translucid", '~> 0.0.1' # Usage ```swift + override func loadView() { + super.loadView() + + let starWars: Translucid = Translucid(frame: self.view.bounds) + starWars.font = UIFont(name: "Starjedi", size: 20)! + starWars.text = "Star Wars" + starWars.backgroundImage = UIImage(named: "stars") + + self.view.addSubview(starWars) + + starWars.animate() + } ``` # Author