NSObject
-(MySet<T> *)unionWithSet:(MySet<T> *)otherSet;
@end
@interface MySomething : NSObject
- (MySet<NSValue *> *)valueSet;
@end • ။ҝ • class MySet<T : NSCopying> : NSObject {
func unionWithSet(otherSet: MySet<T>) -> MySet<T>
}
class MySomething : NSObject {
func valueSet() -> MySet<NSValue>
}