You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
745 B

//
// MOBFXml.h
// MOBFoundation
//
// Created by fenghj on 15/9/16.
// Copyright © 2015年 MOB. All rights reserved.
//
#import <Foundation/Foundation.h>
@class MOBFXmlNode;
/**
* XML工具类
*/
@interface MOBFXml : NSObject
/**
*
*/
@property (nonatomic, strong, readonly) MOBFXmlNode *rootNode;
/**
* XML实例对象
*
* @param path XML文件路径
*
* @return XML实例对象
*/
- (instancetype)initWithPath:(NSString *)path;
/**
* XML实例对象
*
* @param string XML字符串描述
*
* @return XML实例对象
*/
- (instancetype)initWithString:(NSString *)string;
/**
* XML字典描述对象
*
* @return
*/
- (NSDictionary *)dictionaryValue;
@end