flutter/examples/hello_services/ios/HelloServices/main.m
Adam Barth 8c805e234d Teach hello_services to provide a platform service (#4277)
Currently this service just returns mock data, but it exercises the plumbing.
2016-05-31 13:18:53 -07:00

16 lines
477 B
Objective-C

// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import <UIKit/UIKit.h>
#import <Flutter/Flutter.h>
#import "AppDelegate.h"
int main(int argc, char * argv[]) {
FlutterInit(argc, (const char**)argv);
@autoreleasepool {
return UIApplicationMain(argc, argv, nil,
NSStringFromClass([AppDelegate class]));
}
}