Sample application for users | Zoho Creator Help

Sample iOS Application for users

We have created an application using our Mobile SDK for your better understanding of the different methods and their usage. To install the app, you need to do the following:

1. Prerequisites

  • Xcode IDE 12.5
  • iOS 9 and above
  • CocoaPods
  • A Zoho account. If you do not have an account, sign up for one here.

2. Creating the Zoho Creator application

  1. Download the sample application from this link. The ZohoCreatorSDKDemo.zip file will be downloaded.
  2. Extract it and locate the Utility.ds" file inside it.
  3. Create a Zoho Creator Application by importing the Utility.ds file into Creator. Learn how  

3. Register your app with Zoho

3.1 Users in Creator 5, follow the below steps:

  1. Navigate to your app's Settings page, then to the Mobile SDK page.
  2. Under the For Users section, click For iOS. A pane will slide in from the right.
  3. Select the UI & Core framework.
  4. Click the Generate Client Credentials. This will generate the client ID,  client secret and redirectURI for the iOS app that you want to integrate with your Creator application.

3.2 Users in Creator 6, follow the below steps:

  1. Navigate to your admin dashboard.
  2. From the left pane, select Mobile.
  3. Click Create New Mobile App at the top-right corner.

  4. From the list of applications, select the required app. Select the For Users - SDK under the Apple icon section.

  5. Click Generate Client. This will generate the client IDclient secret, and redirectURI for the iOS app that you want to integrate with your Creator application.

4. Installing CocoaPod

CocoaPods is a third-party dependency manager for Swift and Objective-C projects.

ote: All the commands should be entered in the Terminal.

To install CocoaPods,

  1. Open Terminal in your Mac
  2. Use the below command:
    sudo gem install cocoapods

5. Adding dependency

  1.  You can find the podfile file in the ZohoCreatorSDKDemo > native folder (Xcode project directory). 
  2. Ensure that the podfile contains the following:
    target 'Zylker Service' do
    use_frameworks!
    pod 'ZohoAuth'
    pod 'ZCUIFramework'
    end
  3. Open the Terminal, navigate to the ZohoCreatorSDKDemo > native folder (Xcode project directory), then execute the following command:
    pod install
  4.  Open ZohoCreatorSDKDemo.xcworkspace in the XCode project.

6. Adding the Zoho Creator app to your sample Xcode project

  1. In the downloaded zip file, open ZohoCreatorSDKDemo > native >  ZohoCreatorSDKDemo.xcworkspace in XCode and navigate to AppDelegate.swift.
  2. Fill in all parameters mentioned below:
    var clientId = <#String!#>
    var clientSecret = <#String!#>
    var urlScheme = <#String!#>
  3. URL scheme (Redirect URI) entered should be configured in ZohoCreatorSDKDemo -> Info -> URL Types.

  4. Download the ZCAppInfo.plist file from the Configure Core Framework tab (refer to steps 1-3 in the above section).

    • For C6, refer to the below image.

  5. Move the ZCAppInfo.plist file to the ZohoCreatorSDKDemo > native > ZohoCreatorSDKDemo folder.
  6. Add the ZCAppInfo.plist file to the project and attach it to all targets.

7. Objective-C Bridging Header

Ensure to check whether the ZohoCreatorSDKDemo-Bridging_header.h file exists in the project. Below image shows where the file is loacted.


If the file is not found, you can create one by following the steps below.

  1. Select Header File:
  2. Enter the name of the Header File.
  3. Configure the Header File in Project -> Build options.
  4. Add the following to your Objective-C bridging header:
        #import <ZohoAuthKit/ZohoAuth.h> 
  5. Compile the project. In case you face any errors while doing these, please refer to this page.

    Zoho CRM Training Programs

    Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

    Zoho CRM Training
      Redefine the way you work
      with Zoho Workplace

        Zoho DataPrep Personalized Demo

        If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

        Zoho CRM Training

          Create, share, and deliver

          beautiful slides from anywhere.

          Get Started Now


            Zoho Sign now offers specialized one-on-one training for both administrators and developers.

            BOOK A SESSION





                        Still can't find what you're looking for?

                        Write to us:  support@zohoforms.com



                              




                            

                              Zoho Marketing Automation

                                Zoho Sheet Resources

                                 




                                    Zoho Forms Resources


                                      Secure your business
                                      communication with Zoho Mail


                                      Mail on the move with
                                      Zoho Mail mobile application

                                        Stay on top of your schedule
                                        at all times


                                        Carry your calendar with you
                                        Anytime, anywhere




                                              Zoho Sign Resources

                                                Sign, Paperless!

                                                Sign and send business documents on the go!

                                                Get Started Now


                                                    Zoho SalesIQ Resources



                                                        Zoho TeamInbox Resources



                                                                Zoho DataPrep Resources



                                                                  Zoho DataPrep Demo

                                                                  Get a personalized demo or POC

                                                                  REGISTER NOW


                                                                    Design. Discuss. Deliver.

                                                                    Create visually engaging stories with Zoho Show.

                                                                    Get Started Now











                                                                                          • Related Articles

                                                                                          • Sample iOS Application for customers

                                                                                            Sample iOS Application for customers Customers refer to people or entities who are external to your organization. For example, the vendors, retailers, logistics partners and customers that your organization does business with. By design, you'll have ...
                                                                                          • Sample Android Application for Users

                                                                                            Sample Android Application for Users Note: Zoho Creator's Mobile SDK is currently a Beta feature. We do not recommend using it for apps in the production stage We have created an application using our SDK for your better understanding of the ...
                                                                                          • Sample code snippets

                                                                                            Below are code snippets that demonstrate how to use the different methods of Zoho Creator's SDK for iOS: To construct the FieldAccessPath To fetch a form object To fetch the choices from a field To submit a form To set a field's value To upload a ...
                                                                                          • iOS core framework

                                                                                            This help page is for users in Creator 6. If you are in the older version (Creator 5), click here. Know your Creator version. The core framework of Creator's iOS SDK allows you to create a custom UI  and build an iOS app using the data present in ...
                                                                                          • iOS core framework

                                                                                            This help page is for users in Creator 6. If you are in the older version (Creator 5), click here. Know your Creator version. The core framework of Creator's iOS SDK allows you to create a  custom UI  and build an  iOS app  using the data present in ...
                                                                                          Wherever you are is as good as
                                                                                          your workplace

                                                                                            Resources

                                                                                            Videos

                                                                                            Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                            eBooks

                                                                                            Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                            Webinars

                                                                                            Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                            CRM Tips

                                                                                            Make the most of Zoho CRM with these useful tips.



                                                                                              Zoho Show Resources