// // AttachmentInputView.swift // elpha-ios // // Created by Dwayne Harris on 11/17/18. // Copyright © 2018 Elpha. All rights reserved. // import UIKit class AttachmentInputView: UIView { @IBOutlet var contentView: UIView! override init(frame: CGRect) { super.init(frame: frame) setup() } required init?(coder aDecoder: NSCoder) { super.init(coder: aDecoder) setup() } private func setup() { Bundle.main.loadNibNamed("AttachmentInputView", owner: self, options: nil) addSubview(contentView) contentView.frame = self.bounds contentView.autoresizingMask = [.flexibleWidth, .flexibleHeight] } }