Replies: 1 comment
-
One developer mentioned that took them ~30 minutes to migrate their project: #78 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Version 5.0.0 of Parse-SwiftOG has been released and it has a plethora of new features and updates (more updates in 5.1.0 and 5.2.0). In addition, the latest version can take advantage of all of the new features in Parse Server 6.0.0+. Version 5.0.0+ has been modernized and optimized to better leverage the latest features in Swift and provide a more intuitive experience for developers than previous versions. All synchronous networking and storage calls have been replaced by async/await statements. Under the hood, 5.0.0+ uses actors to reduce data races in your apps. The Swift Playgrounds have been updated for 5.0.0+ if you need to see examples of how to take advantage of the changes.
Test Drive 5.0.0+ with Parse Server 6.0.0+
Deploying a local Parse Server is quick and easy via Docker. All of the Swift Playgrounds can be run locally in Xcode
parse-swift
branch), change directories into the parse-hipaa folder in your terminal, typedocker-compose up
. The latest parse-hipaa serve which is built with the latest Parse Server should be up and running. You can find more information hereParse.xcworkspace
ParseSwift (macOS)
framework when using Swift PlaygroundsProject Navigator
pane and selectParseSwift-> 1 - Your first Object
. All Playground files are located hereUpgrading
To upgrade (If you are attempting to migrate from the parse-community/Parse-Swift, please read #70 first):
Project Navigator
panelPackage Dependencies
tabDependency Rule
, selectExact
and input5.0.0-beta.9
ParseError
, where the codeunknownError
has been renamed tootherCause
. Other errors may relate toParseHealth.check()
now returning a Status enum instead of a string value of “ok”. If you used an if/guard statement here just compare to.ok
insteadbeta.’9
, but the decision is yoursDependency Rule
, selectUp to Next Major Version
and input5.1.1
for the specific version and< 6.0.0
To adopt to 5.0.0+, there are some required changes you will need to make to your apps. For reference, you can see the changes I made after following the process above to one of my apps. Some notable changes are below:
Initialize the SDK
ParseUser, ParseInstallation, ParseConfig, ParseVersion
LiveQuery
Beta Was this translation helpful? Give feedback.
All reactions