Skip to content

Latest commit

 

History

History
 
 
### Recipes_+_Printing ###

===========================================================================
DESCRIPTION:

The Recipes sample app lets you browse recipes. This sample adds the ability to print the recipes.

It demonstrates formatting data presented by the application UI in a completely custom way for the printed page. 

By subclassing UIPrintPageRenderer, this sample illustrates intermixing custom drawn page content with content drawn by architecture-provided UIPrintFormatters. 

In addition to custom page content, it also draws custom page headers, page footers, and page breaks.

===========================================================================
BUILD REQUIREMENTS:

iOS 4.3 SDK

===========================================================================
RUNTIME REQUIREMENTS:

iOS 4.3 or later.

===========================================================================
PACKAGING LIST:

- RecipesAppDelegate: the application delegate
- RecipeListTableViewController: a UITableViewController for displaying a list of recipes
- RecipeDetailViewController: a UITableViewController for displaying detailed information about a recipe
- InstructionsViewController: a UIViewController for editing a recipe's preparation instructions
- RecipePhotoViewController: a UIViewController for viewing a recipe's photo
- RecipePrintPageRenderer: a UIPrintPageRenderer for rendering multiple recipes for printing
- RecipeTableViewCell: a UITableViewCell for displaying a recipe entry in the RecipeListTableViewController
- Recipe: a model object to represent a single recipe
- RecipesController: a controller to manage a set of recipes

===========================================================================
CHANGES FROM PREVIOUS VERSIONS:

Version 1.1
- Sample scaled down to focus more closely on printing.

Version 1.0
- First version. For WWDC 2011 printing session demo.
- Has the ability to print one or more recipes

===========================================================================
Copyright (C) 2011 Apple Inc. All rights reserved.