Download flutter/packages/integration_test/example/ios/Runner/AppDelegate.m from luom2645/agent-workspace: direct link, hf CLI and curl.
- Browser
- Download file 937 Bytes
-
https://huggingface.co/luom2645/agent-workspace/resolve/main/flutter/packages/integration_test/example/ios/Runner/AppDelegate.m
- Command line
-
hf download hf://luom2645/agent-workspace/flutter/packages/integration_test/example/ios/Runner/AppDelegate.m
-
curl -L -o AppDelegate.m https://huggingface.co/luom2645/agent-workspace/resolve/main/flutter/packages/integration_test/example/ios/Runner/AppDelegate.m
937 Bytes
| // Copyright 2014 The Flutter Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| #include "AppDelegate.h" | |
| #include "GeneratedPluginRegistrant.h" | |
| #include "SimplePlatformView.h" | |
| @implementation AppDelegate | |
| - (BOOL)application:(UIApplication *)application | |
| didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { | |
| [GeneratedPluginRegistrant registerWithRegistry:self]; | |
| // Register platform view factory. | |
| NSObject<FlutterPluginRegistrar>* registrar = [self registrarForPlugin:@"spv-plugin"]; | |
| SimplePlatformViewFactory* factory = [[SimplePlatformViewFactory alloc] initWithMessenger:registrar.messenger]; | |
| [registrar registerViewFactory:factory withId:@"simple-platform-view"]; | |
| // Override point for customization after application launch. | |
| return [super application:application didFinishLaunchingWithOptions:launchOptions]; | |
| } | |
| @end | |