Estimote / iOS-Fleet-Management-SDK

Estimote Fleet Management SDK for iOS
https://developer.estimote.com
MIT License
1.18k stars 398 forks source link

No New Lines at the End of Header Files #229

Closed NoxHarmonium closed 8 years ago

NoxHarmonium commented 8 years ago

Hi,

A lot of the header files in the framework have no new line at the end of the file.

This is throwing up warnings for me in Xcode.

screenshot 2016-08-29 11 18 43

I would submit a PR but I don't think I could edit the header files without rebuilding the framework.

I found an easy way to do it at least, the following terminal commands will add new lines to all header files in the current directory (and subdirectories)

OSX: find . -name "*.h" | xargs sed -i '' -e '$a\'

Linux: find . -name "*.h" | xargs sed -i -e '$a\'

Cheers,

Sean