iOS development using Swift for C#ers
Tuesday, August 19, 2014
Button
Setup:
Drag the button onto the storyboard
Add handler:
@IBAction
func
btnClicked(btnTarget:
UIButton
!)
{
//add code here
}
On the storyboard, Right click drag from the button to yellow Viewcontroller icon and select the function btnClicked.
No comments:
Post a Comment
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment