I understand the Decorator pattern, in it\'s simplest terms.The idea being that one class wraps another, where a decorator method wishes to run some other code before and/or after calling the same met
I\'m using the code below to free up memory on some running programs because my own program needs large memory resources to run faster.
I have an NSArray of Foos in an Objective-C program. I would like to call the doIt function of each Foo, however, the makeObjectsPerformSelector function of NSArray does not allow the original Foos to