
Here is the code that you need to paste in. Unless you like typing ;)
var baseString : String = NSSearchPathForDirectoriesInDomains(NSSearchPathDirectory.DocumentDirectory, NSSearchPathDomainMask.UserDomainMask, true)[0] as! String
var pathComponents = [baseString, "MyAudio.m4a"]
var audioURL = NSURL.fileURLWithPathComponents(pathComponents)
var session = AVAudioSession.sharedInstance()
session.setCategory(AVAudioSessionCategoryPlayAndRecord, error: nil)
var recordSettings: [NSObject : AnyObject] = Dictionary()
recordSettings[AVFormatIDKey] = kAudioFormatMPEG4AAC
recordSettings[AVSampleRateKey] = 44100.0
recordSettings[AVNumberOfChannelsKey] = 2
self.audioRecorder = AVAudioRecorder(URL: audioURL, settings: recordSettings, error: nil)
self.audioRecorder.meteringEnabled = true
self.audioRecorder.prepareToRecord()
If you would like a coupon code, please message me :)
We have a new class!
Search "iOS 9 Adventure" for the most up-to-date material.
Or you can scroll down to the very bottom of this page, and find my iOS 9 class in More From Nick Walter.
This is the class I wish I had when I was trying to learn iOS development. I have a unique perspective to teach this class because I've been the newb that couldn't understand tutorials or blog posts. No prior programming experience is required.
I will walk you through everything you need to start making apps. Getting Xcode (the program we use to make apps) setup and on your machine, making a developer account with Apple, and running the iPhone and iPad simulator on your mac.
I firmly believe that the best way to learn is by doing. So we'll make a series of 8 killer apps, each app going into depth on teaching the most important iOS app development skills. Here is an overview of the apps we'll be making:
Apps that...Once each of these apps are built, I'll teach you everything you need to know to submit these apps to the App Store. We'll also cover how to make money in iOS, and how you can continue to stay in the loop as an iOS developer and keep up with the latest and greatest. These topics could be a whole class in and of itself!
What makes me the right teacher?