         client.roomList { response in
             switch response {
             case .Success(let many):
-                let rooms = many().items
+                let rooms = many.value.items
                 NSLog("rooms: " + rooms.map{"\($0.name)(\($0.id))"}.description)
             case .Failure(let error):
                 NSLog("failed to list rooms: \(error)")

    let usernameLabel = UILabel()
    let roomIDToPostField = UITextField()
    let messageToPostField = UITextField()
    let postButton = UIButton.buttonWithType(.System) as UIButton
    let listButton = UIButton.buttonWithType(.System) as UIButton
    let messagesTextView = UITextView()
    var pusher: MessagePusherClient?
    

        client.postMessage(messageToPostField.text, roomID: roomIDToPostField.text, files: []) { response in
            switch response {
            case .Success(let postMessage):
                NSLog("message posted successfully: \(postMessage.value.messageID)")
                self.messageToPostField.text = ""
            case .Failure(let error):
                NSLog("failed to post message: \(error)")
