BradLarson/GPUImage — pull request #1589 by bgulanowski (2014-05-26 05:30:17+00:00)
Title: Mac FilterShowcase refactor

These changes are meant to clean up the Mac showcase for readability and standard Cocoa/Objective-C design. The main window controller class is simplified.

Options related to view configuration are moved into new categories defined on UIImageOutput and subclasses, leveraging polymorphism. This permits removal of the pre-defined enumerated filter type, related monstrous switch statements, and pervasive class type-casting.

Filter classes are discovered automatically by scanning the classes using runtime functions.