Tutorial details

Swift Actions & Outlets | App Code for Sale | Preview

Swift Actions & Outlets | iOS Tutorial

In this tutorial i will be showing you how to add actions and outlets in swift Features: 1 Button, 1 Label

Overview PAGE TOP

In this tutorial i will be showing you how to add actions and outlets in swift.

Features:

  • 1 Button
  • 1 Label

Each object needs an action or an outlet to be controlled and we create them in the swift language.

ViewController.Swift PAGE TOP

import UIKit

class ViewController: UIViewController { @IBOutlet var Label: UILabel!
@IBAction func Button() {
Label.text = "Hello"
}
}

Reference PAGE TOP

http://www.geekylemon.com/swift-actions-and-outlets

0 Comments Leave a comment

Please login in order to leave a comment.

Newest first
!

Sign-in to your Chupamobile Account.

The Easiest way to Launch your next App or Game.

Join Chupamobile and get instant access to thousands of ready made App and Game Templates.

Creating an account means you’re okay with Chupamobile’s Terms of Service and Privacy Policy.