MNFCustomChallenge

Objective-C

@interface MNFCustomChallenge : MNFObject

Swift

class MNFCustomChallenge : MNFObject

The MNFCustomChallenge class represents a custom challenge created by the user.

Mutable properties

  • The category ids of the categories for this challenge.

    Declaration

    Objective-C

    @property (nonatomic, copy) NSArray *_Nullable categoryIds;

    Swift

    var categoryIds: [Any]? { get set }
  • The target spending amount of this challenge.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable targetAmount;

    Swift

    var targetAmount: NSNumber? { get set }
  • The spend amount of this challenge.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSNumber *_Nullable spentAmount;

    Swift

    var spentAmount: NSNumber? { get }
  • Any custom metadata that describes this challenge.

    Declaration

    Objective-C

    @property (nonatomic, copy) NSString *_Nullable metaData;

    Swift

    var metaData: String? { get set }
  • The interval with which this challenge repeates.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSString *_Nullable recurringInterval;

    Swift

    var recurringInterval: String? { get }