The menu items are being set in ATCListingHostViewController.swift, in the following property:
let menuItems: [ATCNavigationItem] = [ ATCNavigationItem(title: "HOME".localizedCore, viewController: homeVC, image: uiConfig.homeImage, type: .viewController, leftTopViews: [], rightTopViews: topRightViews), ATCNavigationItem(title: "COLLECTIONS".localizedCore, viewController: categoriesVC, image: uiConfig.categoriesImage, type: .viewController, rightTopViews: []), // ATCNavigationItem(title: "ADD".localizedCore, // viewController: UIViewController(), // image: uiConfig.composeImage, // type: .viewController), ATCNavigationItem(title: "MESSAGES".localizedCore, viewController: chatVC, image: UIImage.localImage("comments", template: true), type: .viewController, rightTopViews: []), ATCNavigationItem(title: "SEARCH".localizedCore, viewController: searchVC, image: uiConfig.searchImage, type: .viewController, rightTopViews: []) ...
As you can see, that’s just a simple static array of ATCNavigationItem objects. You can modify this array as you want. By adding, removing or editing items, the menu changes will be reflected in the app’s main navigation.
Switching to Tab Bar Navigation
By default, the UberEats clone comes with a sidebar drawer menu navigation. If you instead prefer a tab bar view, you can simply change the style of the navigation in ATCListingHostViewController from
let config = ATCHostConfiguration(menuConfiguration: menuConfiguration, style: .sideBar, ....)
into
let config = ATCHostConfiguration(menuConfiguration: menuConfiguration, style: .tabBar, ....)
You can also configure stuff out, such as icons, menu cell heights, etc. Just read out the configuration objects, since they are pretty much self-explanatory.