Skip to content

Commit 2c550c0

Browse files
authored
Add overrideable didLayout API (#66)
1 parent b39c89e commit 2c550c0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

MessageViewController/MessageViewController.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ open class MessageViewController: UIViewController, MessageAutocompleteControlle
7171
}
7272
}
7373

74+
open func didLayout() { }
75+
7476
// MARK: Private API
7577

7678
// keyboard management
@@ -132,6 +134,8 @@ open class MessageViewController: UIViewController, MessageAutocompleteControlle
132134
)
133135

134136
messageAutocompleteController.layout(in: view, bottomY: messageViewFrame.minY)
137+
138+
didLayout()
135139
}
136140

137141
internal var fullCacheKey: String? {

0 commit comments

Comments
 (0)