I am familiar with coding concepts but am new to swift I am trying my hand at developing a small app to generate labels. The app pulls data from a .csv file then parses the data to generate the label. I am curious if there is a way to add/search a .csv file in the Assets folder for in app definitions ie (code returns “BLK” from an array). Can I search a document to find that “BLK” = “Black”? I am just using that as an example, not all of the strings returned are colours. I am trying to avoid defining every item individually using if {} else {}. I appreciate any guidance. submitted by /u/H0KB [link] [comments]