joeshonm / MonoFrame

MonoFrame is a UI Kit for SwiftUI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MonoFrame

A UI Kit great for prototyping in SwiftUI.

Swift Version Build Status License codebeat-badge

One to two paragraph statement about your product and what it does.

Installation

Add this project on your Package.swift

import PackageDescription

let package = Package(
    dependencies: [
        .Package(url: "https://github.com/joeshonm/MonoFrame.git", majorVersion: 0, minor: 0)
    ]
)

Usage example

import SwiftUI
import MonoFrame

@main
struct MonoFrameDemoApp: App {
    @StateObject var theme: MonoFrame = MonoFrame.shared

    init() {

    }

    var body: some Scene {
        WindowGroup {
            ContentView()
                .environmentObject(theme)
                .onAppear {
                    // Pass in the primary color you want to use or default to black
                    theme.updateSettings(primaryColor: .orange)
                }
        }
    }
}

Development setup

Describe how to install all development dependencies and how to run an automated test-suite of some kind. Potentially do this for multiple platforms.

make install

Release History

  • 0.2.1
    • CHANGE: Update docs (module code remains unchanged)
  • 0.2.0
    • CHANGE: Remove setDefaultXYZ()
    • ADD: Add init()
  • 0.1.1
    • FIX: Crash when calling baz() (Thanks @GenerousContributorName!)
  • 0.1.0
    • The first proper release
    • CHANGE: Rename foo() to bar()
  • 0.0.1
    • Work in progress

Meta

Your Name – @YourTwitterYourEmail@example.com

Distributed under the XYZ license. See LICENSE for more information.

https://github.com/yourname/github-link

About

MonoFrame is a UI Kit for SwiftUI.

License:MIT License


Languages

Language:Swift 100.0%