Skip to content

schatt/6layer

Repository files navigation

SixLayer Framework Repository

This repository contains the SixLayer Framework, a comprehensive SwiftUI framework implementing a six-layer architecture for cross-platform development.

📁 Repository Structure

6layer/
├── Framework/                 ← **This is the Swift Package**
│   ├── Sources/              ← Framework source code
│   ├── Package.swift         ← Package definition
│   ├── README.md             ← Framework documentation
│   └── Stubs/                ← Framework stubs
└── Development/               ← Development files (not in package)
    ├── todo.md                ← Project roadmap
    ├── PROJECT_STATUS.md      ← Current status
    ├── Tests/                 ← Test suite
    ├── docs/                  ← Technical documentation
    └── Examples/              ← Usage examples

🚀 Getting Started

For Users (Consuming the Framework):

Navigate to the Framework/ directory and use it as a Swift Package:

// In your Package.swift
dependencies: [
    .package(url: "https://github.com/schatt/6layer.git", from: "2.0.0")
]

For Developers (Contributing):

  • Framework Code: Framework/Sources/
  • Documentation: Framework/docs/
  • Project Status: Development/todo.md
  • Tests: Development/Tests/

📦 Swift Package

The framework is distributed as a Swift Package from the Framework/ directory. This ensures that only the essential framework code is included when other projects consume it.

🆕 Latest Release: v3.2.2

Custom View Support for All L1 Functions

The framework now provides comprehensive custom view support across all Layer 1 presentation functions, allowing complete visual customization while maintaining intelligent platform adaptation.

New Features:

  • Custom Views for all L1 functions (platformPresentItemCollection_L1, platformPresentSettings_L1, etc.)
  • 100% Backward Compatible - existing code continues to work unchanged
  • Enhanced Navigation - fixed bugs and improved accessibility
  • Intelligent Layout - automatic optimal presentation decisions
  • Framework Benefits - custom views still get performance optimizations

Example:

platformPresentItemCollection_L1(
    items: products,
    hints: hints,
    customItemView: { product in
        MyCustomProductView(product: product)
    }
)

🔗 Quick Links

📋 Current Status

Version: v3.2.2 (Custom View Support for All L1 Functions)
Phase: Major Enhancement - Custom View Support
Next: Continue with comprehensive testing and feature development

🤝 Contributing

Please read the development documentation in the Development/ directory before contributing. The framework follows a strict six-layer architecture pattern.


Note: This repository structure separates framework code from development files, ensuring clean package distribution while maintaining development transparency.

About

Six Layer UI

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages