- Active
- Inactive
struct to get information about a file using FileAttributeKey
import Foundation
struct FileAttributesManager {
// MARK: - Error Define
enum FileAttributesError: Error {
import SwiftUI
struct ContentView: View {
var body: some View {
VStack {
Text("Lorem").horizontalAlignment(.leading)
.background(.red.opacity(0.1))
Text("Lorem").horizontalAlignment(.center)
.background(.green.opacity(0.1))