// // Target_Category.m // Asteria // // Created by iOS on 2023/6/16. // #import "Target_Category.h" #import "ASCategoryViewController.h" #import "ASSearchViewController.h" #import "ASBaseNavController.h" @implementation Target_Category - (UIViewController *)Action_getCategoryListVc:(NSDictionary *)params { ASCategoryViewController *vc = [[ASCategoryViewController alloc] init]; return vc; } - (Class)Action_categoryListVcClass:(NSDictionary *)params { return ASCategoryViewController.class; } - (UIViewController *)Action_getSearchVc:(NSDictionary *)params { ASSearchViewController *vc = [ASSearchViewController new]; ASBaseNavController *nav = [[ASBaseNavController alloc] initWithRootViewController:vc]; nav.modalPresentationStyle = UIModalPresentationFullScreen; return nav; } @end