//
//  ManagedContentViewState.swift
//  Astro
//
//  Created by Karl Schmidt on 2016-01-29.
//  Copyright © 2016 Mobify Research & Development Inc. All rights reserved.
//

import Foundation

// This is currently used to address some bugs with WKWebView - WKWebView needs
// to be in the view hierarchy to process messages, so we store it in a 'holding pen'
// when it isn't currently shown to a user. That 'holding pen' is full-screen, so
// there can be a visual 'resize pop' when it first displayed after being inserted
// into something like an AnchoredLayout. So we need to send the view controller a message
// prior to viewWillAppear, via addedToContentView.
public protocol ManagedContentViewState {
    func didGetAddedToContentView()
}
