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

Choose best domain registrars in 2021: cheap ways to buy domain names

Every great website needs a snappy, memorable domain name. Coming up with something new is a serious challenge, but once inspiration strikes, you'll need to register that name with a domain name registrar before you can use it online. Registration isn't difficult, but first you must choose from the hundreds of companies competing for your business, and there are several things for you to consider before signing the virtual dotted line. We’ve also rounded up the best web hosting services How to choose the perfect domain registrar. Pricing structures can be complicated. A low headline figure could become expensive on renewal, for instance. Prices vary between domain extensions, too, so a registrar that offers great value for a .com domain might give you a poor deal on when it comes to .org. There may be extra costs for tasks like transferring your domain to another registrar, too. Read the small print before you sign up. Look for any bundled or optional extras. A Whois ...

Best wordpress hosting

You want to host your website with top grade website hosting company . I refer you just checkout hostpoint . One of the top web hosting company in switzerland. It already hosted more than 800,000 domains!. It provide fast hosting & security . Top green hosting in europe. Want to host your website at cheap rate justcheck out hostpoint. It's plans starting from low to high as per your requirment. Create a website quickly and easily! TRY FOR 30 DAYS Offers from CHF 14.90 per month Sites - all the details Web hosting The best hosting in Switzerland! TRY FOR 30 DAYS Offers from CHF 12.90 per month. The leading Swiss provider for your successful online presence. It provides 100% SSD based hosting . .CH domains starting from CHF 5. Get your own domain and start your business now. 01.It offers best simple solutions from a single source 02.We offer the best advice and understandable support 03.We offer efficient and secure infrastructure

Best Domain Registrars: Who’s the Cheapest and Should You Use Them?

HOSTPOINT Looking for the best domain registrars to purchase your website’s domain name? We’ve got you covered. In this article, we look at the most popular registrars With an anniversary competition Symbol to represent the 20th anniversary of Hostpoint We are celebrating 20 years of Hostpoint!. Hostpoint was founded 20 years ago. We take a look at our milestones and contrast these important events in the digital world. And what do you do with your domain ? Our domain service: all inclusive! We offer more for your domain - free DNS hosting and many valuable functions Clear domain control panel Redirects for your domains Free DNS hosting Only one login for all domains & services Easy transfer of domains to Hostpoint Domain DNS zone editor for full control All available domain extensions Pay conveniently by invoice or credit card Domain name server administration included . Hostpoint Domain Shield protect your domain name. With everything you create around your dom...