创建菜谱类图
2016-06-19 14:15:24 0 举报
该菜谱类图展示了一个菜谱系统的基本组成部分。其中,`Recipe`类代表了一份具体的菜谱,包含了名称、食材列表、做法等信息。`Ingredient`类表示了菜谱中所需的食材,包含了名称、用量等属性。`Step`类表示了制作菜谱的步骤,包含了序号、描述和所需材料等属性。`User`类表示了使用菜谱的用户,包含了姓名、年龄等属性。`RecipeBook`类表示了用户的菜谱集合,可以添加、删除和查找菜谱。通过这些类的组合和交互,用户可以方便地创建、编辑和管理自己的菜谱库。
作者其他创作
大纲/内容
XCFCreatRecipeController
-headerActionSheet:UIActionSheet-instructActionSheet:UIActionSheet-instructPicker:UIImagePickerController
-setupTableView:void-setupFood:void
XCFCreatInstruction
-cellHeight:CGFloat
NSObject
XCFCreatIngredientFooter
-initWithReuseIdentifier:instancetype-addIngredient:void
UIViewController
ModelTool
XCFRecipeEditViewHeader
-topImageView:UIImageView-titleLabel:UILabelsummaryMark:XCFAddMark
-summaryMark:XCFAddMark-setCreatRecipe:void-addPhoto:void
XCFCreatRecipe
+mj_objectClassInArray:NSDictionary-author:XCFAuthorDetail-headerHeight:CGFloat
0 条评论
下一页