Small sample chat application for iOS