NutsNews iOS Feature 3 — Full Archive Search
Section titled “NutsNews iOS Feature 3 — Full Archive Search”This update connects the iOS app to the new NutsNews web search backend:
https://www.nutsnews.com/api/search?q=good&page=0&limit=20
What changed
Section titled “What changed”- Added a native search icon to the home header.
- Added a native full archive search screen.
- Search calls the production
/api/searchendpoint instead of searching only loaded phone articles. - Search results include thumbnails, source, category, summary, and date.
- Search results can be opened in the native article detail screen.
- Search results can be saved to the local Saved Stories library.
- Search responses are cached briefly on-device to reduce repeated API hits.
Files changed
Section titled “Files changed”NutsNews/NutsNews/Networking/NutsNewsAPIClient.swiftNutsNews/NutsNews/Features/Feed/FeedView.swiftNutsNews/NutsNews/Features/Search/ArchiveSearchView.swift
Test checklist
Section titled “Test checklist”- Build the app.
- Open the app in the simulator.
- Confirm the home header shows a search icon.
- Tap the search icon.
- Search
good. - Confirm results appear from the full NutsNews archive.
- Search
communityordogs. - Confirm results show thumbnails.
- Tap a result and confirm Article Detail opens.
- Save a result.
- Close Search and open Saved.
- Confirm the saved search result appears in Saved Stories.
- Search nonsense like
zzzzzzzzzzand confirm the no-results state appears. - Load more results if available.
App Review note
Section titled “App Review note”This feature supports the App Store Review response for Guideline 4.2.2 because it adds a native discovery experience across the full NutsNews archive instead of only showing a list of loaded web links.
