objective c - MFSideMenu is not working in iOS? -


hi have followed github page add mfsidemenu , showing following error.

undefined symbols architecture x86_64:   "_objc_class_$_mfsidemenucontainerviewcontroller", referenced from:       objc-class-ref in appdelegate.o ld: symbol(s) not found architecture x86_64 clang: error: linker command failed exit code 1 (use -v see invocation) 

this appdelegate

- (viewcontroller *)democontroller {     uistoryboard *mainstoryboard = [uistoryboard storyboardwithname:@"main" bundle: nil];     viewcontroller *main = (viewcontroller *)[mainstoryboard instantiateviewcontrollerwithidentifier:@"home"];      return  main; }  - (uinavigationcontroller *)navigationcontroller {     return [[uinavigationcontroller alloc]             initwithrootviewcontroller:[self democontroller]]; }  - (bool)application:(uiapplication *)application didfinishlaunchingwithoptions:(nsdictionary *)launchoptions {     // override point customization after application launch.     leftmenucontroller *leftmenuviewcontroller = [[leftmenucontroller alloc] init];      mfsidemenucontainerviewcontroller *container = [mfsidemenucontainerviewcontroller                                                     containerwithcenterviewcontroller:[self navigationcontroller]                                                     leftmenuviewcontroller:leftmenuviewcontroller                                                     rightmenuviewcontroller:nil];     self.window.rootviewcontroller = container;     [self.window makekeyandvisible];     return yes; } 

enter image description here

in general, occur when code boxview not being compiled target correctly.

enter image description here

you need ensure target you're building has corresponding box checked mfsidemenucontainerviewcontroller.m implementation file.

a 'clean , build' never hurts, either.


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -