This repository was archived by the owner on Jul 22, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -334,7 +334,7 @@ + (OnSuccessHandler)defaultOnSuccess:(NSString *)identifier
334334
335335 @abstract default failure completion handler; warning logs the result from Iterable
336336
337- @param identifier an identifier for what succeeded ; pass in something like the function name
337+ @param identifier an identifier for what failed ; pass in something like the function name
338338
339339 @return a completion handler for use with `onFailure` of `sendRequest:onSuccess:onFailure:`
340340 */
@@ -718,7 +718,7 @@ - (void)updateEmail:(NSString *)newEmail onSuccess:(OnSuccessHandler)onSuccess o
718718
719719 NSURLRequest *request = [self createRequestForAction: ENDPOINT_UPDATE_EMAIL withArgs: args];
720720 [self sendRequest: request onSuccess: ^(NSDictionary *dictionary) {
721- _email = newEmail;
721+ self-> _email = newEmail;
722722 if (onSuccess) {
723723 onSuccess (dictionary);
724724 }
Original file line number Diff line number Diff line change @@ -236,13 +236,13 @@ - (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)
236236 callbackURL = strNoURLScheme;
237237 }
238238 [self dismissViewControllerAnimated: NO completion: ^{
239- if (_customBlockCallback != nil ) {
240- _customBlockCallback (callbackURL);
239+ if (self. customBlockCallback != nil ) {
240+ self. customBlockCallback (callbackURL);
241241 }
242242
243- if (_trackParams != nil ) {
243+ if (self. trackParams != nil ) {
244244 IterableAPI *api = IterableAPI.sharedInstance ;
245- [api trackInAppClick: _trackParams .messageId buttonURL: destinationURL];
245+ [api trackInAppClick: self .trackParams .messageId buttonURL: destinationURL];
246246 }
247247 }];
248248 return NO ;
Original file line number Diff line number Diff line change 1414////////////////////////
1515
1616// function that appends STDERR to the asl logger; uses dispatch_once to only do it once
17- void AddStderrOnce ();
17+ void AddStderrOnce (void );
1818
1919// heavily inspired by http://doing-it-wrong.mikeweller.com/2012/07/youre-doing-it-wrong-1-nslogdebug-ios.html
2020// and http://stackoverflow.com/questions/300673/is-it-true-that-one-should-not-use-nslog-on-production-code
You can’t perform that action at this time.
0 commit comments