Question

In: Computer Science

Intro to App Development with Swift by Apple education, Apple Education ITEC245, iOS App Development Description:...

Intro to App Development with Swift by Apple education, Apple Education

ITEC245, iOS App Development Description:

Write a report with your self reflection and learning outcome on below topics: 1. Playground Basics with sample program , Naming and Identifiers with sample program , Strings with sample program , First App with sample program , Functions with sample program

Solutions

Expert Solution

Playground Basics with sample program:

Apple developed a tool named xcode that provides a facility to develop an application using the programming language named swift. xcode will be dowload from app store and get start to program with swift.

open the xcode after dowload swift

Click on Get started with a playground and select blank iOS->Blank->Next

Give the file name Test.Playground and select the location an create.

sample playgrond code:

import Foundation

var message = "Hello! How are you?"
print(message)

sample output:

Naming and Identifiers with sample program

import Foundation

//declare a variable name identifier
var name:String = "John" //string type
var age:Int = 20 //integer type
print("My name is \(name) and \(age) years old") //print the name and age

sample output:

Strings with sample program

import Foundation

var str1:String = "Hello!" //declare first string
var str2:String = " How are you?" //declare second string
var message = str1 + str2 //concatinate both string
print(message) //print

sample program:

Functions with sample program

import Foundation
func message(name: String) -> String { //function with return type String
    let message = "Hello, " + name + "!" //message
    return message //return
}

print(message(name: "John")) //call the function

sample output:

First App with sample program:

Now create a simple app

Create a new Xcode project click on that and select the iOS->single Viw App->Next

Now give the name of the product selct language swift and user interface storyboard and click Next.

Select the location of the project and save it.

sample output:


Related Solutions

"swift Create a SwiftUI project named DogBreeds based on the Contacts app. The app should be...
"swift Create a SwiftUI project named DogBreeds based on the Contacts app. The app should be named DogBreeds. The app will display 10 dog images and names in a lis"
Create any IOS mobile application using swift that can do the following A user should be...
Create any IOS mobile application using swift that can do the following A user should be able to see all uncompleted tasks in a UITableView • A user should be able to create new tasks • A user should be able to edit a task • A user should be able to mark a task as complete • A user should be able to see all completed tasks in a UITableView • A user should be able to close and...
Week 8 Assignment 4 Submission If you are using the Blackboard Mobile Learn iOS App, please...
Week 8 Assignment 4 Submission If you are using the Blackboard Mobile Learn iOS App, please click "View in Browser”. Click the link above to submit your assignment. Students, please view the "Submit a Clickable Rubric Assignment" in the Student Center. Instructors, training on how to grade is within the Instructor Center. Assignment 4: Win the Contract Due Week 8 and worth 120 points Imagine your small business produces tiny remote control aircraft capable of long sustained flights. You are...
I need swift programming code and instruction of app Named Shortest path. Please explain at the...
I need swift programming code and instruction of app Named Shortest path. Please explain at the end of the code how to run the app on Xcode. Thanks
hot use blutooth on your app stimulation to connect to a device. xcode swift. please inclide...
hot use blutooth on your app stimulation to connect to a device. xcode swift. please inclide a code if possible.
Company is Apple Apple (who you are - Software developer) (Team you manage – App management...
Company is Apple Apple (who you are - Software developer) (Team you manage – App management ). What type of training do your employee needs? Why do they need training? Need Analysis info Determine an instructional scenario where new or revised training is appropriate; where there is an obvious gap between knowledge and performance. Determine what techniques you will use to gather data to substantiate the instructional need (surveys,questionnaires, interviews, etc). Develop a needs assessment instrument. Survey your target population/gather...
Virtual Study Group App Description: Virtual study group app is where Students can meet up on...
Virtual Study Group App Description: Virtual study group app is where Students can meet up on a common forum and prepare for their exams with other students who are studying the same subject. The app can provide them with study material, tools, discussion helps, guides and flash cards. I need: 1- usecase diagram for Virtual Study Group App ? 2-functionnel and non functionnel requirements ?
Apple company Propose a Product Development Process for Apple Watch
Apple company Propose a Product Development Process for Apple Watch
Essay question: Should Apple allow apps to be downloaded outside of it App Store? Need to...
Essay question: Should Apple allow apps to be downloaded outside of it App Store? Need to be answer in an essay paragraph forms at least 3 paragraphs. Also, introduction, Hook, Thesis statement and conclusion. Lastly, properly answer.
the class is the intro to healthcare. Discuss the future development of your selected profession. What...
the class is the intro to healthcare. Discuss the future development of your selected profession. What is its anticipated growth? What impact would technology have on it? Where is the profession headed? What are potential future barriers or expansions? that is the question. thank you
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT