freakdragon / CallbackURLKitSenderSample

This is an example of using CallbackURLKit. Sender part of it.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Callback URL Kit Sender Sample

This is an example of using CallbackURLKit (https://github.com/phimage/CallbackURLKit) when you need your own receiver and sender programs.

The sender looks like:

The receiver looks like:

The realization of success callback in the sample:

Manager.executeSuccessCallback(returnParams: ["successTextFromReceiver": textfieldSendSuccessText.text ?? ""])

The realization of failure callback in the sample:

Manager.executeFailureCallback(error: AnyError.buttonFailureError)

The realization of cancel callback in the sample:

Manager.executeCancelCallback()

This is the sender part of sample.

You can find the second part of example here:

https://github.com/freakdragon/CallbackURLKitReceiverSample

The source of CallbackURLKit is here too because I had to change access to some functions to public.

About

This is an example of using CallbackURLKit. Sender part of it.

License:MIT License


Languages

Language:Swift 98.8%Language:Ruby 1.2%