hunk.code_window: <?xml version="1.0" encoding="UTF-8"?>
   <Scheme
      LastUpgradeVersion = "0800"
      version = "1.3">
      <BuildAction
         parallelizeBuildables = "YES"
  
hunk.labels: keep keep replace keep keep keep
hunk.after_edit:    LastUpgradeVersion = "0810"
  
hunk.file_path: exponent-view-template/ios/exponent-view-template.xcodeproj/xcshareddata/xcschemes/exponent-view-template.xcscheme
hunk.type: replace
file: /**
   * Copyright (c) 2015-present, Facebook, Inc.
   * All rights reserved.
   *
   * This source code is licensed under the BSD-style license found in the
   * LICENSE file in the root directory of this source tree. An additional grant
   * of patent rights can be found in the PATENTS file in the same directory.
   */
  
  #import "ABI10_0_0RCTModalHostViewManager.h"
  
  #import "ABI10_0_0RCTBridge.h"
  #import "ABI10_0_0RCTModalHostView.h"
  #import "ABI10_0_0RCTTouchHandler.h"
  #import "ABI10_0_0RCTShadowView.h"
  #import "ABI10_0_0RCTUtils.h"
  
  @interface ABI10_0_0RCTModalHostShadowView : ABI10_0_0RCTShadowView
  
  @end
  
  @implementation ABI10_0_0RCTModalHostShadowView
  
  - (void)insertReactABI10_0_0Subview:(id<ABI10_0_0RCTComponent>)subview atIndex:(NSInteger)atIndex
  {
    [super insertReactABI10_0_0Subview:subview atIndex:atIndex];
    if ([subview isKindOfClass:[ABI10_0_0RCTShadowView class]]) {
      CGRect frame = {.origin = CGPointZero, .size = ABI10_0_0RCTScreenSize()};
      [(ABI10_0_0RCTShadowView *)subview setFrame:frame];
    }
  }
  
  @end
  
  @implementation ABI10_0_0RCTModalHostViewManager
  {
    NSHashTable *_hostViews;
  }
  
  ABI10_0_0RCT_EXPORT_MODULE()
  
  - (UIView *)view
  {
    UIView *view = [[ABI10_0_0RCTModalHostView alloc] initWithBridge:self.bridge];
    if (!_hostViews) {
      _hostViews = [NSHashTable weakObjectsHashTable];
    }
    [_hostViews addObject:view];
    return view;
  }
  
  - (ABI10_0_0RCTShadowView *)shadowView
  {
    return [ABI10_0_0RCTModalHostShadowView new];
  }
  
  - (void)invalidate
  {
    for (ABI10_0_0RCTModalHostView *hostView in _hostViews) {
      [hostView invalidate];
    }
    [_hostViews removeAllObjects];
  }
  
  ABI10_0_0RCT_EXPORT_VIEW_PROPERTY(animationType, NSString)
  ABI10_0_0RCT_EXPORT_VIEW_PROPERTY(transparent, BOOL)
  ABI10_0_0RCT_EXPORT_VIEW_PROPERTY(onShow, ABI10_0_0RCTDirectEventBlock)
  
  @end
  