title: How to loop over struct properties in Swift?
body: <p>Is it possible to iterate over properties of a struct in Swift? </p>
  
  <p>I need to register cells-reuse identifiers in a view controller that makes use of many different cell types (cells are organized in different nib files). So my idea was to put all reuse identifiers and the corresponding nib-files as static tuple-properties (reuseID, nibName) in a struct. But how can I iterate over all of them to register the cells with the tableView? </p>
  
  <p>I already tried something (see my answer below). But is there a more easy way to do this, e.g. without putting every property inside an array?</p>