Objective-C/Earthquakes/AAPLQuake.h

/*
 Copyright (C) 2014 Apple Inc. All Rights Reserved.
 See LICENSE.txt for this sample’s licensing information
 
 Abstract:
 
  Managed object class for the Quake entity.
  
 */
 
@import Foundation;
@import CoreData;
 
@interface AAPLQuake : NSManagedObject
 
@property float magnitude;
@property NSString *placeName;
@property NSDate *time;
@property float longitude;
@property float latitude;
@property float depth;
@property NSString *detailURL;
@property NSString *code;
 
- (void)updateFromDictionary:(NSDictionary *)quakeDictionary;
 
@end