- (void)conversationListViewController:(ATLConversationListViewController *)conversationListViewController didSearchForText:(NSString *)searchText completion:(void (^)(NSSet *filteredParticipants))completion
May I know what is the equivalent of the Swift version?
Thanks. :-)
On Jun 3, 2015, at 3:14 AM, Kien Weng Khaw <kwk...@gmail.com> wrote:I encounter problem when trying to convert the following method signature to Swift. It is actually the method that I need to implement for a protocol.
Try command-clicking the protocol name in Xcode; it should open a window showing a Swift translation of its declaration.
func conversationListViewController(conversationListViewController: ATLConversationListViewController, didSearchForText searchText: String, completion: ((Set<NSObject>!) -> Void)?)