iOS developer nanodegree at Udacity: Project 1 Pitch Perfect

混合奶兔
Sidenotes on my way to iOS developer
3 min readFeb 29, 2016

Unlike section-based, video-guided tutorial like those provided at CodeSchool, the nanodegree from Udacity is more of a curated list of projects, completed in different courses in a sequence.

The first one is called Pitch Perfect. Served as an introductory course to the degree, it’s fairly simple and basically a “do as you are told” project. Still, there are several things that worth noting — partly because the tutor deliberately want us to google our way out instead of handing us everything. Like it or not, here are a list of resources related to all the obstacles that I encountered.

Here is a text based tutorial that guides you through the entire course (the server seems dead):

http://www.jawadrashid.com/swift-tutorial-udacity-5/

Another tutorial for beginners:

http://www.raywenderlich.com/114148/learn-to-code-ios-apps-with-swift-tutorial-1-welcome-to-programming

Display the images in the assets:

Here is one that uses GIFs to illustrate the process of adding all kinds of image assets:

http://guides.codepath.com/ios/Adding-Image-Assets

AVFoundation:

https://developer.apple.com/library/prerelease/ios/documentation/AVFoundation/Reference/AVAudioEngine_Class/index.html#//apple_ref/c/data/AVAudioEngineConfigurationChangeNotification

Some interesting ideas on how to implement the sound effects:

http://becomerealdeveloper.blogspot.jp/2015/06/ios-swift-is-it-possible-to-use.html

This guy manually implemented the required Reverb/Echo sound effect instead of using internal functions (and gets credit from Udacity!):

This is simple, don’t know why I didn’t think of it before I fed it in to Google:

This popped up when I was trying to change the button image after the sound file finishes playing:

And finally, you have to check these out if you also use Git:

Go check them out. You will laugh, I promise.

The source code of this project is hosted on Github:

*Chinese version is here:

http://www.jianshu.com/p/61203446caa0

--

--

混合奶兔
Sidenotes on my way to iOS developer

Productivity nuts, learning Robotics on @Udacity and everywhere else. Write personal thoughts on those two topics.