A minimal example of using eDistantObject in Swift.
Clone the repository and run pod install
Open the generated .xcworkspace
(not .xcproject
) to view the source and build with Xcode.
-
Create a build output directory, for example
/tmp/edo-build
-
Build the project with the following command:
xcodebuild -workspace edo-example.xcworkspace \
-scheme edo-example \
-derivedDataPath /tmp/edo-build
Now run /tmp/edo-build/Build/Products/Debug/edo-example server
to start the eDO server.
In a separate terminal, run
/tmp/edo-build/Build/Products/Debug/edo-example client 123
to call the DoublingService
over eDistantObject.