iOS assignment using a Master Detail application