| 
				
			 | 
			
			
				@@ -2,11 +2,13 @@ 
			 | 
		
	
		
			
			| 
				2
			 | 
			
				2
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				3
			 | 
			
				3
			 | 
			
			
				 @implementation RNNOverlayManager { 
			 | 
		
	
		
			
			| 
				4
			 | 
			
				4
			 | 
			
			
				 	NSMutableDictionary* _overlayDict; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				5
			 | 
			
			
				+	RNNStore* _store; 
			 | 
		
	
		
			
			| 
				5
			 | 
			
				6
			 | 
			
			
				 } 
			 | 
		
	
		
			
			| 
				6
			 | 
			
				7
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				7
			 | 
			
				
			 | 
			
			
				-- (instancetype)init { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				8
			 | 
			
			
				+- (instancetype)initWithStore:(RNNStore *)store { 
			 | 
		
	
		
			
			| 
				8
			 | 
			
				9
			 | 
			
			
				 	self = [super init]; 
			 | 
		
	
		
			
			| 
				9
			 | 
			
				10
			 | 
			
			
				 	_overlayDict = [[NSMutableDictionary alloc] init]; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				11
			 | 
			
			
				+	_store = store; 
			 | 
		
	
		
			
			| 
				10
			 | 
			
				12
			 | 
			
			
				 	return self; 
			 | 
		
	
		
			
			| 
				11
			 | 
			
				13
			 | 
			
			
				 } 
			 | 
		
	
		
			
			| 
				12
			 | 
			
				14
			 | 
			
			
				  
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -33,6 +35,7 @@ 
			 | 
		
	
		
			
			| 
				33
			 | 
			
				35
			 | 
			
			
				 - (void)removeCachedOverlay:(RNNRootViewController*)viewController { 
			 | 
		
	
		
			
			| 
				34
			 | 
			
				36
			 | 
			
			
				 	[viewController.view removeFromSuperview]; 
			 | 
		
	
		
			
			| 
				35
			 | 
			
				37
			 | 
			
			
				 	[_overlayDict removeObjectForKey:viewController.componentId]; 
			 | 
		
	
		
			
			| 
				
			 | 
			
				38
			 | 
			
			
				+	[_store removeComponent:viewController.componentId]; 
			 | 
		
	
		
			
			| 
				36
			 | 
			
				39
			 | 
			
			
				 } 
			 | 
		
	
		
			
			| 
				37
			 | 
			
				40
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				38
			 | 
			
				41
			 | 
			
			
				 @end 
			 |