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

line 535 warning in .m file #65

Closed
callmewhy opened this issue Oct 20, 2014 · 1 comment
Closed

line 535 warning in .m file #65

callmewhy opened this issue Oct 20, 2014 · 1 comment

Comments

@callmewhy
Copy link

I got a warning of "Code will never be executed" in .m file, line 535, while using in Swift .

    } else if (self.type == HMSegmentedControlTypeTextImages && HMSegmentedControlSegmentWidthStyleFixed){

I wonder should it be like this:

    } else if (self.type == HMSegmentedControlTypeTextImages && self.segmentWidthStyle == HMSegmentedControlSegmentWidthStyleFixed){
@HeshamMegid
Copy link
Owner

This has been fixed in 2dc6187

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

No branches or pull requests

2 participants