I need to calculate from pricing based on some business rules and I do not want to duplicate this across several ViewControllers. Coming from a .Net world I would use a static method on a class to do this. What is a similar solution in Objective-C?
Share
A class method most likely – ie. a function in the interface declared with a + at the start.
(and a similar @interface in a header file)
which is called like so: