blob: 335038cc4d3a57687f813bb5efb4934a9450f344 [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import <UIKit/UIKit.h>
// This protocol is the common interface to the simple non-production
// coordinators that will initialize, set up and present production view
// controllers, usually with completely mocked data.
@protocol Coordinator<NSObject>
// The base view controller used to present the view controller that this
// coordinator drives.
@property(nonatomic, weak) UIViewController* baseViewController;
// Typically, this initializes a view controller, sets it up and presents it.
- (void)start;