How Can I Access Settings Class From Xcode?

Discussion in 'How Can I...?' started by Tiffanee, Jul 14, 2020.

  1. Tiffanee

    Tiffanee Boxer

    Joined:
    Jun 6, 2020
    Messages:
    2
    Likes Received:
    1
    There are variable I created in buildbox with values saved in the Settings class.
    Ex: Settings.myVariable = 5;
    How can I access the variable and its value from withing Xcode?

    There are two methods in the PTPSettingsController.h file that seem like they would be able to give me what I need. I am just not sure what to do with them.
    static void setSettingsValue(const std::string &path, const std::string &value);
    static std::string getSettingsValue(const std::string &path);

    Thank you for your time!
     

Share This Page