forked from aquarioverde/Hello-NSCoder
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathNCEvent.h
More file actions
35 lines (28 loc) · 908 Bytes
/
Copy pathNCEvent.h
File metadata and controls
35 lines (28 loc) · 908 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//
// NCEvent.h
// HelloNSCoder
//
// Created by aquarioverde on 5/16/11.
// Copyright 2011 NSCoder_BCN. All rights reserved.
//
#import <Foundation/Foundation.h>
/**
Simple lass defining the properties of an event
*/
@interface NCEvent : NSObject {
}
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *shortDescription;
@property (nonatomic, retain) NSDate *startDate;
@property (nonatomic, copy) NSString *location;
@property (nonatomic, copy) NSString *fullDescription;
@property (assign) float longitude;
@property (assign) float latitude;
/**
Initialize a new Event object with the specified parameters
@param eName name of the event
@param eStartDate date and time the event starts
@param eLocation name of the location where the event happens
*/
- (id)initWithName:(NSString *)eName startDate:(NSDate *)eStartDate location:(NSString *)eLocation;
@end