R.swift icon indicating copy to clipboard operation
R.swift copied to clipboard

Add `static let allImages` array to namespaced image folders

Open apptekstudios opened this issue 6 years ago • 0 comments

This addition allows us to safely get an array of all the images contained within a namespaced folder

  • it was chosen to only make this available for namespaced folders, as this indicates these images are semantically grouped
  • this is particularly useful where we want to dynamically (or randomly) pick an image from this group whilst maintaining the safety of R.swift

apptekstudios avatar Nov 30 '19 07:11 apptekstudios