27 lines
582 B
Objective-C
27 lines
582 B
Objective-C
//
|
|
// EQNPastquakes.h
|
|
// Earthquake Network
|
|
//
|
|
// Refactored by Andrea Busi on 06/03/2021
|
|
// Copyright © 2021 Earthquake Network. All rights reserved.
|
|
//
|
|
|
|
@import Foundation;
|
|
@import CoreLocation;
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface EQNPastquakes : NSObject
|
|
|
|
@property (nonatomic, strong) CLLocation *coordinate;
|
|
@property (nonatomic) NSInteger users;
|
|
@property (nonatomic, strong) NSDate *date;
|
|
@property (nonatomic) NSInteger difference;
|
|
@property (nonatomic) NSInteger intensity;
|
|
|
|
- (instancetype)initWithDictionary:(NSDictionary *)dictionary;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|