Popularity
0.4
Growing
Activity
0.0
Stable
5
3
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
FileManager replacement for Local, iCloud and Remote (WebDAV/FTP/Dropbox/OneDrive) files -- Swift
Appwrite - The Open Source Firebase alternative introduces iOS support
Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!
Promo
appwrite.io
* 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)