Skip to content

Technical guide · iOS

Page status: HistoricalHistory group: Classified notes

NutsNews iOS Feature 4: Good Mood Picker

This update adds a native Good Mood picker to the iOS app.

Visual overview

Primary diagram

System map

This update adds a native Good Mood picker to the iOS app.

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

Diagram is not rendered yet.

View as text
NutsNews iOS Feature 4: Good Mood Picker

This update adds a native Good Mood picker to the iOS app.

flowchart TD
  accTitle: NutsNews iOS Feature 4: Good Mood Picker
  accDescr {
    This update adds a native Good Mood picker to the iOS app.
  }
  A[User opens app] --> B[Tap sparkle button next to Settings/Search]
  B --> C[Open Good Mood screen]
  C --> D[User selects Calm, Hopeful, Inspired, or Curious]
  D --> E[Rank currently loaded feed for selected mood]
  E --> F{Best match found?}
  F -->|Yes| G[Show recommended story with thumbnail]
  G --> H[User opens recommended story]
  H --> I[Open native Article Detail]
  I --> J[Save mood-picked story]
  F -->|No| K[Show empty recommendation state]

NutsNews iOS Feature 4: Good Mood Picker

Fullscreen diagram view.

This update adds a native Good Mood picker to the iOS app.

  • Adds a sparkle button next to Settings and Search in the home header.
  • Adds a native Good Mood screen.
  • Users can choose Calm, Hopeful, Inspired, or Curious.
  • The app ranks the currently loaded feed and recommends the best story for that mood.
  • Results include thumbnails.
  • Users can open the recommended story in the native Article Detail screen.
  • Users can save mood-picked stories to Saved Stories.
  • NutsNews/NutsNews/Features/Feed/FeedView.swift
  • NutsNews/NutsNews/Features/Mood/GoodMoodView.swift
Terminal window
cd /Users/ramideltoro/nutsnews-ios
zsh ~/Downloads/nutsnews-ios-feature-4-good-mood-picker/nutsnews_ios_feature_4_good_mood/scripts/install_feature_4_good_mood_picker.sh \
~/Downloads/nutsnews-ios-feature-4-good-mood-picker/nutsnews_ios_feature_4_good_mood
Terminal window
cd /Users/ramideltoro/nutsnews-ios/NutsNews
xcodebuild \
-project NutsNews.xcodeproj \
-scheme NutsNews \
-destination 'platform=iOS Simulator,name=iPhone 17 Pro Max' \
build