From 90a50c0c4150080f725cc6b66909eef58a2a9b4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguy=E1=BB=85n?= Date: Wed, 20 May 2015 11:49:59 -0700 Subject: Observe access token changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The singleton `MGLAccountManager` wants to be the sole arbiter of the access token, but each instance of `mbgl::Map` (`mbgl::DefaultFileSource` in #1607) has its own copy of the access token. Now `MGLMapView` observes for changes to the `MGLAccountManager`’s access token and synchronizes `mbgl::Map` with it. --- gyp/platform-ios.gypi | 1 + 1 file changed, 1 insertion(+) (limited to 'gyp') diff --git a/gyp/platform-ios.gypi b/gyp/platform-ios.gypi index 7e91648c40..12cbd9592c 100644 --- a/gyp/platform-ios.gypi +++ b/gyp/platform-ios.gypi @@ -27,6 +27,7 @@ '../platform/ios/MGLFileCache.h', '../platform/ios/MGLFileCache.mm', '../include/mbgl/ios/MGLAccountManager.h', + '../platform/ios/MGLAccountManager_Private.h', '../platform/ios/MGLAccountManager.m', '../include/mbgl/ios/MGLAnnotation.h', '../include/mbgl/ios/MGLUserLocation.h', -- cgit v1.2.1