Swift Developer Question:
Do you know the Adapter And Memento Pattern?
Answer:
Adapter – It lets the classes with incompatible interfaces to work together and it wraps itself around the object to expose a standard interface to interact with that object.
Memento – This pattern in iOS is used as a part of state restoration.
That is this externalized state can be restored without violating any encapsulation.This pattern is especially used for the archiving in Apple.
Memento – This pattern in iOS is used as a part of state restoration.
That is this externalized state can be restored without violating any encapsulation.This pattern is especially used for the archiving in Apple.
Previous Question | Next Question |
Can you please explain the difference between between @synthesize and @dynamic in Objective –C? | Do you know how Multiple Line Comment Can Be Written In Swift? |