You are here

Sample Source Code: LeanEngine Objective-C Sample Code

The LeanEngine Objective-C Sample Code demonstrates how to switch environments in the production and staging phases. When calling cloud functions within LeanEngine instances using SDK, no matter explicitly or implicitly (by triggering hooks), the SDK uses the function defined in the same environment as the instance.