Answer the question
In order to leave comments, you need to log in
SOLID. Dependency conversion. Abstractions should not depend on details. Details should depend on abstractions. What do you mean by "details"?
if possible, an example in Objective C / Swift
Answer the question
In order to leave comments, you need to log in
Robert Martin once said about this that there should be no dependencies on concrete classes, and relationships should lead to an abstract class or interface. Consider that "details" are a concrete implementation, and "abstraction" is a certain selected basis, necessary and sufficient for defining a connection.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question