Use Observer | raywenderlich.com

Design patterns are a starting point –– a template, not a complete solution. As most things, there are tradeoffs with each decision.

When evaluating whether a decision is “okay” or not for a given question, I normally ask two questions,

  1. “Does it violate SOLID?”

  2. And if it does, “Am I okay with the consequences that will result?”

I go into more details about SOLID on this thread.

TLDR:

It’s probably okay, as long as you understand the consequences of doing so. If you anticipate a problem that it will cause, design for it. :wink:

1 Like