ZCUIService | Zoho Creator Help

ZCUIService

ZCUIService

This service lets you manage the interface of various components of the Zoho Creator application. 

While using the ViewControllers that is created using ZCUIService, you can use the below method to set the left barbutton item.

func configureLeftBarButtonItem(barbutton: UIBarButtonItem?)


Note:

While using the ZCUIFramework, for slidingPane SectionList to display the notification bell icon, you need to override the computed property `shouldShowNotificationBellIconInSlidingPaneView`

when conforming to `ZCUIServiceDelegate`

var shouldShowNotificationBellIconInSlidingPaneView: Bool {

return true

}

By default it will be false, and it is optional to override this computed property.

Methods
getViewController(forForm:) -> UIViewController - This returns a View Controller for the form.
 
getViewController(forReport:) -> UIViewController - This returns a View Controller for the List report.
 
getViewController(forMap:) -> UIViewController - This returns a View Controller for the Map report.
 
getViewController(forCalendar:) -> UIViewController - This returns a View Controller for the Calendar report.
 
getViewController(forKanban:) -> UIViewController - This returns a View Controller for the Kanban report.
 
getViewController(forPivotTable:) -> UIViewController - This returns a View Controller for the pivot table.
 
getViewController(forPivotChart:) -> UIViewController - This returns a View Controller for the pivot chart.
 
getViewController(forPage:) -> UIViewController - This returns a View Controller for the page.
 
getNotificationController(for notification: ZCNotification) -> UIViewController - This will give the viewController which contains the detailed information about the notification.
 
getNotificationsViewController(for application: Application? = nil) -> UIViewController - This returns a View Controller for the list of notifications.
 
getViewController(forForm:) -> UIViewController

Parameters

component This contains the app owner, app name, and form link name
 
 
getViewController(forReport:) -> UIViewController

Parameters

component This contains the app owner, app name, and report link name
 
getViewController(forMap:) -> UIViewController

Parameters

component This contains the app owner, app name, and report link name
 
getViewController(forCalendar:) -> UIViewController

Parameters

component This contains the app owner, app name, and report link name
 
getViewController(forKanban:) -> UIViewController

Parameters

component This contains the app owner, app name, and report link name
 
getViewController(forPivotTable:) -> UIViewController

Parameters

component This contains the app owner, app name, and report link name
 
getViewController(forPivotChart:) -> UIViewController

Parameters

component This contains the app owner, app name, and report link name
 
getViewController(forPage:) -> UIViewController

Parameters

component This contains the app owner, app name, and page link name
 
getNotificationController(for notification: ZCNotification) -> UIViewController

Parameters

notification This contains the notification info such as category, notification ID and so on.
 
getNotificationsViewController(for application: Application? = nil) -> UIViewController

Parameters

application This contains the app owner and app link name.