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

Flywheel Hosting Review 2022

Flywheel hosting is a web hosting company that provides WordPress hosting result for web inventors, creative agencies, and web contrivers . The web hosting company provides dependable services and fast speed performance needed to insure that your point runs easily. Flywheel hosting company was launched in 2012 and has continued to grow as a leading WordPress hosting company in the vast web development assiduity. The company was created to give WordPress contrivers and inventors each over the world with dependable and quality web hosting services. It not only provides you with hosting services but also makes it easy for you to produce a website from scrape using the one-click staging features and its free rally spots. Flywheel hosting has a well- designed interface with an easy to use dashboard. It's erected on a important network structure that's enhanced for balance, speed and safety. Flywheel uses what's called the Flywheel Cloud Platform (powered by GCP) ...

Webnode: The Best Website Builder For Businesses And Personal Websites

Are you looking for the best website builder? Whether you are an entrepreneur, an entrepreneur-in-training, or a small business owner, you probably have a long list of tasks to complete before you can launch your business or website. This includes creating your website, determining its functionality, and choosing the right web hosting company. If you need help with your website projects, you need a website builder. Website builders are software tools that allow you to create your own website with minimal or no code. You simply tell the website builder what you want your website to look like and it produces your website. The majority of website builders are free and take minutes to learn. You can even use them if you’re a complete novice and just need a way to get your ideas down on paper before you start designing your website from scratch. In this article, we’ll discuss why you should use a website builder and how it can benefit your business. We’ll also share a list of our favorit...

Best Video Editing Software for 2021

At the point when you need to establish a solid connection, there's nothing very like moving pictures with sound. That is the reason computerized video keeps on filling in significance on the web. Couple that pattern with the steadily expanding accessibility of gadgets able to do high-goal video recording—cell phones, GoPros, DSLRs—and the case for incredible video altering programming turns out to be clear. The product should be usable by experts and nonprofessionals the same, and it needs to stay aware of more current arrangements like HEVC (High Efficiency Video Coding), HDR, and VR. It additionally should work with 4K video since normal gadgets are presently equipped for delivering 4K substance and in some cases considerably higher goals. Progressively, instruments stream down from proficient level programming to the shopper class. Multitrack altering, movement following, and progressed shading evaluating have all taken the jump. This pattern is an aid to nonprofessional film ...