mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-05 17:40:47 +08:00
23 lines
510 B
Objective-C
23 lines
510 B
Objective-C
//
|
|
// RKXMLParserXMLReader.m
|
|
// RestKit
|
|
//
|
|
// Created by Christopher Swasey on 1/24/12.
|
|
// Copyright (c) 2012 GateGuru. All rights reserved.
|
|
//
|
|
|
|
#import "RKXMLParserXMLReader.h"
|
|
|
|
@implementation RKXMLParserXMLReader
|
|
|
|
- (id)objectFromString:(NSString*)string error:(NSError**)error {
|
|
NSData *data = [string dataUsingEncoding:NSUTF8StringEncoding];
|
|
return [XMLReader dictionaryForXMLData:data error:error];
|
|
}
|
|
|
|
- (NSString*)stringFromObject:(id)object error:(NSError**)error {
|
|
return nil;
|
|
}
|
|
|
|
@end
|