Skip to content

mumthasir-muhammed/AlDarMachinTest

Repository files navigation

iOS Dev Test Task

Overview

This project demonstrates an iOS application that fetches news articles from an API and displays them in a dynamically updated slider based on various categories such as All, Politics, Technology, and Weather. The project follows the MVVM (Model-View-ViewModel) design pattern and utilizes several popular libraries for network requests, image loading, and layout management.

Features

  • Dynamic slider with categories (All, Politics, Technology, Weather)
  • Search functionality (UI component only)
  • Images loaded from provided image URLs
  • Detail view on tapping an article image

Libraries Used

  • TagListView: For fast Taglist integration
  • SDWebImage: This library provides an async image downloader with cache support

Setup and Installation

  1. Clone the repository:
    git clone https://github.com/your-username/ios-dev-test-task.git
  2. Navigate to the project directory:
    cd ios-dev-test-task
  3. Install dependencies using CocoaPods:
    pod install
  4. Open the project in Xcode:
    open ios-dev-test-task.xcworkspace

Project Structure

  • Model: Contains data models for the news articles
  • View: Contains UI components and layout files
  • ViewModel: Contains logic for fetching data and updating the views
  • Networking: Contains network service for API requests

Usage

  1. Run the app on an iOS simulator or device.
  2. The app will display a slider with categories (All, Politics, Technology, Weather).
  3. Select a category to see the relevant news articles.
  4. Tap on an article image to view the details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published