TMDNotifications Class Reference

Inherits from NSObject
Declared in TMDNotifications.h

Overview

This class offers static functions to get the names of NSNotifications that can be registered to.

+ didUpdateTripsNotificationName

By registering to NSNotifications with that name, you will get a NSNotification containing a dictionary of TMDTripNotification arrays indicating the trips that have been updated into the local cache. Keys of the dictionary are insertedTripsKey, updatedTripsKey, and deletedTripsKey.

+ (NSString *)didUpdateTripsNotificationName

Declared In

TMDNotifications.h

+ didUpdateActivitiesNotificationName

By registering to NSNotifications with that name, you will get a NSNotification containing a dictionary of TMDActivity arrays indicating the activities that have been updated into the local cache. Keys of the dictionary are insertedActivitiesKey, updatedActivitiesKey, and deletedActivitiesKey.

+ (NSString *)didUpdateActivitiesNotificationName

Declared In

TMDNotifications.h

+ insertedTripsKey

This key can be used with the dictionary gotten from the didUpdateTripsNotificationName notification to get the list of inserted trips.

+ (NSString *)insertedTripsKey

Declared In

TMDNotifications.h

+ updatedTripsKey

This key can be used with the dictionary gotten from the didUpdateTripsNotificationName notification to get the list of updated trips.

+ (NSString *)updatedTripsKey

Declared In

TMDNotifications.h

+ deletedTripsKey

This key can be used with the dictionary gotten from the didUpdateTripsNotificationName notification to get the list of deleted trips.

+ (NSString *)deletedTripsKey

Declared In

TMDNotifications.h

+ insertedActivitiesKey

This key can be used with the dictionary gotten from the didUpdateActivitiesNotificationName notification to get the list of inserted activities.

+ (NSString *)insertedActivitiesKey

Declared In

TMDNotifications.h

+ updatedActivitiesKey

This key can be used with the dictionary gotten from the didUpdateActivitiesNotificationName notification to get the list of updated activities.

+ (NSString *)updatedActivitiesKey

Declared In

TMDNotifications.h

+ deletedActivitiesKey

This key can be used with the dictionary gotten from the didUpdateActivitiesNotificationName notification to get the list of deleted activities.

+ (NSString *)deletedActivitiesKey

Declared In

TMDNotifications.h