AppDelegate.m 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. //
  2. // AppDelegate.m
  3. // iShop
  4. //
  5. // Created by Rui Zhang on 12/13/23.
  6. //
  7. #import "AppDelegate.h"
  8. @interface AppDelegate ()
  9. @end
  10. @implementation AppDelegate
  11. - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
  12. // Override point for customization after application launch.
  13. self.recent_model = [[NSMutableDictionary alloc]init];
  14. return YES;
  15. }
  16. #pragma mark - UISceneSession lifecycle
  17. - (UISceneConfiguration *)application:(UIApplication *)application configurationForConnectingSceneSession:(UISceneSession *)connectingSceneSession options:(UISceneConnectionOptions *)options {
  18. // Called when a new scene session is being created.
  19. // Use this method to select a configuration to create the new scene with.
  20. return [[UISceneConfiguration alloc] initWithName:@"Default Configuration" sessionRole:connectingSceneSession.role];
  21. }
  22. - (void)application:(UIApplication *)application didDiscardSceneSessions:(NSSet<UISceneSession *> *)sceneSessions {
  23. // Called when the user discards a scene session.
  24. // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions.
  25. // Use this method to release any resources that were specific to the discarded scenes, as they will not return.
  26. }
  27. @end