enum static values are now vars instead of functions.
Added UIApplication.