ADDED:Non-ARC project without Sparrow dependency,common code added