Skip to content

Commit

Permalink
- iOS: upgrading native library to 6.0.2
Browse files Browse the repository at this point in the history
- iOS: Hot fix for diagonal Line through circle
  • Loading branch information
prscms committed Jul 18, 2018
1 parent f326d96 commit 9b4be76
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ target 'RNAppTour' do
# Pods for RNAppTour
use_frameworks!

pod 'MaterialShowcase', '0.6.0'
pod 'MaterialShowcase', '0.6.2'

post_install do |installer|
installer.pods_project.targets.each do |target|
Expand Down
2 changes: 1 addition & 1 deletion ios/RNAppTour.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@interface MutableOrderedDictionary<__covariant KeyType, __covariant ObjectType> : NSDictionary<KeyType, ObjectType>
@end

@interface RNAppTour : NSObject<RCTBridgeModule> {
@interface RNAppTour : NSObject<RCTBridgeModule, MaterialShowcaseDelegate> {
MutableOrderedDictionary *targets;
}

Expand Down
7 changes: 3 additions & 4 deletions ios/RNAppTour.m
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ - (dispatch_queue_t)methodQueue {
[self ShowFor:[NSNumber numberWithLongLong:[showTargetKey longLongValue]] props:[targets objectForKey:showTargetKey] ];
}


RCT_EXPORT_METHOD(ShowFor:(nonnull NSNumber *)view props:(NSDictionary *)props)
{
MaterialShowcase *materialShowcase = [self generateMaterialShowcase:view props:props];
Expand Down Expand Up @@ -244,16 +243,16 @@ - (MaterialShowcase *)generateMaterialShowcase:(NSNumber *)view props:(NSDiction
}

[materialShowcase setTargetViewWithView: target];
[materialShowcase setDelegate: self];
[materialShowcase setDelegate: (id)self];

return materialShowcase;
}


- (void)showCaseWillDismissWithShowcase:(MaterialShowcase *)materialShowcase {
- (void)showCaseWillDismissWithShowcase:(MaterialShowcase *)materialShowcase didTapTarget:(bool)didTapTarget {
NSLog(@"");
}
- (void)showCaseDidDismissWithShowcase:(MaterialShowcase *)materialShowcase {
- (void)showCaseDidDismissWithShowcase:(MaterialShowcase *)materialShowcase didTapTarget:(bool)didTapTarget {
NSLog(@"");

NSArray *targetKeys = [targets allKeys];
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-app-tour",
"version": "0.0.15",
"version": "0.0.16",
"description": "React Native: Native App Tour Library",
"repository": {
"type": "git",
Expand Down

0 comments on commit 9b4be76

Please sign in to comment.