-
-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add File support #40
Add File support #40
Conversation
Conflicts: ParseSwift.xcodeproj/project.pbxproj
I see the documentation is finished, where can I find it? |
The documentation is here: http://parseplatform.org/Parse-Swift/api/ The docs for “ParseFile” won’t populate until this PR is merged. If you want to see it now, you can look through the mark up in the code. |
Codecov Report
@@ Coverage Diff @@
## main #40 +/- ##
==========================================
+ Coverage 72.87% 75.69% +2.82%
==========================================
Files 30 32 +2
Lines 2127 2724 +597
==========================================
+ Hits 1550 2062 +512
- Misses 577 662 +85
Continue to review full report at Codecov.
|
@TomWFox can you look over the added documentation? Particularly in ParseFile.swift. I also added a how-to-use "Files" in playgrounds which can probably read better also. @pranjalsatija can you review? My apologies in advance for the big PR, it took a lot to get ParseFile together. |
- Improved testing for embedded ParseObjects and ParseFiles - Improved ParseFile playground
… but should callback to the correct queue in the future.
- Fixed a bug that overwrites local ACL with nil after a save on a ParseObject - Cleaned up comments and code
- Update playgrounds for ParseFile - Update documentation
…rently since a no response is considered successful).
How can I get the data of a file? In objective c it was like this:
It looks like it's different with Swift. |
The playground pages have examples of how to do some of the general things: Parse-Swift/ParseSwift.playground/Pages/9 - Files.xcplaygroundpage/Contents.swift Lines 93 to 149 in 3f1c897
|
Adds full support for files. Close #31
ParseFile
's as child objectsURLSession
, but it's working in this PR.nil
during a save of a newParseObject