File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
AdaptiveCards/AdaptiveCards Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 22782278 GCC_PREPROCESSOR_DEFINITIONS = (
22792279 "DEBUG=1",
22802280 "$(inherited)",
2281- "ADAPTIVECARDS_APP_EXTENSION =1",
2281+ "ADAPTIVECARDS_USE_FLUENT_TOOLTIPS =1",
22822282 );
22832283 GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
22842284 GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
23372337 ENABLE_STRICT_OBJC_MSGSEND = YES;
23382338 GCC_C_LANGUAGE_STANDARD = gnu99;
23392339 GCC_NO_COMMON_BLOCKS = YES;
2340- GCC_PREPROCESSOR_DEFINITIONS = "ADAPTIVECARDS_APP_EXTENSION =1";
2340+ GCC_PREPROCESSOR_DEFINITIONS = "ADAPTIVECARDS_USE_FLUENT_TOOLTIPS =1";
23412341 GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
23422342 GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
23432343 GCC_WARN_UNDECLARED_SELECTOR = YES;
Original file line number Diff line number Diff line change 77
88#import " ACRBaseTarget.h"
99#import < UIKit/UIKit.h>
10- #if defined(ADAPTIVECARDS_APP_EXTENSION )
10+ #if defined(ADAPTIVECARDS_USE_FLUENT_TOOLTIPS )
1111#import < FluentUI/FluentUI-Swift.h>
1212#endif
1313
@@ -37,7 +37,7 @@ - (void)setTooltip:(UIView *)view toolTipText:(NSString *)toolTipText
3737
3838- (void )showToolTip : (UILongPressGestureRecognizer *)recognizer
3939{
40- #if defined(ADAPTIVECARDS_APP_EXTENSION )
40+ #if defined(ADAPTIVECARDS_USE_FLUENT_TOOLTIPS )
4141 if (recognizer.state == UIGestureRecognizerStateBegan && _toolTip && recognizer.view ) {
4242 [MSFTooltip.shared showWith: _toolTip for: recognizer.view preferredArrowDirection: MSFTooltipArrowDirectionUp offset: CGPointZero screenMargins: MSFTooltip.defaultScreenMargins dismissOn: MSFTooltipDismissModeTapAnywhere onTap: nil ];
4343 }
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ Pod::Spec.new do |spec|
3939
4040 spec . subspec 'UIProviders' do | sspec |
4141 sspec . dependency 'MicrosoftFluentUI/Tooltip_ios' , '~> 0.3.6'
42- sspec . pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'ADAPTIVECARDS_APP_EXTENSION =1' }
42+ sspec . pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => 'ADAPTIVECARDS_USE_FLUENT_TOOLTIPS =1' }
4343 end
4444
4545 spec . platform = :ios , '14'
You can’t perform that action at this time.
0 commit comments