Moved UIKit-specific diff stuff to according helper