Classes

The following classes are available globally.

  • The MarketingCloudSDK base class and categories

    See more

    Declaration

    Objective-C

    @interface MarketingCloudSDK : NSObject

    Swift

    class MarketingCloudSDK : NSObject
  • The MarketingCloudSDKInboxMessagesDataSource is an interface object for Inbox support. It was designed to be used as the datasource for a UITableView, and can be allocated and used as such without too much other customization. Of course, you are welcomed to use it any way you want other than that.

    Should you wish to customize the display of the Data Source, you should subclass from here. At that time, you may override any typical UITableViewDataSource protocol members. You will likely be the most interested in cellForRowAtIndexPath:. If you do, you can access the current message by asking the messages array for the object corresponding to your NSIndexPath row. It will be a NSDictionary object representing an Inbox object.

    See more

    Declaration

    Objective-C

    @interface MarketingCloudSDKInboxMessagesDataSource
        : NSObject <UITableViewDataSource>

    Swift

    class MarketingCloudSDKInboxMessagesDataSource : NSObject, UITableViewDataSource
  • The MarketingCloudSDKInboxMessagesDelegate is an interface object for Inbox support. It was designed to be used as a simple delegate for a UITableView, and can be allocated and used as such without too much other customization. It only supports tableView:didSelectRowAtIndexPath: to offer (along with the data source) a VERY simple inbox implementation.

    See more

    Declaration

    Objective-C

    @interface MarketingCloudSDKInboxMessagesDelegate
        : NSObject <UITableViewDelegate>

    Swift

    class MarketingCloudSDKInboxMessagesDelegate : NSObject, UITableViewDelegate
  • The MarketingCloudSDKConfigBuilder class

    See more

    Declaration

    Objective-C

    @interface MarketingCloudSDKConfigBuilder : NSObject

    Swift

    class MarketingCloudSDKConfigBuilder : NSObject
  • Event class

    See more

    Declaration

    Objective-C

    @interface SFMCEvent : NSObject

    Swift

    class SFMCEvent : NSObject