This class stores all the attributes of an event. More...
#import <Event.h>
Public Member Functions | |
| (id) | - copyWithZone: |
| Used to copy or clone the same object. | |
Properties | |
| NSString * | title |
| the title of the event | |
| NSString * | location |
| the location of the event | |
| NSString * | dateAndTimeString |
| the dateAndTime of the event as a string | |
| NSDate * | date |
| the date and time of the event as a NSDate | |
| NSString * | peerName |
| the name of the peer who inserted this event | |
| NSInteger | peerId |
| the unique peerID of the peer who inserted this event | |
| NSInteger | eventId |
| the unique eventID of this event | |
This class stores all the attributes of an event.
| - (id) copyWithZone: | (NSZone *) | zone |
Used to copy or clone the same object.
NSCopying protocol method implementation
| zone | default zone |
- (NSDate *) date [read, write, retain] |
the date and time of the event as a NSDate
- (NSString *) dateAndTimeString [read, write, retain] |
the dateAndTime of the event as a string
- (NSInteger) eventId [read, write, assign] |
the unique eventID of this event
- (NSString *) location [read, write, retain] |
the location of the event
- (NSInteger) peerId [read, write, assign] |
the unique peerID of the peer who inserted this event
- (NSString *) peerName [read, write, retain] |
the name of the peer who inserted this event
- (NSString *) title [read, write, retain] |
the title of the event
1.7.2