> Design Patterns > Facade > Facade Design Pattern In Swift

Facade Design Pattern In Swift

Facade design pattern in Swift to provide simple interface to use an existing system in an easy way.


Facade design pattern In Swift

Output

Using FacadeSystem::Method1()
Using SubSystemClass1::SubSysClass1Method1()
Using SubSystemClass2::SubSysClass2Method2()
Using SubSystemClass3::SubSysClass3Method1()
Using FacadeSystem::Method2()
Using SubSystemClass1::SubSysClass1Method2()
Using SubSystemClass2::SubSysClass2Method1()
Using SubSystemClass3::SubSysClass3Method2()


Suresh Kumar Srivastava is founder of online learning site coursegalaxy.com and author of popular books C In Depth, Data Structures Through C In Depth. He has 18+ years experience in industry and worked on architecture and design of multiple products. This article Facade Design Pattern In Swift is from his Design Patterns course.