You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
624 B

2 years ago
  1. //
  2. // SwinjectStoryboard+SetUp.m
  3. // SwinjectStoryboard
  4. //
  5. // Created by Mark DiFranco on 2017-05-27.
  6. // Copyright © 2017 Swinject Contributors. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. __attribute__((constructor)) static void swinjectStoryboardSetupEntry(void) {
  10. Class swinjectStoryboard = NSClassFromString(@"SwinjectStoryboard");
  11. #pragma clang diagnostic push
  12. #pragma clang diagnostic ignored "-Wundeclared-selector"
  13. if ([swinjectStoryboard respondsToSelector:@selector(configure)]) {
  14. [swinjectStoryboard performSelector:@selector(configure)];
  15. }
  16. #pragma clang diagnostic pop
  17. }