Skip to content

Commit d89f089

Browse files
author
Jason Rodriguez
committed
Fixes the bad demo project
1 parent 765f7c2 commit d89f089

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

LTHPasscodeViewController/LTHPasscodeViewController.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
#import "LTHKeychainUtils.h"
1111
#import <LocalAuthentication/LocalAuthentication.h>
1212

13+
#ifndef SWIFTPM_MODULE_BUNDLE
14+
#define SWIFTPM_MODULE_BUNDLE [NSBundle bundleWithPath:[[NSBundle bundleForClass:[LTHPasscodeViewController class]] pathForResource:@"LTHPasscodeViewController" ofType:@"bundle"]]
15+
#endif
16+
1317
#define LTHiPad ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad)
1418

1519
#define LTHFailedAttemptLabelHeight [_failedAttemptLabel.text sizeWithAttributes: @{NSFontAttributeName : _labelFont}].height

0 commit comments

Comments
 (0)