vectorWithCGRect: is available in OS X v10.9 and later.