KarrotListKit icon indicating copy to clipboard operation
KarrotListKit copied to clipboard

Comprehensive Sample App Enhancement with Layout Presets and UI Improvements

Open ppth0608 opened this issue 5 months ago β€’ 1 comments

🎯 Summary

This PR significantly enhances the KarrotListKit sample app with comprehensive layout examples, preset factory methods, and improved UI components. The changes provide better documentation and demonstration of the framework's capabilities.

πŸš€ Key Improvements

Layout Presets (/Samples/Presets/)

  • Extensions.swift: Convenient factory methods for common layout patterns
  • HorizontalLayout.swift: Horizontal scrolling layout with configurable behavior
  • VerticalGridLayout.swift: Grid layout with customizable column counts
  • VerticalLayout.swift: Standard vertical layout for list content

New Sample Views

  • HorizontalLayout Sample: Demonstrates continuous, group paging, and individual paging behaviors
  • VerticalGridLayout Sample: Shows 2, 3, and 4 column grid layouts with emoji-based content
  • MixedLayout Sample: Comprehensive example combining all layout types in a single view
  • Enhanced VerticalLayout: Improved with colorful icons and card-style design

https://github.com/user-attachments/assets/d28afefc-48e3-4949-80f9-db7014123171

ppth0608 avatar Jul 22 '25 07:07 ppth0608

λ ˆμ΄μ•„μ›ƒ μΈν„°νŽ˜μ΄μŠ€ κ°œμ„  μ „ μƒ˜ν”Œ ν…ŒμŠ€νŠΈ ν™˜κ²½μ„ κ°œμ„ ν–ˆμ–΄μš”. λŒ€λΆ€λΆ„μ˜ μ½”λ“œλŠ” ν΄λ‘œλ“œλ‘œ μž‘μ„±λ˜μ—ˆμ–΄μš”.

ppth0608 avatar Jul 22 '25 07:07 ppth0608