         
     }
 
-    
+    /**
+     Method sets up the caption label with data
+     
+     - parameter caption: String?
+     */
     private func setupCaptionLabelWithData(caption : String?){
         
         if let imageCaption = caption {

        setupCityAndStateLabel(locationName)
        
        //setup coordinatesLabel
        setupCoordintesLabel(latitude, longitude: longitude)
        
        //setup dateLabel
        setupDateLabelWithData(timeStamp)


class ImageInfoHeaderCollectionReusableView: UICollectionReusableView{

    //label that shows the caption of the image
    @IBOutlet weak var captionLabel: UILabel!
    
    //label that shows who the image is by - its shows the users name
    @IBOutlet weak var byUserLabel: UILabel!
    
    //label that shows the city and state of where the image was uploaded
    @IBOutlet weak var cityStateLabel: UILabel!
    
    //label that shows the coordinates of where the image was uploaded
    @IBOutlet weak var coordinatesLabel: UILabel!
    
    //label that shows the date the image was taken on
    @IBOutlet weak var dateLabel: UILabel!
    
    //label that shows the time of day the image was taken at
    @IBOutlet weak var timeLabel: UILabel!
    
    //imageView that shows a weather icon image for type of weather at the time the image was uploaded
    @IBOutlet weak var weatherImageView: UIImageView!
    
    //label that shows the temperature at the time the image was uploaded
    @IBOutlet weak var temperatureLabel: UILabel!
    
    //label that says "Tags"
    @IBOutlet weak var tagsLabel: UILabel!
    
    //constant that defines the captionLabel letter spacing
    private let kCaptionLabelLetterSpacing : CGFloat = 1.7
    
    //constant that defines the captionLabel line spacing
    private let kCaptionLabelLineSpacing : CGFloat = 10.0
    
    //prefix used to get the correct name of the weather icon from the image asset folder
    private let kWeatherIconNamePrefix = "weather_icon_"
    
    //degree string used for the temperature
    private let kDegreeSymbolString = "°"
    
    //prefix string used for the byUserLabel text
    private let kByUserLabelPrefixString = NSLocalizedString("by", comment: "")
    
    //prefix for the dateLabel text
    private let kDateLabelPrefixString = NSLocalizedString("on", comment: "")
    
    //prefix for the timeLabel text
    private let kTimeLabelPrefixString = NSLocalizedString("at", comment: "")
    
    
