Contents

vladimircreator/chiplayout

Licensed under the Apache License, Version 2.0 (the "License");

Table of Contens

Synopsis

.

Keywords

git pulumi swift swift-package-manager swiftui

Discussion

The package consists of the only Swift package and two Xcode projects:

  1. ChipLayout: the main product
  2. Playground: a little SwiftUI product that shows the main product in action
  3. GitHub Cover: a little SwiftUI product that is used to create Open Graph image

Preview

[Preview]

Getting Started

Traditional
  1. Open Sources/ChipLayout/Sources/ChipLayout.swift
  2. Press <kbd>⌘</kbd> + <kbd>A</kbd> to select all
  3. Press <kbd>⌘</kbd> + <kbd>C</kbd> to copy
  4. Press <kbd>⌘</kbd> + <kbd>V</kbd> to paste
  5. Enjoy
Tuist

Read the following documentation.

Xcode

Read the following article.

Example

import SwiftUI
import ChipLayout

internal struct ContentView: View {
	internal var body: some View {
		ChipLayout {
			ForEach(.zero..<256, id: \.self) { integer in
				Text("Chip \(integer)")
			}
		}
	}
}

License

This repository is licensed under the terms of the Apache-2.0 license.

Package Metadata

Repository: vladimircreator/chiplayout

Default branch: master

README: README.md