Target_Category.m 829 B

123456789101112131415161718192021222324252627282930313233
  1. //
  2. // Target_Category.m
  3. // Asteria
  4. //
  5. // Created by iOS on 2023/6/16.
  6. //
  7. #import "Target_Category.h"
  8. #import "ASCategoryViewController.h"
  9. #import "ASSearchViewController.h"
  10. #import "ASBaseNavController.h"
  11. @implementation Target_Category
  12. - (UIViewController *)Action_getCategoryListVc:(NSDictionary *)params {
  13. ASCategoryViewController *vc = [[ASCategoryViewController alloc] init];
  14. return vc;
  15. }
  16. - (Class)Action_categoryListVcClass:(NSDictionary *)params {
  17. return ASCategoryViewController.class;
  18. }
  19. - (UIViewController *)Action_getSearchVc:(NSDictionary *)params {
  20. ASSearchViewController *vc = [ASSearchViewController new];
  21. ASBaseNavController *nav = [[ASBaseNavController alloc] initWithRootViewController:vc];
  22. nav.modalPresentationStyle = UIModalPresentationFullScreen;
  23. return nav;
  24. }
  25. @end