sample code & demos for IOS