Files
GitHawk/Classes/Issues/Comments/Images/IssueCommentPhoto.swift
Hesham Salman f213bac924 Thin SwiftLint ruleset (#704)
* Thin SwiftLint ruleset

* Disabled trailing_whitespace rule
2017-10-23 16:58:09 -04:00

29 lines
625 B
Swift

//
// IssueCommentPhoto.swift
// Freetime
//
// Created by Ryan Nystrom on 6/7/17.
// Copyright © 2017 Ryan Nystrom. All rights reserved.
//
import UIKit
import NYTPhotoViewer
final class IssueCommentPhoto: NSObject, NYTPhoto {
let image: UIImage?
let imageData: Data?
init(image: UIImage, data: Data?) {
self.image = image
self.imageData = data
}
// unused
let placeholderImage: UIImage? = nil
let attributedCaptionTitle: NSAttributedString? = nil
let attributedCaptionCredit: NSAttributedString? = nil
let attributedCaptionSummary: NSAttributedString? = nil
}