Additional code snippets for XCode 5