Batman Movies App is a SwiftUI-based iOS application that displays a catalog of Batman movies fetched from the OMDb API.
Users can scroll through a responsive grid of movie posters and tap on any item to see more details.
This app connects to the OMDb API (Open Movie Database), which provides metadata about movies, including title, year, IMDb ID, and poster URL.
Endpoint used:
https://www.omdbapi.com/?apikey=YOUR_API_KEY&s=batman&type=movie&page=2🧩 Requirements
Xcode: 15.4 or newer (tested on Xcode 26.0)
iOS Deployment Target: iOS 17.0+
Frameworks: SwiftUI, Foundation
-
Clone this repository
-
Open the project in Xcode
Double-click the .xcodeproj or .xcworkspace file.
Wait for Swift Package Manager to resolve dependencies automatically.
-
Add your OMDb API key
guard let url = URL(string: "https://www.omdbapi.com/?apikey=YOUR_API_KEY&s=batman&type=movie&page=2")
-
Build and run the project
-
Enjoy the app!