mirror of
https://github.com/zhigang1992/GitHawk.git
synced 2026-05-10 12:54:15 +08:00
* 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
19 lines
426 B
Swift
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)
|
|
}
|
|
|
|
}
|