Is a good idea to use enum\'s for Multiton patte开发者_如何学Gorn if the number of instances for Multitonis fixed at compile-time.I have seen the Enum Sigleton pattern,so i was just wondering if the s
i\'ve created my own plugin architecture for one of my programs. Basicly Plugin is the base class for all of my plugins and say that i\'ve plugins like PluginA : Plugin, PluginB : Plugin.
Would you call this implementation of a multiton in objective-c \'elegant\'? I have programmatically \'disallowed\' use of alloc and allocWithZone: because the decision to allocate or not allocate mem