Skip to content

Simple guide · Overview

Page status: HistoricalHistory group: Classified notes

NutsNews iOS Thumbnail Crop Update

This bundle removes the troubleshooting image-resolution badge and changes wide thumbnails to display in a cropped 3:2 image area.

Visual overview

Primary diagram

System map

This bundle removes the troubleshooting image-resolution badge and changes wide thumbnails to display in a cropped 3:2 image area.

Render the repository-owned system map when you need it.

Diagram is not rendered yet.

View as text
NutsNews iOS Thumbnail Crop Update

This bundle removes the troubleshooting image-resolution badge and changes wide thumbnails to display in a cropped 3:2 image area.

flowchart TB
  accTitle: NutsNews iOS Thumbnail Crop Update
  accDescr {
    This bundle removes the troubleshooting image-resolution badge and changes wide thumbnails to display in a cropped 3:2 image area.
  }
  A["NutsNews iOS Thumbnail Crop Update"] --> B["ios/NUTSNEWS_IOS_THUMBNAIL_CROP_UPDATE_README.md"]
  B --> C["Auto-generated placeholder diagram"]

NutsNews iOS Thumbnail Crop Update

Fullscreen diagram view.

This bundle removes the troubleshooting image-resolution badge and changes wide thumbnails to display in a cropped 3:2 image area.

Changed files:

  • NutsNews/NutsNews/Features/Feed/ArticleCardView.swift
  • NutsNews/NutsNews/Design/NutsNewsTheme.swift

Behavior:

  • The thumbnail resolution text is no longer shown on cards.
  • The card still inspects the thumbnail metadata internally.
  • If a thumbnail is wider than 3:2, the card displays it inside a 3:2 container using scaledToFill and clipping.
  • Normal/non-wide thumbnails keep the existing fixed card image height.

Install from the repo root:

Terminal window
cd /Users/ramideltoro/WebstormProjects/nutsnews-ios
unzip -o ~/Downloads/nutsnews-ios-thumbnail-crop-update.zip -d .
cd NutsNews
xcodebuild -project NutsNews.xcodeproj -scheme NutsNews -destination 'id=8AABA667-DE66-44E9-8A10-A3FB84BECB39' build