Abstracted snap processing for use in iOS