updated the offline sample project for ios 2.0 release