RichieAdsCreative

Objective-C

@interface RichieAdsCreative : NSObject

-(instancetype) initWithUuid:(NSString *)uuid
                     baseURL:(NSURL *)baseURL
      needsPlaceholderImages:(BOOL)needsPlaceholderImages NS_DESIGNATED_INITIALIZER;

-(instancetype) initWithDictionaryRepresentation:(NSDictionary *)dictionaryRepresentation;
-(NSDictionary *) dictionaryRepresentation;

-(instancetype) init NS_UNAVAILABLE;


@property (nonatomic, readonly) NSString *uuid;
@property (nonatomic, readonly) BOOL needsPlaceholderImages;

@property (nonatomic, readonly) NSURL *manifestURL;

-(NSDictionary<NSString *, NSURL *> *) placeholderImageURLsForScreen:(RichieScreen *)screen; /// Local filename -> remote URL.

@end

Swift

class RichieAdsCreative : NSObject

Undocumented

  • Undocumented

    Declaration

    Objective-C

    -(instancetype) initWithUuid:(NSString *)uuid
                         baseURL:(NSURL *)baseURL
          needsPlaceholderImages:(BOOL)needsPlaceholderImages NS_DESIGNATED_INITIALIZER;

    Swift

    init!(uuid: String!, baseURL: URL!, needsPlaceholderImages: Bool)
  • Undocumented

    Declaration

    Objective-C

    -(instancetype) initWithDictionaryRepresentation:(NSDictionary *)dictionaryRepresentation;

    Swift

    convenience init!(dictionaryRepresentation: [AnyHashable : Any]!)
  • Undocumented

    Declaration

    Objective-C

    -(NSDictionary *) dictionaryRepresentation;

    Swift

    func dictionaryRepresentation() -> [AnyHashable : Any]!
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    -(instancetype) init NS_UNAVAILABLE;
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *uuid

    Swift

    var uuid: String! { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL needsPlaceholderImages

    Swift

    var needsPlaceholderImages: Bool { get }
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSURL *manifestURL

    Swift

    var manifestURL: URL! { get }
  • Undocumented

    Declaration

    Objective-C

    -(NSDictionary<NSString *, NSURL *> *) placeholderImageURLsForScreen:(RichieScreen *)screen;

    Swift

    func placeholderImageURLs(for screen: RichieScreen!) -> [String : URL]!