Return to Video

Audio Recorder Did Finish Recording - Intro to iOS App Development with Swift

  • 0:00 - 0:03
    Okay, so we're looking at, the newly added function,
  • 0:03 - 0:07
    audioRecorderDidFinishRecording, and in here, I want to do two things.
  • 0:07 - 0:10
    The first thing to do, is to save the recorded audio, and
  • 0:10 - 0:14
    the next thing I want to do, is to move to the second scene of the app.
  • 0:14 - 0:16
    AKA perform a segue.
  • 0:16 - 0:19
    Let's begin with step one, which is to save the recorded audio.
  • 0:19 - 0:22
    Now, I'm looking to save two things about the recorded audio,
  • 0:22 - 0:26
    the title of that file and the path where it is stored on the phone.
  • 0:26 - 0:30
    I'll do that, by creating a new class called RecordedAudio.
  • 0:30 - 0:32
    By the way, in case you're wondering, this new class.
  • 0:32 - 0:38
    Will be the model for our app, and that will form the M of the acronym MVC.
  • 0:38 - 0:39
    Let's create this class next.
Cím:
Audio Recorder Did Finish Recording - Intro to iOS App Development with Swift
Leírás:

05-10 Audio Recorder Did Finish Recording

more » « less
Video Language:
English
Team:
Udacity
Projekt:
UD585 - Intro to iOS App Development with Swift
Duration:
0:40

English subtitles

Felülvizsgálatok Compare revisions