Tutorial details

Using Textfields | App Code for Sale | Preview

Using Textfields | iOS Tutorial

How to use textfields

Overview PAGE TOP

Reference: http://www.geekylemon.com/WEBPROTECT-xcodetextfields.htm

In this tutorial i will be showing you how to use textfields


  • 1 Textfield
  • 1 Label
  • 1 Round rect button

Using textfields in projects are essential for data apps that can help the user input there own data to add to the app or input data to function the app in this tutorial i show you how to input data and send it to display on a label .

ViewController.h PAGE TOP

@interface ViewController :UIViewController {
IBOutlet UITextField *textf;
IBOutlet UILabel *label;

ViewController.m PAGE TOP

@implementation ViewController
-(IBAction)button {
label.text = [NSString stringWithFormat:@"%@", [textf text]];
textf.text = @"";

Reference PAGE TOP


0 Comments Leave a comment

Please login in order to leave a comment.

Newest first

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.