GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Quiz

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

Abby Conrad 6 Fragen

Quiz starten

Fragen in diesem Quiz (6)

  1. 1When an application cannot perform the action that it wanted to execute, it tosses an error.
    1. ARichtig
    2. BFalsch
  2. 2When do you need to include @IBAction
    in front of any function?
    1. AWhen using something from the interface builder.
    2. BWhen creating a button.
    3. CWhen you want to print an error.
  3. 3If I created a function named testSound, how would I call it?
    1. Afunc testSound()
    2. B@IBAction func testSound()
    3. Cvar currentSound = testSound()
    4. Dvar playSound()
  4. 4You can create an audio file object by specifying that it is type AVAudioPlayer.
    1. ARichtig
    2. BFalsch
  5. 5What do you need to import in order to use audio files?
    1. AAVFoundation
    2. BIBuilder
    3. CSwiftAudio
    4. DIBOutlet
  6. 6When executing a do-catch, you need to use the following keyword in order to verify the capabilities of the object:
    1. Aif
    2. Btry
    3. Cfunc
    4. Dtest

Informationen

Beschreibung
Section 13 of Chapter 2 in Learn to Program using Swift for IOS Development
Sprache
English
Aufrufe
44
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck