Classes

The following classes are available globally.

  • The MarketingCloudSDK base class and categories

    See more

    Declaration

    Objective-C

    @interface MobilePushSDK : NSObject

    Swift

    class MobilePushSDK : 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

    Swift

    class MarketingCloudSDKInboxMessagesDataSource : NSObject
  • 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

    Swift

    class MarketingCloudSDKInboxMessagesDelegate : NSObject
  • 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
  • This class is used to set the configuration neded for Push

    See more

    Declaration

    Swift

    @objc
    public class PushConfig : NSObject, ModuleConfig
  • PushConfigBuilder class

    See more

    Declaration

    Swift

    @objc
    public class PushConfigBuilder : NSObject
  • This class is a Swift Interface for SFMCSdkPushModule

    See more

    Declaration

    Swift

    @objc(SFMCSdkPushModule)
    public final class PushModule : NSObject, SFMCModule, PushInterface, Subscriber, Publisher