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 ...

ADOBE LIGHTROOM REVIEW 2021

THE BEST IMAGE EDITOR IN 2021? Lightroom is best suited for professional photographers who require quick and detailed photo tweaks but is also intuitive enough for first-timers to use. The easy-to-read catalog function and simplicity of the slider tools make it an ideal application for any skillset. This makes the learning curve quite low. Adobe released Photoshop (PS) as a graphics editor in 1990. When digital photography became popular, PS became the way to edit photos. In 2007, Adobe released Lightroom (LR) with photographers in mind. In many ways, it’s a simpler version of Photoshop. It features the editing tools that photographers need. But Adobe redesigned the user interface to make common photographic adjustments easier. Many people think that Photoshop is a more powerful big brother to Lightroom. But Lightroom isn’t a “baby Photoshop”. The programs have developed side-by-side—each with their own strengths. In 2013, Adobe changed to a subscription model. They stopped...

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 ...