iOS Code updated with Comment

Code Clean up and Comment added