Skip to content
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

Added support for Xcode 9 and Swift 4.1 and iOS 11.3 #778

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

yogeshmanghnani
Copy link

@yogeshmanghnani yogeshmanghnani commented Apr 3, 2018

All the warnings and errors removed for Xcode 9 and Swift 4.1 and iOS 11.3

@sbporter
Copy link

Confirmed that this works. Thanks!

@@ -1023,16 +1028,16 @@ - (void)_notifyPanGestureEnded

- (void)_getRevealWidth:(CGFloat*)pRevealWidth revealOverDraw:(CGFloat*)pRevealOverdraw forSymetry:(int)symetry
{
if ( symetry < 0 ) *pRevealWidth = _rightViewRevealWidth, *pRevealOverdraw = _rightViewRevealOverdraw;
else *pRevealWidth = _rearViewRevealWidth, *pRevealOverdraw = _rearViewRevealOverdraw;
if ( symetry < 0 ) (void)(*pRevealWidth = _rightViewRevealWidth), *pRevealOverdraw = _rightViewRevealOverdraw;
Copy link

@phoney phoney May 1, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not the normal way to write this code. Just add braces and semicolons.
if ( symetry < 0 ) {*pRevealWidth = _rightViewRevealWidth; *pRevealOverdraw = _rightViewRevealOverdraw; }
else {*pRevealWidth = _rearViewRevealWidth; *pRevealOverdraw = _rearViewRevealOverdraw; }

Those void's are just not normally used like that.

@famictech2000
Copy link

Where can I d/l the newest version with all the fixes for Xcode 9 and Swift 4.1 and iOS 11.3?

@iDevelopper
Copy link

@famictech2000 ,

#763

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants