A simple message posting and commenting example in Swift