1. add missing endline
2. surround the sharedAccelerometer method body with a compiler pragma to make
it shut up, like this:
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wobjc-protocol-method-implementation"
+ (UIAccelerometer *)sharedAccelerometer
{
return [AccelerometerSimulation getAccelerometer];
}
#pragma clang diagnostic pop
Original issue reported on code.google.com by tom...@gmail.com on 5 Dec 2012 at 9:36
Original issue reported on code.google.com by
tom...@gmail.com
on 5 Dec 2012 at 9:36