Skip to content

VladimirCreator/ChipLayout

Repository files navigation

Chip Layout

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 + A to select all
  3. Press + C to copy
  4. Press + V 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.

Copyright

Copyright © 2024 Vladimir Leonidovich. All rights reserved.