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:

  1. go target's build phases , add automator.framework link binary libraries build phase.

  2. in interface/implementation file declares or references ampathpopupbutton type, use forward class declaration instead of trying import header file:

    @class ampathpopupbutton;


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -