Working with data records in the iOS app