CE/map_follow_behavior

created custom "follow me" behavior to keep user centered on the map after pressing the "follow me" button.  if the user pans or zooms the map while in following mode following is cancelled.  
Yes, I tried to do this last night but couldn't get it to work correctly.
I do want to make it a designated initializer so you can only created it
with a mapView. Let me know how when you get a chance as the stuff i was
googling wasn't getting the job done.

On Mon, Nov 24, 2014 at 9:36 AM, Fabian <notifications@github.com> wrote:

> In RandomRun/Navigation/RRMapFollowBehavior.h:
>
> > @@ -0,0 +1,17 @@
> > +//
> > +//  RRMapFollowBehavior.h
> > +//  RandomRun
> > +//
> > +//  Created by Chris Eldridge on 11/19/14.
> > +//  Copyright (c) 2014 MojoTech. All rights reserved.
> > +//
> > +
> > +#import <MapKit/MapKit.h>
> > +#import <Foundation/Foundation.h>
> > +
> > +@interface RRMapFollowBehavior : NSObject
> > +@property (nonatomic, strong) MKMapView *mapView;
> > +@property (nonatomic) BOOL enabled;
> > +- (instancetype)initWithMapView:(MKMapView *)mapView;
>
> Much like what you saw with the formatted classes, this could be made a
> designated initializer so the behavior always has a map. Then you could
> also make the mapView property read only.
>
> Not necessary, but could be something to think about.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/mojotech/random-run/pull/46/files#r20792888>.
>