RCTWrapperExampleViewController.m 489 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright (c) Facebook, Inc. and its affiliates.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. */
  7. #import "RCTWrapperExampleViewController.h"
  8. #import <RCTWrapper/RCTWrapper.h>
  9. #import "RCTWrapperExampleView.h"
  10. @implementation RCTWrapperExampleViewController
  11. - (void)loadView {
  12. self.view = [RCTWrapperExampleView new];
  13. }
  14. @end
  15. RCT_WRAPPER_FOR_VIEW_CONTROLLER(RCTWrapperExampleViewController)