Fixed parse error by renaming method:
- (void) motionEnded:withEvent:(UIEventSubtype)motion withEvent:(UIEvent *)event
    to:
- (void) motionEndedwithEventSubtype:(UIEventSubtype)motion withEvent:(UIEvent *)event
Fixed warning Incompatible pointer types initializing 'NSDictionary *' with an expression of type 'NSString *' by changing the variable str to a NSString* from a NSDictionary*.  This looks to be the intended use.
using NSString isEqual() method instead of comparison operator.
upgrade check changed
moved _sundayFirst to a class proper so it can be set after initialization.  Makes it easier to use in a storyboard.
Moved _sundayFirst to a class proper so it can be set after initialization.
moved instance variable ‘sunday’ to a class property so it can be set after initialization.  Easier to use with storyboards.
Synthesizing sunday property.  Added -initWithCoder: for use with storyboards.