some utility macros/functions/categories for iOS developer