Files
GitHawk/Classes/View Controllers/UIViewController+MessageAutocompleteControllerLayoutDelegate.swift
Ryan Nystrom 755be5af2e Refactor autocomplete control and wire it up in comment editing (#1326)
* refactor text view delegate to be 1:many

* move autocomplete stuff to its own controller + API

* refactor VC to work with new autocomplete controller

* update pods with new message stuff

* reorganize and fixup files

* app builds

* better names

* thread autocomplete to comment SC

* autocomplete working in edit

* finish refactor
2018-01-02 09:14:28 -05:00

19 lines
426 B
Swift

//
// UIViewController+MessageAutocompleteControllerLayoutDelegate.swift
// Freetime
//
// Created by Ryan Nystrom on 1/1/18.
// Copyright © 2018 Ryan Nystrom. All rights reserved.
//
import UIKit
import MessageViewController
extension UIViewController: MessageAutocompleteControllerLayoutDelegate {
public func needsLayout(controller: MessageAutocompleteController) {
controller.layout(in: view)
}
}