Last active
August 29, 2015 14:19
-
-
Save Parietal/aa3687136167de970296 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
let plusButton = UIBarButtonItem(barButtonSystemItem: UIBarButtonSystemItem.Add, target: nil, action: nil) | |
var toolbarButtons = [plusButton]; | |
let toolbar = UIToolbar() | |
toolbar.sizeToFit() | |
toolbar.setItems(toolbarButtons, animated: true) | |
toolbar.backgroundColor = UIColor.whiteColor() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment