diff --git a/docs/cookbook/table_screens.md b/docs/cookbook/table_screens.md new file mode 100644 index 0000000..7c58ec3 --- /dev/null +++ b/docs/cookbook/table_screens.md @@ -0,0 +1,22 @@ +There are two types of templates in RedPotion for tables: + +* Metal tables: "Metal" meaning down to the metal. These are standard SDK tables, that are converted into ProMotion screens +* ProMotion tables: These are easy to use and if you don't have tons of rows they would be a good choice. + +## Metal tables + +### To create + +``` +potion create table_screen foo +``` + +## ProMotion tables + +### To create + +``` +potion create table_screen foo +``` + +[ProMotion table docs](https://github.com/clearsightstudio/ProMotion/blob/master/docs/Reference/API%20Reference%20-%20ProMotion%20TableScreen.md) diff --git a/mkdocs.yml b/mkdocs.yml index bdd4247..0131dec 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -9,25 +9,26 @@ pages: - [cookbook/command_line.md, Cookbook, "Command-line and REPL tools"] - [cookbook/project.md, Cookbook, "Project info, are you in the simulator, dev, release, on what OS, what device, etc"] - [cookbook/device.md, Cookbook, "The device"] -- [cookbook/app_delegate.md, Cookbook, "The app delegate"] -- [cookbook/app.md, Cookbook, "The app and how to get to it"] -- [cookbook/screens.md, Cookbook, "Screens"] +- [cookbook/app_delegate.md, Cookbook, "App delegate"] +- [cookbook/app.md, Cookbook, "App object: access the app from anywhere"] +- [cookbook/screens.md, Cookbook, "Screens: UIViewControllers"] +- [cookbook/table_screens.md, Cookbook, "Table Screens"] - [cookbook/stylesheets.md, Cookbook, "Stylesheets: style and layout your screens and views"] -- [cookbook/layout_a_screen.md, Cookbook, "Laying out a screen"] +- [cookbook/layout_a_screen.md, Cookbook, "Layout: Laying out a screen"] - [cookbook/stylers.md, Cookbook, "Styles and stylers"] -- [cookbook/traversing.md, Cookbook, "Finding your way around. Traversing the app, screens, and views"] -- [cookbook/selecting.md, Cookbook, "Selecting or finding views"] +- [cookbook/traversing.md, Cookbook, "Traversing: Finding your way around screens and views"] +- [cookbook/selecting.md, Cookbook, "Selecting: finding views"] - [cookbook/events_and_gestures.md, Cookbook, "Events and Gestures"] - [cookbook/images.md, Cookbook, "Images, icons, and photos"] - [cookbook/fonts.md, Cookbook, "Fonts"] - [cookbook/colors.md, Cookbook, "Colors"] - [cookbook/animations.md, Cookbook, "Animating and animations"] -- [cookbook/actions.md, Cookbook, "Misc actions, such as hiding, focusing, etc"] -- [cookbook/attributes.md, Cookbook, "Updating data or attributes"] +- [cookbook/actions.md, Cookbook, "Actions: such as hiding, focusing, etc"] +- [cookbook/attributes.md, Cookbook, "Attributes and data"] - [cookbook/tagging.md, Cookbook, "Tagging views"] -- [cookbook/format.md, Cookbook, "Formatting numbers and dates"] +- [cookbook/format.md, Cookbook, "Numbers and dates: formatting"] - [cookbook/alerts_and_action_sheets.md, Cookbook, "Alerts and ActionSheets"] -- [cookbook/core_data.md, Cookbook, "Using a local database. Core Data"] +- [cookbook/core_data.md, Cookbook, "Core Data and CDQ: Using a local database"] - [cookbook/timers.md, Cookbook, "Timers and delays. Do something every second"] - [cookbook/networking.md, Cookbook, "Networking, JSON, remote images"] - [cookbook/validations.md, Cookbook, "Validating data, text, text boxes, etc"]