Test
Section 2.13: Playing sounds with AVAudioPlayer, Error Handling with if let and do catch
Preguntas del test (6)
1When an application cannot perform the action that it wanted to execute, it tosses an error.
- AVerdadero
- BFalso
2When do you need to include @IBAction
in front of any function?- AWhen using something from the interface builder.
- BWhen creating a button.
- CWhen you want to print an error.
3If I created a function named testSound, how would I call it?
- Afunc testSound()
- B@IBAction func testSound()
- Cvar currentSound = testSound()
- Dvar playSound()
4You can create an audio file object by specifying that it is type AVAudioPlayer.
- AVerdadero
- BFalso
5What do you need to import in order to use audio files?
- AAVFoundation
- BIBuilder
- CSwiftAudio
- DIBOutlet
6When executing a do-catch, you need to use the following keyword in order to verify the capabilities of the object:
- Aif
- Btry
- Cfunc
- Dtest
Información
- Descripción
- Section 13 of Chapter 2 in Learn to Program using Swift for IOS Development
- Autor
- Abby Conrad
- Idioma
- English
- Visitas
- 44
- Etiquetas
- Valoración
- Aún sin valoraciones Valora este test