Popularity
0.5
Growing
Activity
0.0
Stable
5
4
1
Code Quality Rank:
L5
Programming language: Swift
Tags:
Data Management
Files
CFileWrapper alternatives and similar libraries
Based on the "Files" category.
Alternatively, view CFileWrapper alternatives based on common mentions on social networks and blogs.
-
FileProvider
DISCONTINUED. FileManager replacement for Local, iCloud and Remote (WebDAV/FTP/Dropbox/OneDrive) files -- Swift [GET https://api.github.com/repos/amosavian/FileProvider: 403 - Repository access blocked]
WorkOS - The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Promo
workos.com
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of CFileWrapper or a related project?
README
CFileWrapper
A simple wrapper for File handling in Swift without Foundation
You can read files, save files, append to files and list directories
Usage
if let hello = CFileWrapper.read("HelloWorld.txt") {
print(hello)
}
Another way to read the file is using a completion handler
CFileWrapper.read("HelloWorld.txt") { text in
guard let text = text else {
print("Unable to read file")
return
}
print(text)
}
You can also read by line with a delegate
class MyClass: CFileWrapperDelegate {
func CFileWrapper(read line: String) {
print(line)
}
}
let myClass = MyClass()
CFileWrapper.readw("HelloWorld.txt", delegate: myClass)