16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#include "config.h"
#import "OFSerialization.h"
#import "OFString.h"
#import "OFArray.h"
#import "OFDictionary.h"
#import "OFList.h"
#import "OFNumber.h"
#import "OFDate.h"
#import "OFURL.h"
#import "OFDataArray.h"
#import "OFAutoreleasePool.h"
#import "OFXMLElement.h"
|
>
>
|
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#include "config.h"
#import "OFSerialization.h"
#import "OFString.h"
#import "OFArray.h"
#import "OFDictionary.h"
#import "OFSet.h"
#import "OFCountedSet.h"
#import "OFList.h"
#import "OFNumber.h"
#import "OFDate.h"
#import "OFURL.h"
#import "OFDataArray.h"
#import "OFAutoreleasePool.h"
#import "OFXMLElement.h"
|
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
forKey: @"Blub"];
[l appendObject: @"Hello"];
[l appendObject: @"Wo\rld!\nHow are you?"];
[l appendObject: [OFURL URLWithString: @"https://webkeks.org/"]];
[l appendObject:
[OFXMLElement elementWithXMLString: @"<x><y/><![CDATA[<]]></x>"]];
[d setObject: @"list"
forKey: l];
[da addNItems: 39
fromCArray: "0123456789:;<ABCDEFGHJIKLMNOPQRSTUVWXYZ"];
[d setObject: @"data"
|
>
>
>
|
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
forKey: @"Blub"];
[l appendObject: @"Hello"];
[l appendObject: @"Wo\rld!\nHow are you?"];
[l appendObject: [OFURL URLWithString: @"https://webkeks.org/"]];
[l appendObject:
[OFXMLElement elementWithXMLString: @"<x><y/><![CDATA[<]]></x>"]];
[l appendObject: [OFSet setWithObjects: @"foo", @"foo", @"bar", nil]];
[l appendObject:
[OFCountedSet setWithObjects: @"foo", @"foo", @"bar", nil]];
[d setObject: @"list"
forKey: l];
[da addNItems: 39
fromCArray: "0123456789:;<ABCDEFGHJIKLMNOPQRSTUVWXYZ"];
[d setObject: @"data"
|