Build Birdie a Twitter-like app with tableviews
- Populate the Tableview with both text Posts & Image Post's
- Make custom cells using Xibs
- Use Type Casting to determine which custom Xib to use in the tableview
- Add a text post to the tableview
- Add an image post to the tableview
- Move the logic in cellForRowAt into a MediaPostsCellCoordinator. The MediaPostsCellCoordinator determines which cell to display based on the Media Type.
- Image for post can come from 3 sources
- Photo library
- Camera roll
- camera (Reqires real divice not simulator)
- Refactored tableview Datasource from ViewController to MediaPostsDataSource
- Refactored Image Picking function to ImagePicker class and use delegates and protocols pattern to return selected image to ViewController
- Refactored UIAlert for user post data from ViewController to MediaPostsHandler and use completion closure to tableview reload when valid data has been input
- Added custom separator to tableview
- If you have a feature request, open an issue
- If you want to contribute, submit a pull request