iOSTruths

Friday, 10 June 2016

create label and button through code in iOS - Objective C

1) Add below code in viewcontroller.h

UILabel *labelObj;

UIButton *butObj;


2) Add below code view controller.m

Posted by classicasp at 04:49
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

classicasp
View my complete profile

Blog Archive

  • ▼  2016 (21)
    • ►  August (2)
    • ▼  June (19)
      • UIModelTransition in iOS - Objective C
      • UIModelTransition in iOS - Objective C
      • Custom Segue for UIViewAnimation in iOS - Objective C
      • Collection View Controller in iOS - Objective C
      • Navigation Controller in iOS - Objective C
      • UIScroll View in iOS - Objective C
      • Image View with Array of Images in iOS - Objective C
      • TableView Controller - Use Case3 - in iOS - Object...
      • Table View Controller - Use Case 2 - in iOS Object...
      • Table View Controller - UseCase 1 - in iOS - Objec...
      • UIPickerview in iOS - Objective C
      • create label and button through code in iOS - Obje...
      • Text View in iOS - Objective C
      • Image View in iOS - Objective C
      • IBAction Manual Code in iOS - Objective C
      • IBAction Automatic Code Generation in iOS - Object...
      • IBOutlet Manual Code in iOS - Objective C
      • IBOutlet Automatic Code Generation in iOS - Object...
      • How to Add Custom Font in iOS - Objective C
Simple theme. Powered by Blogger.