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;
Topic:
Programming Languages
SubTopic:
General
Tags: