Pre-Summer Special Sale - 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: best70

Page: 1 / 2
Total 12 questions
Exam Code: App-Development-with-Swift-Certified-User                Update: May 14, 2026
Exam Name: App Development with Swift Certified User Exam

Apple App Development with Swift Certified User Exam App-Development-with-Swift-Certified-User Exam Dumps: Updated Questions & Answers (May 2026)

Question # 1

Review the code:

Given a struct called Animal, what line of code should be added on line 5 in order to produce the output shown?

A.

Text(Animal.name)

B.

Text(Animals[animal].name)

C.

Text(animals[animal].name)

D.

Text(animal.name)

Question # 2

Review the code snippet.

Which statement completes the code snippet so that:

• The lastReleaseDate remains the same when nextApplePhone.releaseDate is nil.

• The lastReleaseDate updates to the nextApplePhone.releaseDate when nextApplePhone.releaseDate is NOT nil.

A.

nextApplePhone.releaseDate : lastReleaseDate

B.

lastReleaseDate : nextApplePhone.releaseDate

C.

lastReleaseDate : nextApplcPhone.rcleaseDate!

D.

nextApplePhone.releaseDate! : lastReleaseDate

Question # 3

Refer to this image to complete the code.

Note: You will receive partial credit for each correct answer

Question # 4

You are creating or updating human resource records for your employees. For each identifier, select whether it is a Constant or a Variable

Note: You will receive partial credit for each correct answer.

Question # 5

Review the code.

var capitalCities = [ " USA " : " Washington D.C. " , " Spain " : " Madrid " , " Peru " : " Lima " ]

Which two statements add the capital city of " Italy " to the dictionary? (Choose 2.)

A.

capitalCities[ " Rome " ] = " Italy "

B.

capitalCities.append([ " Italy " : " Rome " ])

C.

capitalCities[ " Italy " ] = " Rome "

D.

capitalCities = capitalCities + [ " Italy " : " Rome " ]

E.

capitalCities.updateValue( " Rome " , forKey: " Italy " )

Question # 6

Drag the views on the left to the correct locations m the code on the fight to match the shown canvas.

You may use each View once, more than once, or not at all.

Question # 7

Review the code.

struct ContentView: View {

let fruits = [ " Apple " , " Banana " , " Kiwi " ]

var body: some View {

List(fruits, id: \.self) { fruit in

Text(fruit)

.font(.headline)

.padding()

}

}

}

Which of the following statements is true about the code?

A.

The id: \.self in the List view is not necessary and may be omitted.

B.

KeyPaths are used here to extract the font and padding properties dynamically.

C.

The id: \.self in the List view should be rewritten as id: /self

D.

The List view is using the fruits array to display the contents as individual rows.

Question # 8

Why does the initializer for the following struct need the keyword self?

A.

self is used to indicate to the reader that the parameter is being referenced.

B.

self is always needed when you are setting properties in an initializer.

C.

self is needed to distinguish between the property and the parameter with the same name.

D.

self is only needed when the property does not have a default value.

Question # 9

You have a set of Views within a ZStack that produce the screen below:

Arrange the lines of code that will make up the ZSlack so that the View appears as shown.

Question # 10

Given the function definition, which two statements call the function correctly? (Choose 2.)

Based on the image provided, here is the text for each of the multiple-choice options:

A.

schedule(who: " Jane Doe " , from: " 9:30am " , to: " 10:30am " , place: " Office " )

B.

schedule(who name: " Jane Doe " , from starting: " 9:30am " , to ending: " 10:30am " )

C.

schedule(who: " Jane Doe " , from: " 9:30am " , to: " 10:30am " , " Office " )

D.

D. schedule(name: " Jane Doe " , starting: " 9:30am " , ending: " 10:30am " , place: " Office " )

E.

E. schedule(who: " Jane Doe " , from: " 9:30am " , to: " 10:30am " )

Page: 1 / 2
Total 12 questions

Most Popular Certification Exams

Payment

       

Contact us

Site Secure

mcafee secure

TESTED 14 May 2026