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

Popular posts from this blog

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -