Skip to content
This repository was archived by the owner on Jan 2, 2025. It is now read-only.

Commit 5111a37

Browse files
committed
- Fixed Typos + punctuation in Readme
1 parent 70d8fbe commit 5111a37

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

.github/README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Swift CSV Codable Package
22

3-
This repository contains a simple , wrapped in a Swift Package.
3+
This repository contains a small Swift Package, that helps writing Codable-Objects into CSV-Files.
44

55
It is made by **[SPACE SQUAD](https://www.spacesquad.de)**! We make great software with ♥️ in Berlin.
66

@@ -34,11 +34,9 @@ In the files you need any CSV-Capabilities add the import-Statement on top of yo
3434
import CSVCodable
3535
```
3636

37+
---
3738

3839
## How to Use
39-
40-
This Package enables
41-
4240
### Generate CSV Content
4341

4442
```Swift
@@ -62,7 +60,7 @@ John;29"
6260
```
6361

6462
### Configuration
65-
During the export process you might need some custom settings. For now all values are separated by semicolons and can be changed by initializing the `ExportManager` with a custom configuration object.
63+
During the export process you might need some custom settings. For now, all values are separated by semicolons and can be changed by initializing the `ExportManager` with a custom configuration object.
6664

6765
More customization options will be available in future releases.
6866

@@ -147,7 +145,7 @@ struct ContentView: View {
147145

148146
#### UIKit
149147

150-
For sharing and saving the file in your UIKit-App, you can use our `.share(:_)`-Function from any `UIViewController`. It creates and opens automatically an `UIActivityViewController`.
148+
For sharing and saving the file in your UIKit-App, you can use our `.share(:_)`-Function from any `UIViewController`. It creates and automatically opens an `UIActivityViewController`.
151149

152150
<img src="assets/sharesheet_uikit.jpeg" width="300">
153151

Sources/CSVCodable/Encodable+Extension.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import Foundation
99

1010
extension Encodable {
1111
/**
12-
Creates a dictionary of Key-Value-Pairs (property names and property values) for every encodable object
12+
Creates a dictionary of Key-Value-Pairs (property names and property values) for every encodable object.
1313

1414
- Important:
1515
Throws an error if the class implements Firebase-specific properties, like @DocumentID. Maybe specific CodingKeys for exluding these properties would work.

Sources/CSVCodable/ExportManager+SwiftUI.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
// Created by Anna Münster on 14.02.23.
66
//
77

8-
#if canImport(SwiftUI)
98
import SwiftUI
109
import UniformTypeIdentifiers
1110

@@ -55,4 +54,3 @@ public struct CSVDocument: FileDocument {
5554
return FileWrapper(regularFileWithContents: data)
5655
}
5756
}
58-
#endif

0 commit comments

Comments
 (0)