Inherits from LimeObject : NSObject
Conforms to NSCoding
Declared in LimeNotification.h
LimeNotification.m

Overview

A class representing a notification.

Tasks

Other Methods

Other Methods

Properties

eventType

A property representing the event for the notification, where: 0 = never, 1 = on entry, 2 = on exit.

@property (nonatomic, strong) NSNumber *eventType

Discussion

A property representing the event for the notification, where: 0 = never, 1 = on entry, 2 = on exit.

Declared In

LimeNotification.h

text

Notification text

@property (nonatomic, strong) NSString *text

Discussion

Notification text

Declared In

LimeNotification.h

Instance Methods

initWithDictionary:

Initialize an object with the contents of the dictionary.

- (id)initWithDictionary:(NSDictionary *)dictionary

Parameters

dictionary

An NSDictionary to be used for initializing object properties.

Return Value

This implementation of method alway raises an exception - subclass must override this method.

Discussion

Initialize an object with the contents of the dictionary.

WARNING: The default implementation in LimeObject class raises an exception. Make sure you override the method in your subclasses.

Declared In

LimeObject.h