Skip to content

Commit

Permalink
Fixes #134.
Browse files Browse the repository at this point in the history
  • Loading branch information
ashfurrow committed Feb 17, 2015
1 parent 30f852d commit fdececc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ARNavigationControllerDelegateProxy.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@

@property (nonatomic, strong) NSObject<UINavigationControllerDelegate> *originalDelegate;

- (instancetype)initWithAnalyticsDelegate:(id<UINavigationControllerDelegate>)analyticsDelegate;
- (instancetype)initWithAnalyticsDelegate:(NSObject<UINavigationControllerDelegate> *)analyticsDelegate;

@end
3 changes: 2 additions & 1 deletion ARNavigationControllerDelegateProxy.m
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#import <UIKit/UIKit.h>
#import "ARNavigationControllerDelegateProxy.h"

@interface ARNavigationControllerDelegateProxy ()
Expand All @@ -8,7 +9,7 @@ @interface ARNavigationControllerDelegateProxy ()

@implementation ARNavigationControllerDelegateProxy

- (instancetype)initWithAnalyticsDelegate:(id<UINavigationControllerDelegate>)analyticsDelegate {
- (instancetype)initWithAnalyticsDelegate:(NSObject<UINavigationControllerDelegate> *)analyticsDelegate {
// No need for [super init], it does not exist
_analyticsDelegate = analyticsDelegate;
return self;
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* Added support for AppsFlyer ( thanks @cdzombak )
* Added support for Branch.io ( thanks @scotthasbrouck )
* Updated Adjust provider to support Adjust 4.0 ( thanks @HeEAaD )
* Fixes warnings generated from ARNavigationControllerDelegateProxy (thanks @ashfurrow )

## Version 2.9.0

Expand Down

0 comments on commit fdececc

Please sign in to comment.