Latest 1.0.6
Homepage https://github.com/623637646/YNXMLParser
License MIT
Platforms ios 7.0
Authors

Easy to use NSXMLParser in iOS

How to use?

  1. init

    - (instancetype)initWithData:(NSData*)data;
  2. get model

    - (YNXMLParserModel*)parse:(NSError**)error;
  3. use model
    @interface YNXMLParserModel : NSObject
    @property (nonatomic, copy) NSString *elementName;
    @property (nonatomic, copy) NSDictionary<NSString *, NSString *> *attributes;
    @property (nonatomic, copy) NSString *content;
    @property (nonatomic, copy) NSArray<YNXMLParserModel*> *children;
    @property (nonatomic, assign) BOOL isTextElement;
    @end

    Requirements

    iOS 7.0

Latest podspec

{
    "name": "YNXMLParser",
    "version": "1.0.6",
    "summary": "Easy to use NSXMLParser",
    "description": "Easy to use NSXMLParser, Great!",
    "homepage": "https://github.com/623637646/YNXMLParser",
    "license": "MIT",
    "authors": {
        "u7801u7334": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/623637646/YNXMLParser.git",
        "tag": "1.0.6"
    },
    "source_files": "YNXMLParser/**/*.{h,m}"
}

Pin It on Pinterest

Share This