1
2- (void) foo {
3 NSArray* a = @[];
4 NSDictionary* b = @{};
5 NSArray<NSString*>* array = @[@"hello", @"world"];
6 NSDictionary<NSString*, NSString*>* dictionary = @{@"foo":@"bar", @"foo2":@"bar2"};
7
8 NSString* const type = [pasteboard availableTypeFromArray:@[NSPasteboardTypeString]];
9}
10