iOS-text sample code (Balance App).