You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 2, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: .github/README.md
+4-6Lines changed: 4 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Swift CSV Codable Package
2
2
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.
4
4
5
5
It is made by **[SPACE SQUAD](https://www.spacesquad.de)**! We make great software with ♥️ in Berlin.
6
6
@@ -34,11 +34,9 @@ In the files you need any CSV-Capabilities add the import-Statement on top of yo
34
34
import CSVCodable
35
35
```
36
36
37
+
---
37
38
38
39
## How to Use
39
-
40
-
This Package enables
41
-
42
40
### Generate CSV Content
43
41
44
42
```Swift
@@ -62,7 +60,7 @@ John;29"
62
60
```
63
61
64
62
### 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.
66
64
67
65
More customization options will be available in future releases.
68
66
@@ -147,7 +145,7 @@ struct ContentView: View {
147
145
148
146
#### UIKit
149
147
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`.
Copy file name to clipboardExpand all lines: Sources/CSVCodable/Encodable+Extension.swift
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ import Foundation
9
9
10
10
extensionEncodable{
11
11
/**
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.
13
13
14
14
- Important:
15
15
Throws an error if the class implements Firebase-specific properties, like @DocumentID. Maybe specific CodingKeys for exluding these properties would work.
0 commit comments