The original official website document scheme is as follows, in the case of swift3.0 the override func Onselectedtablerow Method does not override the any Method from the its superclass
This is because swift3.0 has a lot of changes and needs to replace the Onselectedtablerow parameter.
Overriding the Onselectedtablerow event for Rcconversationlistviewcontroller
Override Func Onselectedtablerow (Conversationmodeltype:rcconversationmodeltype, Conversationmodel model: rcconversationmodel!, Atindexpath indexpath:nsindexpath!) {
Open the Session interface
Let chat = Rcconversationviewcontroller (ConversationType:model.conversationType, TargetId:model.targetId)
Chat.title = "Session title to display"
Self.navigationcontroller?. Pushviewcontroller (chat, animated:true)
}
Definitions in the obj file
-(void) Onselectedtablerow: (Rcconversationmodeltype) Conversationmodeltype
Conversationmodel: (Rcconversationmodel *) model
Atindexpath: (Nsindexpath *) Indexpath;
swift3.0 the revised
Override Func Onselectedtablerow (_ Conversationmodeltype:rcconversationmodeltype, Conversationmodel model: rcconversationmodel!, at indexpath:indexpath!)
{
//
}
(detail control) swift3.0 and cloud Imkit development issues (part) override Func Onselectedtablerow Method does not override all Method from its superclass