Improved iOS samples