34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
-
+
+
|
{
OFAutoreleasePool *pool;
Class class;
id object;
pool = [[OFAutoreleasePool alloc] init];
if ((class = objc_lookUpClass([name cString])) == Nil)
if ((class = objc_lookUpClass([name cStringWithEncoding:
OF_STRING_ENCODING_ASCII])) == Nil)
@throw [OFNotImplementedException newWithClass: Nil];
if (![class conformsToProtocol: @protocol(OFSerialization)])
@throw [OFNotImplementedException
newWithClass: class
selector: @selector(initWithSerialization:)];
|