Need some XCode Swift help (XCode 15.3) with storing hard-code values of various products for various locations, that I can pull into functions instead of just calling an API. -- 2

Job ID: 39135799

Budget: $10 – $30 USD

Hi there. I have a list of Locations (NYC Store, Chicago Store, Los Angeles Store) and each has a list of products (Jeans, Shirts, Shoes, Belts, etc). Each product has its own price/value. What's an easy and good way to store these hard-coded prices/values, so I don't have to be dependent on calling them from an API?

I need to be able to copy and paste the code into my project. I want to be able to set up functions in my controller where I can set the value of certain labels to the stored/saved values WHEN a certain location is set in the function.
Related categories: Mobile App Development iPhone Mac OS Swift