Skip to content

Commit

Permalink
Merge pull request #103 from tengyifei/patch-1
Browse files Browse the repository at this point in the history
Add support for static lib via cocoapods
  • Loading branch information
jakubvano authored Jul 18, 2018
2 parents 6f956ad + 5ccfabf commit 73eb811
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Sources/OSX/NSStoryboard+Swizzling.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@

#import "NSStoryboard+Swizzling.h"
#import <objc/runtime.h>
#import <SwinjectStoryboard/SwinjectStoryboard-Swift.h>

#if __has_include(<SwinjectStoryboard/SwinjectStoryboard-Swift.h>)
#import <SwinjectStoryboard/SwinjectStoryboard-Swift.h>
#elif __has_include("SwinjectStoryboard-Swift.h")
#import "SwinjectStoryboard-Swift.h"
#endif

#import <SwinjectStoryboard/SwinjectStoryboardProtocol.h>

@implementation NSStoryboard (Swizzling)
Expand Down

0 comments on commit 73eb811

Please sign in to comment.