cocoa - Where is the AMPathPopUpButton class declared? -
i stumbled upon ampathpopupbutton control in interface builder, every time try use it, compiler notified me
use of undeclared type 'ampathpopupbutton'.
according search, should in automator framework. after import framework, still have no luck.
i suspect control may have been deprecated, however, still available in interface builder, , couldn't find information retirement.
is still usable in code? if yes, should import or do?
you should link against automator framework, , use forward class declaration button type:
go target's build phases , add automator.framework link binary libraries build phase.
in interface/implementation file declares or references
ampathpopupbutton
type, use forward class declaration instead of trying import header file:@class ampathpopupbutton;
Comments
Post a Comment