Code examples for the new functions of iOS 7.