# CollectionView **Repository Path**: zjinhu/CollectionView_SwiftUI ## Basic Information - **Project Name**: CollectionView - **Description**: SwiftUI的LazyVGrid性能特别差劲,一个大数量级的数据就能让CPU的运算跑到100%,而且没啥好的办法优化,使用UICollectionView则没任何压力,不卡顿掉帧 - **Primary Language**: Swift - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-05-20 - **Last Updated**: 2024-05-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # CollectionView_SwiftUI [![SPM](https://img.shields.io/badge/SPM-supported-DE5C43.svg?style=flat)](https://swift.org/package-manager/) ![Xcode 14.0+](https://img.shields.io/badge/Xcode-14.0%2B-blue.svg) ![iOS 14.0+](https://img.shields.io/badge/iOS-14.0%2B-blue.svg) ![Swift 5.0+](https://img.shields.io/badge/Swift-5.0%2B-orange.svg) ![SwiftUI 3.0+](https://img.shields.io/badge/SwiftUI-3.0%2B-orange.svg) ## 例子 To run the example project, clone the repo, and run `pod install` from the Example directory first. ## 用法 ## 安装 ### cocoapods 1.在 Podfile 中添加 `pod 'CollectionView_SwiftUI'` 2.执行 `pod install 或 pod update` 3.导入 `import CollectionView_SwiftUI` ### Swift Package Manager 从 Xcode 11 开始,集成了 Swift Package Manager,使用起来非常方便。CollectionView_SwiftUI 也支持通过 Swift Package Manager 集成。 在 Xcode 的菜单栏中选择 `File > Swift Packages > Add Pacakage Dependency`,然后在搜索栏输入 `https://github.com/zjinhu/CollectionView_SwiftUI`,即可完成集成 ### 手动集成 CollectionView_SwiftUI 也支持手动集成,只需把Sources文件夹中的CollectionView_SwiftUI文件夹拖进需要集成的项目即可 ## 作者 hu, 814030966@qq.com ## 更多砖块工具加速APP开发 [![ReadMe Card](https://github-readme-stats.vercel.app/api/pin/?username=jackiehu&repo=SwiftMediator&theme=radical&locale=cn)](https://github.com/jackiehu/SwiftMediator) [![ReadMe Card](https://github-readme-stats.vercel.app/api/pin/?username=jackiehu&repo=SwiftBrick&theme=radical&locale=cn)](https://github.com/jackiehu/SwiftBrick) [![ReadMe Card](https://github-readme-stats.vercel.app/api/pin/?username=jackiehu&repo=SwiftLog&theme=radical&locale=cn)](https://github.com/jackiehu/SwiftLog) [![ReadMe Card](https://github-readme-stats.vercel.app/api/pin/?username=jackiehu&repo=SwiftMesh&theme=radical&locale=cn)](https://github.com/jackiehu/SwiftMesh) [![ReadMe Card](https://github-readme-stats.vercel.app/api/pin/?username=jackiehu&repo=SwiftNotification&theme=radical&locale=cn)](https://github.com/jackiehu/SwiftNotification) ## 许可 CollectionView_SwiftUI is available under the MIT license. See the LICENSE file for more info.