"Fossies" - the Fresh Open Source Software Archive

Member "flutter-1.22.4/dev/integration_tests/ios_host_app/Host/NativeViewController.h" (13 Nov 2020, 612 Bytes) of package /linux/misc/flutter-1.22.4.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 // Copyright 2014 The Flutter Authors. All rights reserved.
    2 // Use of this source code is governed by a BSD-style license that can be
    3 // found in the LICENSE file.
    4 
    5 #import <UIKit/UIKit.h>
    6 
    7 @protocol NativeViewControllerDelegate
    8 /// Triggered when the increment button from the NativeViewController is tapped.
    9 -(void)didTapIncrementButton;
   10 
   11 @end
   12 
   13 @interface NativeViewController : UIViewController
   14 
   15 - (instancetype)initWithDelegate:(id<NativeViewControllerDelegate>)delegate
   16     NS_DESIGNATED_INITIALIZER;
   17 
   18 @property(nonatomic, weak) id<NativeViewControllerDelegate> delegate;
   19 
   20 -(void)didReceiveIncrement;
   21 
   22 @end