Inherits from AFHTTPResponseSerializer : NSObject
Declared in AFURLResponseSerialization.h
AFURLResponseSerialization.m

Overview

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

By default, AFPropertyListSerializer accepts the following MIME types:

  • application/x-plist

Tasks

Other Methods

Other Methods

Properties

format

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

@property (nonatomic, assign) NSPropertyListFormat format

Declared In

AFURLResponseSerialization.h

readOptions

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

@property (nonatomic, assign) NSPropertyListReadOptions readOptions

Declared In

AFURLResponseSerialization.h

Class Methods

serializer

Creates and returns a serializer with default configuration.

+ (instancetype)serializer

Declared In

AFURLResponseSerialization.h

serializerWithFormat:readOptions:

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

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

Parameters

format

The property list format.

readOptions

The property list reading options.

Declared In

AFURLResponseSerialization.h