From a9828006988324a5e3ee3f6f84a21497fcd9038b Mon Sep 17 00:00:00 2001 From: Yosuke Ishikawa Date: Thu, 19 Feb 2015 01:17:24 +0900 Subject: [PATCH] update README --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index c5246f35..50c86782 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ APIKit ====== +[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) + protocol set for building type safe web API client in Swift. ## Example @@ -12,6 +14,7 @@ GitHub.sendRequest(request) { response in switch response { case .Success(let box): self.repositories = box.unbox // type of response object is inferred by request + self.tableView?.reloadData() case .Failure(let box): let alertController = UIAlertController(title: "Error", message: box.unbox.localizedDescription, preferredStyle: .Alert)