EFSafeArray is an extension to make array subscript safe, support iOS, macOS, watchOS and tvOS.
1 package.