Home Features Docs Blog Support GitHub

numberOfRowsInSection Error


(Dan Kamilov) #1

Hello. I try to create simple Android/iOS app with TableView. For Android it works fine, but when I try to launch iOS AndroidStudio returns error:

org.moe.natj.objc.ObjCException: -[MyViewController tableView:numberOfRowsInSection:]: unrecognized selector sent to instance 0x7f…

What I do wrong?


(Gergely Kis - Migeran) #2

Dear Dan,

Could you please share your code? It is hard to help without actually seeing what you are trying to run.

Best Regards,
Gergely


(Dan Kamilov) #3

I use https://snow.dog/blog/moe-tutorial-1-create-simple-list-on-ios-and-android-apps-using-multi-os-engine/#xcode this tutorial. But with RXJava2 and Retrofit2. All works fine besides numberOfRowsInSection error.