- (void) foo { NSArray* a = @[]; NSDictionary* b = @{}; NSArray* array = @[@"hello", @"world"]; NSDictionary* dictionary = @{@"foo":@"bar", @"foo2":@"bar2"}; NSString* const type = [pasteboard availableTypeFromArray:@[NSPasteboardTypeString]]; }