Learning AFNetwork and MagicRecord