Est-il possible de mettre mon NSDictionary dans un NSInputStream? Ce serait mon NSDictionaryNSDictionary dans un NSInputStream
NSArray *keys = [NSArray arrayWithObjects:@"name", @"device_token", @"identifier", nil];
NSArray *values = [NSArray arrayWithObjects:@"Test iPhone", initDeviceToken, [UIDevice currentDevice].uniqueIdentifier, nil];
NSDictionary *parameters = [NSDictionary dictionaryWithObjects:values forKeys:keys];
j'ai essayé quelque chose comme ça, mais il n'a pas fonctionné ...
NSInputStream *inputStream = [[NSInputStream alloc] init];
[inputStream setValue:@"123" forKey:@"identifier"];
Thx beaucoup