Skip to content

Conversation

muukii
Copy link
Contributor

@muukii muukii commented Jun 18, 2025

Summary

  • Removed the separator feature from CollectionViewLayouts.List to simplify the API
  • Users can still implement separators directly in their content if needed

Changes

  • Remove generic Separator type parameter from List struct
  • Remove separator property and all separator-related initializers
  • Simplify body implementation to always use LazyVStack/LazyHStack without separator logic
  • Update extension to work with non-generic List type
  • Update development examples that were using separators

Test plan

  • Swift package builds successfully
  • Development app builds and runs without errors
  • All separator usage has been removed from examples

🤖 Generated with Claude Code

- Remove generic Separator type parameter from List struct
- Remove separator property and all separator-related initializers
- Simplify body implementation to always use LazyVStack/LazyHStack
- Update extension to work with non-generic List type
- Update development examples that were using separators

This simplifies the API by removing the separator feature which can be
implemented by users directly in their content if needed.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@muukii muukii merged commit f64031d into main Jun 25, 2025
@muukii muukii deleted the remove-separator-functionality branch June 25, 2025 12:24
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.

1 participant