The Facade
A simplified sigil for a tangled weave of subsystems.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Facade
ARCANUM SCHOOL: Illusion // Subschool: Simplicity
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// OBJC PATTERN //
@interface TKLeyline : NSObject
- (void)tapPower;
@end
@implementation TKLeyline
- (void)tapPower {}
@end
@interface TKCrystal : NSObject
- (void)focus;
@end
@implementation TKCrystal
- (void)focus {}
@end
@interface TKRitualFacade : NSObject
- (void)performRitual;
@end
@implementation TKRitualFacade
- (void)performRitual {
TKLeyline *leyline = [TKLeyline new];
TKCrystal *crystal = [TKCrystal new];
[leyline tapPower];
[crystal focus];
}
@end
The Facade hides the chaotic tangle of leylines, crystals, and incantations behind a single, elegant ritual interface.
Runic Tags:
#objc
#facade
#structural