Xero interview question

It was a task to fix some issues in an iOS project