Target_Category.m 1011 B

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