Skip to content

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

Open
yogeshmanghnani wants to merge 2 commits into
John-Lluch:masterfrom
yogeshmanghnani:master
Open

Added support for Xcode 9 and Swift 4.1 and iOS 11.3#778
yogeshmanghnani wants to merge 2 commits into
John-Lluch:masterfrom
yogeshmanghnani:master

Conversation

@yogeshmanghnani

@yogeshmanghnani yogeshmanghnani commented Apr 3, 2018

Copy link
Copy Markdown

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

@sbporter

Copy link
Copy Markdown

Confirmed that this works. Thanks!

{
if ( symetry < 0 ) *pRevealWidth = _rightViewRevealWidth, *pRevealOverdraw = _rightViewRevealOverdraw;
else *pRevealWidth = _rearViewRevealWidth, *pRevealOverdraw = _rearViewRevealOverdraw;
if ( symetry < 0 ) (void)(*pRevealWidth = _rightViewRevealWidth), *pRevealOverdraw = _rightViewRevealOverdraw;

@phoney phoney May 1, 2018

Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown

@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.

5 participants