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
There are a few Photoshop versions out there, so it might be difficult to pick the right one. In this article, I’ll go over the best options so you can start editing your photos with the right software. But first… What Kind of Photographer Are You? To find out which of the Photoshop versions is right for you, there are a few questions you need to ask yourself. Am I a hobby photographer or an aspiring professional? Do I have time to learn a difficult and extensive software program? How much money am I willing to spend? Do I want to add graphic design to my photography or heavily manipulate my photos? Each version of Photoshop or Lightroom has different possibilities. They are developed for different kinds of photographers. Make sure you know what you want to do with your photography and editing. Then, start thinking about downloading any of these Lightroom or Photoshop versions. Which of the Photoshop Versions Is Best for You? So, you know what you want to do with your pho...
Comments
Post a Comment