Fixed issues with Xcode 6 GM.

- Removed tableview delegate
- Updated optionals