Movie Database Application is an iOS mobile application that allows user to search for movies from The Movie Database and displays results in a simple and neat UI. The application uses TheMovieDatabaseSwiftWrapper to fetch responses from the Movie Database API.
-
Top movies and upcoming movies, both of them are displayed in a 2-column fashion.
-
A search bar is provided to narrow down the results displayed. Care is taken to ensure search results are optimized without any lag.
Top Movies Upcoming Movies 

- The view provides results by two ways:
- Auto search results are displayed at the text field as the user enters the letters.
- When user clicks the search button i.e the magnifying glass, the results are neatly displayed in a table view.
| Search | Textfield Results | Table View Results |
|---|---|---|
![]() |
![]() |
![]() |
- The view shows details of the selected movie.
- The movie can be saved to the database to help user check the information of the movie without network. The saved movie can also be deleted.
- Movies are saved and deleted using Realm database.
| Details | Save Movies | Delete Movies |
|---|---|---|
![]() |
![]() |
![]() |
- Top movies and upcoming movies from the last displayed list are saved in the background.
- The same list of movies is displayed when there are network connectivity issues.
- Clone the repository
$ git clone https://github.com/rahul-racha/movie-db.git- Install pods
$ cd movie-db
$ pod install- Open the workspace in Xcode
$ open homes-movie-db.xcworkspace -a Xcode- Xcode 9
- iOS 10+
- Swift 4





