You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and added all menu code in this controller's m file.didn't make xib file for this controller file.
and where i needed to use it, i used @interface UIMyAppointmentViewController : UIBaseControllerForMenu
and call the action button of UIBaseControllerForMenu from child controllers to show/init menu.it works fine in controllers without tableview of there own but crashes the app when there's a other tableview in them.issue is you are getting cell from visible cells function of tableview which returns the controller's own cell not the one belonging to menu. and try to call functions defined in YALContextMenuCell protocol and app crashes as other cells are not implementing this function.
any solution to this???
The text was updated successfully, but these errors were encountered:
i had to use context menu on multiple screens so i made
@interface UIBaseControllerForMenu : UIViewController <UITableViewDelegate,UITableViewDataSource,YALContextMenuTableViewDelegate>
and added all menu code in this controller's m file.didn't make xib file for this controller file.
and where i needed to use it, i used
@interface UIMyAppointmentViewController : UIBaseControllerForMenu
and call the action button of UIBaseControllerForMenu from child controllers to show/init menu.it works fine in controllers without tableview of there own but crashes the app when there's a other tableview in them.issue is you are getting cell from visible cells function of tableview which returns the controller's own cell not the one belonging to menu. and try to call functions defined in YALContextMenuCell protocol and app crashes as other cells are not implementing this function.
any solution to this???
The text was updated successfully, but these errors were encountered: