PCPhoto

Version 1.5 - Updated on 10/20/2016

Superclass: PCFile
Declared In: PCPhoto.h

Contents

Introduction

This class stores the metadata information of a photo.

Methods

initWithDBResourceID

- (id)initWithDBResourceID:(NSManagedObjectID *)managedObjectID; 
  • Discussion
    Call this methods to create a PCPhoto using a managedObjectID. managedObjectID is mapped with coredata object and a PCPhoto is created out of the values copied from the coredata object.

Properties

capturedDate

@property (nonatomic,
    readonly,
    strong) NSDate *capturedDate; 
  • Discussion
    Maps to the file’s EXIF Date and Time tag.

geoLatitude

@property (nonatomic,
    readonly,
    strong) NSNumber *geoLatitude; 
  • Discussion
    Maps to the EXIF GPS Latitude tag for image files.

geoLongitude

@property (nonatomic,
    readonly,
    strong) NSNumber *geoLongitude;
  • Discussion
    Maps to the EXIF GPS Longitude tag for image files.

height

@property (nonatomic,
    readonly,
    strong) NSNumber *height;
  • Discussion
    The height of an image in pixels.

width

@property (nonatomic,
    readonly,
    strong) NSNumber *width; 
  • Discussion
    The width of an image in pixels.

Copyright © 2015-2017, Verizon and/or its Licensors. All rights reserved.