mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-17 23:53:30 +08:00
fix(skills): address code review feedback on iOS 26 skill examples
- Add required name/description properties and @Generable to RecipeSearchTool - Fix missing argument label in session.respond(to:) call - Remove non-existent .scrollExtensionMode API, replace with correct guidance - Change PhotoProcessor from struct to class for cache mutation support - Fix method name mismatch in @concurrent example caller
This commit is contained in:
@@ -124,13 +124,9 @@ Button("Toggle") {
|
||||
.buttonStyle(.glass)
|
||||
```
|
||||
|
||||
### Scroll and Sidebar Extensions
|
||||
### Extending Horizontal Scrolling Under Sidebar
|
||||
|
||||
```swift
|
||||
// Extend horizontal scroll under sidebar
|
||||
ScrollView(.horizontal) { /* content */ }
|
||||
.scrollExtensionMode(.underSidebar)
|
||||
```
|
||||
To allow horizontal scroll content to extend under a sidebar or inspector, ensure the `ScrollView` content reaches the leading/trailing edges of the container. The system automatically handles the under-sidebar scrolling behavior when the layout extends to the edges — no additional modifier is needed.
|
||||
|
||||
## Core Pattern — UIKit
|
||||
|
||||
|
||||
Reference in New Issue
Block a user