mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-10 13:29:23 +00:00
18 lines
350 B
Swift
18 lines
350 B
Swift
//
|
|
// OnePixelConstraint.swift
|
|
// GraphTest
|
|
//
|
|
// Created by Andrei Salavei on 4/13/19.
|
|
// Copyright © 2019 Andrei Salavei. All rights reserved.
|
|
//
|
|
|
|
import UIKit
|
|
|
|
public class OnePixelConstrain: NSLayoutConstraint {
|
|
public override func awakeFromNib() {
|
|
super.awakeFromNib()
|
|
|
|
constant = UIView.oneDevicePixel
|
|
}
|
|
}
|