Useful stuff. BSD. Use at your own risk.
Determine device type by screen size easily (e.g. iPhone 6, iPad etc.). Also provides a list of exact screen size of each type of device. Useful when need to make some hardcoded UI placement.
Tiny useful things written in Swift to speed up development of my own projects
Swift