Skip to content

Latest commit

 

History

History

Week5

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Birdie App

License: MIT Platforms Swift Version PRs Welcome Twitter

Week 5 Assignment

Build Birdie​ a Twitter-like app with tableviews

Assignment Requirements completed

  • 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

Stretch Above and Beyond Requirements completed:

  • 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.

Additional Assignment Goals completed

  • 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

App Demo

Birdie

Contribution

  • If you have a feature request, open an issue
  • If you want to contribute, submit a pull request

License

MIT License.