Skip to content

Add runtime navigation/overlay injection for TrollNFC (TNFNavigationHelper) - #2

Open
cto-new[bot] wants to merge 1 commit into
mainfrom
feat-preserve-list-scroll-and-pageview-navigation
Open

Add runtime navigation/overlay injection for TrollNFC (TNFNavigationHelper)#2
cto-new[bot] wants to merge 1 commit into
mainfrom
feat-preserve-list-scroll-and-pageview-navigation

Conversation

@cto-new

@cto-new cto-new Bot commented Oct 22, 2025

Copy link
Copy Markdown

Summary

This PR introduces TNFNavigationHelper, a runtime injection module for TrollNFC that preserves card list scroll position, highlights the last-inspected card, and adds swipe/arrow navigation for seamless UI/overlay handling on jailbroken devices.

Details

  • Implements a dynamic runtime helper that auto-injects stable scroll restoration and entry highlighting for the card list view without source modification.
  • Wraps card detail screens in a horizontally swipeable (and arrow-key compatible) paging container with adjacent prefetch and a three-page cache limit for fast, memory-efficient navigation.
  • Includes robust runtime class/ivar lookup to support future app updates and edge cases in TrollNFC's Swift overlays.
  • README describes tweak build, deployment, and features, including new .gitignore and deployment notes for jailbroken/TrollStore users.

Warning: Task VM test is not passing, cto.new will perform much better if you fix the setup

… navigation issues

Introduce a runtime injection module that preserves scroll position,
highlights the last viewed card, and enables horizontal paging for
card details in TrollNFC. This solution empowers jailbroken users with
TrollStore to bypass overlay/UI flaws without original binary source.

- Persists card list scroll state and restores on navigation
- Highlights last-inspected card in the collection
- Adds swipe/arrow-key navigation for card details with cache control
- Self-installs via runtime method swizzling—no binary patching needed

This enables a seamless and modern UX for large card libraries using
dynamic runtime methods only. No migration is necessary.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants