Any documentation on this new Xcode 7 feature? The Xcode release notes say:
Generics. Specify type information for collections, simplifying the code you write.
Without any more detail.
Check out "Objective-C Language Features" in the Xcode 7 beta Release Notes.
Specifically:
Lightweight generics allow you to specify type information for collection classes like NSArray, NSSet, and NSDictionary. The type information improves Swift access when you bridge from Objective-C and simplifies the code you have to write. (6294649)
For example:
NSArray<UIImage *> *images; NSDictionary<NSString *, NSURL *> *resourcesByName;