mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-23 08:09:41 +01:00
19 lines
425 B
Swift
19 lines
425 B
Swift
|
//
|
||
|
// NonIntrinsicImageView.swift
|
||
|
// NetNewsWire-iOS
|
||
|
//
|
||
|
// Created by Maurice Parker on 4/22/19.
|
||
|
// Copyright © 2019 Ranchero Software. All rights reserved.
|
||
|
//
|
||
|
|
||
|
import UIKit
|
||
|
|
||
|
class NonIntrinsicImageView: UIImageView {
|
||
|
|
||
|
// Prevent autolayout from messing around with our frame settings
|
||
|
override var intrinsicContentSize: CGSize {
|
||
|
return CGSize(width: UIView.noIntrinsicMetric, height: UIView.noIntrinsicMetric)
|
||
|
}
|
||
|
|
||
|
}
|