Add flutter_view sample (#8486)
* Add flutter_view sample * Removed platform_services files * Addressed comments * update README.md * Addressed comments.
This commit is contained in:
17
examples/flutter_view/ios/Runner/NativeViewController.h
Normal file
17
examples/flutter_view/ios/Runner/NativeViewController.h
Normal file
@@ -0,0 +1,17 @@
|
||||
// Copyright 2017 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>
|
||||
|
||||
|
||||
@protocol NativeViewControllerDelegate <NSObject>
|
||||
|
||||
- (void)didTapIncrementButton;
|
||||
|
||||
@end
|
||||
|
||||
@interface NativeViewController: UIViewController
|
||||
@property (strong, nonatomic) id<NativeViewControllerDelegate> delegate;
|
||||
- (void) didReceiveIncrement;
|
||||
@end
|
||||
Reference in New Issue
Block a user