MapsIndoors iOS SDK  V3
Properties | List of all members
MPJSONModelClassProperty Class Reference

#import <MPJSONModelClassProperty.h>

Inherits NSObject.

Properties

NSString * name
 
id type
 
NSString * structName
 
NSString * protocol
 
BOOL isOptional
 
BOOL isStandardJSONType
 
BOOL isMutable
 
SEL customGetter
 
NSMutableDictionary * customSetters
 

Detailed Description

You do not need to instantiate this class yourself. This class is used internally by MPJSONModel to inspect the declared properties of your model class.

Class to contain the information, representing a class property It features the property's name, type, whether it's a required property, and (optionally) the class protocol

Property Documentation

◆ customGetter

- (SEL) customGetter
readwritenonatomicassign

a custom getter for this property, found in the owning model

◆ customSetters

- (NSMutableDictionary*) customSetters
readwritenonatomicstrong

custom setters for this property, found in the owning model

◆ isMutable

- (BOOL) isMutable
readwritenonatomicassign

If YES - create a mutable object for the value of the property

◆ isOptional

- (BOOL) isOptional
readwritenonatomicassign

If YES, it can be missing in the input data, and the input would be still valid

◆ isStandardJSONType

- (BOOL) isStandardJSONType
readwritenonatomicassign

If YES - don't call any transformers on this property's value

◆ name

- (NSString*) name
readwritenonatomiccopy

The name of the declared property (not the ivar name)

◆ protocol

- (NSString*) protocol
readwritenonatomiccopy

The name of the protocol the property conforms to (or nil)

◆ structName

- (NSString*) structName
readwritenonatomicstrong

Struct name if a struct

◆ type

- (id) type
readwritenonatomicassign

A property class type


The documentation for this class was generated from the following file: