42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
OFMutableArray *a = [OFMutableArray array];
OFList *l = [OFList list];
OFDataArray *da = [OFDataArray dataArray];
OFString *s;
[a addObject: @"Qu\"xbar\ntest"];
[a addObject: [OFNumber numberWithInt: 1234]];
[a addObject: [OFMutableString stringWithString: @"asd"]];
[a addObject: [OFDate dateWithTimeIntervalSince1970: 1234.5678]];
[d setObject: @"Hello"
forKey: a];
[d setObject: @"B\"la"
forKey: @"Blub"];
|
>
|
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
OFMutableArray *a = [OFMutableArray array];
OFList *l = [OFList list];
OFDataArray *da = [OFDataArray dataArray];
OFString *s;
[a addObject: @"Qu\"xbar\ntest"];
[a addObject: [OFNumber numberWithInt: 1234]];
[a addObject: [OFNumber numberWithDouble: 1234.5678]];
[a addObject: [OFMutableString stringWithString: @"asd"]];
[a addObject: [OFDate dateWithTimeIntervalSince1970: 1234.5678]];
[d setObject: @"Hello"
forKey: a];
[d setObject: @"B\"la"
forKey: @"Blub"];
|