blob: 7aafb0c0fc571666956e9e5a197bbd57086400c3 [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 "ios/showcase/core/showcase_model.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
#error "This file requires ARC support."
#endif
@implementation ShowcaseModel
// Insert additional rows in this array. All rows will be sorted upon
// import into Showcase.
// |kShowcaseClassForDisplayKey| and |kShowcaseClassForInstantiationKey| are
// required. |kShowcaseUseCaseKey| is optional.
+ (NSArray<showcase::ModelRow*>*)model {
return @[
@{
showcase::kClassForDisplayKey : @"SettingsViewController",
showcase::kClassForInstantiationKey : @"SCSettingsCoordinator",
showcase::kUseCaseKey : @"Main settings screen",
},
@{
showcase::kClassForDisplayKey : @"ContentSuggestionsViewController",
showcase::kClassForInstantiationKey : @"SCSuggestionsCoordinator",
showcase::kUseCaseKey : @"New Suggestions UI",
},
@{
showcase::kClassForDisplayKey : @"MenuViewController",
showcase::kClassForInstantiationKey : @"MenuViewController",
showcase::kUseCaseKey : @"Tools menu",
},
@{
showcase::kClassForDisplayKey : @"UITableViewCell",
showcase::kClassForInstantiationKey : @"UIKitTableViewCellViewController",
showcase::kUseCaseKey : @"UIKit Table Cells",
},
@{
showcase::kClassForDisplayKey : @"TabGridViewController",
showcase::kClassForInstantiationKey : @"SCTabGridCoordinator",
showcase::kUseCaseKey : @"Tab grid",
},
@{
showcase::kClassForDisplayKey : @"TabStripContainerViewController",
showcase::kClassForInstantiationKey : @"SCTabStripCoordinator",
showcase::kUseCaseKey : @"Tab strip container",
},
@{
showcase::kClassForDisplayKey : @"ToolbarViewController",
showcase::kClassForInstantiationKey : @"SCToolbarCoordinator",
showcase::kUseCaseKey : @"Toolbar",
},
];
}
@end