[ABANDONED] Mastodon iOS client.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
383 B

//
// UITextViewFixed.swift
// elpha-ios
//
// Created by Dwayne Harris on 11/6/18.
// Copyright © 2018 Elpha. All rights reserved.
//
import UIKit
@IBDesignable class UITextViewFixed: UITextView {
override func layoutSubviews() {
super.layoutSubviews()
textContainerInset = UIEdgeInsets.zero
textContainer.lineFragmentPadding = 0
}
}