Abby Conrad
Test por , creado hace más de 1 año

Section 13 of Chapter 2 in Learn to Program using Swift for IOS Development

11
0
0
Abby Conrad
Creado por Abby Conrad hace más de 7 años
Cerrar

Section 2.13: Playing sounds with AVAudioPlayer, Error Handling with if let and do catch

Pregunta 1 de 6

1

When an application cannot perform the action that it wanted to execute, it tosses an error.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 2 de 6

1

When do you need to include @IBAction
in front of any function?

Selecciona una de las siguientes respuestas posibles:

  • When using something from the interface builder.

  • When creating a button.

  • When you want to print an error.

Explicación

Pregunta 3 de 6

1

If I created a function named testSound, how would I call it?

Selecciona una de las siguientes respuestas posibles:

  • func testSound()

  • @IBAction func testSound()

  • var currentSound = testSound()

  • var playSound()

Explicación

Pregunta 4 de 6

1

You can create an audio file object by specifying that it is type AVAudioPlayer.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 5 de 6

1

What do you need to import in order to use audio files?

Selecciona una de las siguientes respuestas posibles:

  • AVFoundation

  • IBuilder

  • SwiftAudio

  • IBOutlet

Explicación

Pregunta 6 de 6

1

When executing a do-catch, you need to use the following keyword in order to verify the capabilities of the object:

Selecciona una de las siguientes respuestas posibles:

  • if

  • try

  • func

  • test

Explicación