Commit 170323c
committed
fix: Add idempotency to swizzling cache and update Jules.md
- Re-implemented the idempotency check in
ClassMethodImplementationCache::ReplaceOrAddMethod in app/src/util_ios.mm.
This prevents re-swizzling if a method already has the target IMP,
addressing potential recursion issues.
- Updated Jules.md:
- Integrated learnings from the recent iOS App Delegate refactoring task
into relevant existing sections (covering robust swizzling, callback
lifecycles, naming, logging safety, and agent interaction).
- Added a document convention note to maintain 80-character line wrapping.
- Word-wrapped the entire document to 80 characters for readability.
This commit consolidates the fix for the swizzling cache and the comprehensive
updates and formatting for Jules.md.1 parent 3eb4c03 commit 170323c
1 file changed
+20
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
425 | 425 | | |
426 | 426 | | |
427 | 427 | | |
428 | | - | |
429 | | - | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
430 | 447 | | |
431 | 448 | | |
432 | 449 | | |
| |||
436 | 453 | | |
437 | 454 | | |
438 | 455 | | |
439 | | - | |
| 456 | + | |
440 | 457 | | |
441 | 458 | | |
442 | 459 | | |
| |||
0 commit comments