We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello.
Now the library doesn't support ARC. As far as I know there are 2 options to solve this.
The first is adding -fno-objc-arc compiler flag for PullRefreshTableViewController.m file in build phases tab of target configs (as described here).
-fno-objc-arc
The second solution doesn't need any steps for developers. I found it in ViewDeck library. Here you can find changes.
Pay attention to the next lines of code.
#ifndef __has_feature #define __has_feature(x) 0 #endif #ifndef __has_extension #define __has_extension __has_feature // Compatibility with pre-3.0 compilers. #endif #if __has_feature(objc_arc) && __clang_major__ >= 3 #define II_ARC_ENABLED 1 #endif // __has_feature(objc_arc)
and
- (void)dealloc { #if !II_ARC_ENABLED [refreshHeaderView release]; [refreshLabel release]; [refreshArrow release]; [refreshSpinner release]; [textPull release]; [textRelease release]; [textLoading release]; [super dealloc]; #endif }
So the question is which way is correct? And should I pull-request this changes?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello.
Now the library doesn't support ARC.
As far as I know there are 2 options to solve this.
The first is adding
-fno-objc-arc
compiler flag for PullRefreshTableViewController.m file in build phases tab of target configs (as described here).The second solution doesn't need any steps for developers. I found it in ViewDeck library.
Here you can find changes.
Pay attention to the next lines of code.
and
So the question is which way is correct? And should I pull-request this changes?
The text was updated successfully, but these errors were encountered: