objective c - Best way to set a configuration file in iOS app -
i'm making first ios application run adhoc release on ipad part of university project.
i need have configurable file somewhere within source setting price constants accessed multiple subclasses of superclass.
i'm wondering best way store these values, there 150 of them, should store them static constants in superclass?
or?
sorry, newby question, want make sure doing right way
putting them static constants in superclass means have recompile every subclasses everytime modify 1 of values. use plist or json or whatever format , load application bundle static nsdictionary , use this.
so when modify price, can see right @ next run without compiling.
Comments
Post a Comment