Skip to main content

IOS

Program 1: Write a Program to Print Student Details using Classes & Objects Step 1: Open Xcode Tool, Click on Create a new project Step 2: Choose a template for your new Project: Select iOS Under Application Select SingleView App click on Next Step 3: Choose options for your new project Product Name: iOSLabex1 Organisation Name: Jain Organisation Identifier: JGI Language: Swift Check Option Include Unit Tests Check Option UI Tests Click on Next Step 4: select the path where to save your project and Click on Create Button Step 5: Go to Main.Storyboard Drag and Drop objects from Object’s Library (5 TextField’s & 1 Button) design User Interface, Select the Object and use Attribute, Size & Connection Inspector’s. 19BTRCE014 – Akshaya Step 6: In ViewController.swift (Implement code as below) import UIKit class ViewController: UIViewController { @IBOutlet var t1:UITextField! @IBOutlet var t2:UITextField! @IBOutlet var t3:UITextField! @IBOutlet var t4:UITextField! @IBOutlet var t5:UITextField! @IBOutlet var b1:UIButton! override func viewDidLoad() { super.viewDidLoad() // Do any additional setup after loading the view. } @IBAction func b1Onclick(){ print ("Student Details are :\(t1.text!)\n\(t2.text!)\n\(t3.text!)\n\(t4.text!)\n\(t5.text!)") }} Step 7: Give the Connections for Objects & Methods In the Keyboard Press Command-S to save the Project & Command - R to run the Program, the output is

Comments

Popular posts from this blog

SITE123 REVIEW 2021

SITE123 review 2021 SITE123 Review: Is it possible to create a website in 3 steps? Author pranav kumar SITE123 Review SITE123 Overview Pricing Pros/Cons Rating details Conclusion Example Sites Alternatives FAQ Comments SITE123 is an editor that makes creating a website feel as easy as pie. As the name suggests, you can put together a website in three steps: choose a design, add content, and go live. The designs are divided into general categories like business, online store, or portfolio. They then break down into more specific niches like law firms, hair salons or gardening. There’s no complicated setup process since you can do everything in your browser. Like many other website builders, it also comes with a blog and online store. Their pricing structure is not really obvious, unfortunately. When you go to their pricing page, you might get the impression that there is only one premium plan available. In fact, there are several plans you can choose from, but you have to create a ...

Hostpoint review

Hostpoint The leading Swiss provider for your successful online platform. Hostpoint is the largest web hosting provider in Switzerland, managing more than 800,000 domain names and maintaining one of the most state-of-the-art, stable infrastructures available. Hostpoint offers some serious bang for your buck with advanced features you don’t find in most places. Their bank-certified data centers are an excellent choice for those looking for both speed and security from their hosting company. Features and Ease of Use Hostpoint offers some of the latest technology from data centers that are certified as bank data centers. Their standard features are anything but standard. They include: . 01.At least 50GB of storage standard 02.SSD cache accelerated storage 03.Unlimited bandwidth 04.One-click CMS activations for WordPress, Joomla, and more 05.Flash acceleration for data and all-flash storage for databases It offer's the best 01.Web hosting . 02. Domains . How much does Ho...

how-to-start-a-blog?

how-to-start-a-blog? how-to-start-a-blog? we know that Greengeeks has become a well known brand within the WordPress hosting industry with their blazing fast website performance, 24/7 U.S. based support, and an environmentally responsible platform. they provide automatic 1-click WordPress install, managed updates, enhanced security, free CDN, free site migration, and therefore the choice of over 5 different data center locations. GreenGeeks power over 600,000 websites and customers love them. On top of all this,combined with free SSL and a free name . GreenGeeks Review from Our Experts GreenGeeks may be a web hosting provider whose goal is to be as environmentally friendly as possible. they provide a spread of shared hosting plans for everybody from beginners to large companies. Their prices are affordable, and their plans include many useful features. See our expert GreenGeeks review to make a decision if it’s the proper choice for you. All web hosting companies offer simil...