Inherits from AFHTTPResponseSerializer : NSObject
Declared in AFURLResponseSerialization.h

Overview

AFPropertyListSerializer is a subclass of AFHTTPSerializer that validates and decodes XML responses as an NSXMLDocument objects.

By default, AFPropertyListSerializer accepts the following MIME types:

  • application/x-plist

Tasks

  •   format

    The property list format. Possible values are described in “NSPropertyListFormat”.

    property
  •   readOptions

    The property list reading options. Possible values are described in “NSPropertyListMutabilityOptions.”

    property
  • + serializerWithFormat:readOptions:

    Creates and returns a property list serializer with a specified format, read options, and write options.

Properties

format

@property (nonatomic, assign) NSPropertyListFormat format
Discussion

The property list format. Possible values are described in “NSPropertyListFormat”.

Declared In

AFURLResponseSerialization.h

readOptions

@property (nonatomic, assign) NSPropertyListReadOptions readOptions
Discussion

The property list reading options. Possible values are described in “NSPropertyListMutabilityOptions.”

Declared In

AFURLResponseSerialization.h

Class Methods

serializerWithFormat:readOptions:

+ (instancetype)serializerWithFormat:(NSPropertyListFormat)format readOptions:(NSPropertyListReadOptions)readOptions
Discussion

Creates and returns a property list serializer with a specified format, read options, and write options.

Parameters

format

The property list format.

readOptions

The property list reading options.

Declared In

AFURLResponseSerialization.h