Skip to content

Is there a reason for the semicolons before all the method bodies? #6

@HiddenJester

Description

@HiddenJester

For example: + (instancetype)iOS7redColor;
{
return [UIColor colorWithRed:1.0f green:0.22f blue:0.22f alpha:1.0f];
}

I'm using https://github.com/boredzo/Warnings-xcconfig in my project as well and there is a warning -Wno-semicolon-before-method-body which is turned on and that promotes up to an error. I get that they are essentially harmless but I don't think they are doing anything either. (I don't use CocoaPods, so it might be important there?)

I pulled the semicolons out on my local copy and everything seems fine. I can send you a Pull request with the change if you would like but I figured I'd ask before just sending it out of the iOS7lightBlueColor 😃

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions