-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delegate objects are nullified in dealloc() method #163
Open
dodikk
wants to merge
14
commits into
nxtbgthng:develop
Choose a base branch
from
healthjoy-ios-opensource:HJ/FixDealloc
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
a1f5f93
[framework] Moved public headers to a separate directory
c5271c7
[request] Extracted callbacks to a separate header
c869b62
removed obsolete headers
667e599
[framework] Fixed include style
3d647db
[pch] Added constants
24ae48a
[framework] Using forward declarations as much as possible
7f9dcc4
[remove UIKit] Added a protocol for UIApplication
c2eb6f5
Fixed "implicit atomic" warnings
eb0ebcf
Fixed cast warnings
7ec1a6f
[remove UIKit] Injected uiapplication dependency
7e5dcf7
Removed dependency on UIKit
094d70a
Fixed scan-build warning by removing NS_DESIGNATED_INITIALIZER from *.m
b6567d1
[memory] Setting delegate pointers to nil in dealloc() method
974c172
[memory] Setting delegate pointers to nil in dealloc() method
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// | ||
// NXApplication.h | ||
// OAuth2Client | ||
// | ||
// Created by Oleksandr Dodatko on 2/2/15. | ||
// Copyright (c) 2015 nxtbgthng. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
@protocol NXApplication <NSObject> | ||
|
||
-(BOOL)openURL:(NSURL*)url; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// | ||
// NXOAuth2.h | ||
// OAuth2Client | ||
// | ||
// Created by Ullrich Schäfer on 13.09.10. | ||
// | ||
// Copyright 2010 nxtbgthng. All rights reserved. | ||
// | ||
// Licenced under the new BSD-licence. | ||
// See README.md in this repository for | ||
// the full licence. | ||
// | ||
|
||
|
||
#import <OAuth2Client/NXApplication.h> | ||
#import <OAuth2Client/NXOAuth2Client.h> | ||
#import <OAuth2Client/NXOAuth2ClientDelegate.h> | ||
#import <OAuth2Client/NXOAuth2AccessToken.h> | ||
#import <OAuth2Client/NXOAuth2Connection.h> | ||
#import <OAuth2Client/NXOAuth2ConnectionDelegate.h> | ||
#import <OAuth2Client/NXOAuth2TrustDelegate.h> | ||
#import <OAuth2Client/NXOAuth2Constants.h> | ||
#import <OAuth2Client/NXOAuth2FileStreamWrapper.h> | ||
#import <OAuth2Client/NXOAuth2PostBodyStream.h> | ||
#import <OAuth2Client/NXOAuth2AccountStore.h> | ||
#import <OAuth2Client/NXOAuth2Account.h> | ||
#import <OAuth2Client/NXOAuth2Request.h> | ||
|
||
#pragma mark Helpers | ||
|
||
#import <OAuth2Client/NSURL+NXOAuth2.h> | ||
#import <OAuth2Client/NSString+NXOAuth2.h> | ||
#import <OAuth2Client/NSData+NXOAuth2.h> |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// | ||
// NXOAuth2RequestCallbacks.h | ||
// OAuth2Client | ||
// | ||
// Created by Oleksandr Dodatko on 2/2/15. | ||
// Copyright (c) 2015 nxtbgthng. All rights reserved. | ||
// | ||
|
||
#ifndef OAuth2Client_NXOAuth2RequestCallbacks_h | ||
#define OAuth2Client_NXOAuth2RequestCallbacks_h | ||
|
||
|
||
#import <Foundation/Foundation.h> | ||
|
||
typedef void(^NXOAuth2ConnectionResponseHandler)(NSURLResponse *response, NSData *responseData, NSError *error); | ||
typedef void(^NXOAuth2ConnectionSendingProgressHandler)(unsigned long long bytesSend, unsigned long long bytesTotal); | ||
|
||
|
||
#endif |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To keep in line with the framework this should be called
NXOAuth2Application