mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-11 08:56:54 +01:00
21 lines
435 B
Swift
21 lines
435 B
Swift
//
|
|
// NonIntrinsicButton.swift
|
|
// NetNewsWire-iOS
|
|
//
|
|
// Created by Maurice Parker on 8/25/19.
|
|
// Copyright © 2019 Ranchero Software. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
import UIKit
|
|
|
|
class NonIntrinsicButton: UIButton {
|
|
|
|
// Prevent autolayout from messing around with our frame settings
|
|
override var intrinsicContentSize: CGSize {
|
|
return CGSize(width: UIView.noIntrinsicMetric, height: UIView.noIntrinsicMetric)
|
|
}
|
|
|
|
}
|