title: Objective-C get a class property from string
body: <p>I've heard a number of similar questions for other languages, but I'm looking for a specific scenario.</p>
  
  <p>My app has a Core Data model called "Record", which has a number of columns/properties like "date, column1 and column2". To keep the programming clean so I can adapt my app to multiple scenarios, input fields are mapped to a Core Data property inside a plist (so for example, I have a string variable called "dataToGet" with a value of 'column1'.</p>
  
  <p>How can I retrieve the property "column1" from the Record class by using the dataToGet variable?</p>