Quiz
Section 2.13: Playing sounds with AVAudioPlayer, Error Handling with if let and do catch
Fragen in diesem Quiz (6)
1When an application cannot perform the action that it wanted to execute, it tosses an error.
- ARichtig
- BFalsch
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.
- ARichtig
- BFalsch
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
Informationen
- Beschreibung
- Section 13 of Chapter 2 in Learn to Program using Swift for IOS Development
- Autor
- Abby Conrad
- Sprache
- English
- Aufrufe
- 44
- Schlagwörter
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz