nil- and outofbounds-safe access to UICollection classes