[0] https://developer.apple.com/videos/wwdc/2014/
However, a lot of work has already been done by other developers and it's wise to reuse something such as CargoBay https://github.com/mattt/CargoBay.
[0] https://developer.apple.com/videos/wwdc/2014/