Skip to content

Structural Patterns Pt 1 Feedback #5

@ibirnam

Description

@ibirnam

@amelinagzz - Feedback on https://make-school-courses.github.io/MOB-2.4-Advanced-Architectural-Patterns-in-iOS/#/Lessons/05-Structural-PatternsPt.1/Lesson5

New Idea: Have them research the patterns themselves first, discuss as a class, then you explain the concepts and have them practice it. could be a nice way to break up the flow of lessons so far

The Adapter Pattern:

  • Give a metaphor here to help the concept sink in. Comparing to the dongles we use for macbooks would be good here.
  • Client is mentioned but never used. Either use it in your example, or omit it if it's not important
  • Make them do a mini-challenge here. Should mimic the hobbit example 90%, just get them practicing writing the syntax
  • Might be nice to have small code-snippets of the "when to use" and "when NOT to use" sections to highlight the examples

The Decorator Pattern:

  • Use a metaphor of a magic dongle that automatically adapts to any connection that's needed when you go to plug it in.
  • UIDatePicker has a formatting issue
  • Put the Coffee example earlier to break up the TT. After the "Problems Addressed" section.
  • Add a simple challenge that's 90% like the Coffee example (make it Tea, or Boba, etc.), and have them do it themselves to get practice with it

After Class: Usual concern of how are you checking that they do this work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions