IOS snippets