forked from organicmaps/organicmaps
Renew mytarget.
This commit is contained in:
parent
b3fa353b9f
commit
c25ed9fd4d
43 changed files with 862 additions and 286 deletions
|
@ -1,6 +1,6 @@
|
|||
//
|
||||
// MTRGAdView.h
|
||||
// myTargetSDK 4.5.10
|
||||
// myTargetSDK 4.6.15
|
||||
//
|
||||
// Created by Anton Bulankin on 05.03.15.
|
||||
// Copyright (c) 2015 Mail.ru Group. All rights reserved.
|
||||
|
@ -9,6 +9,13 @@
|
|||
#import <UIKit/UIKit.h>
|
||||
#import <MyTargetSDK/MTRGCustomParams.h>
|
||||
|
||||
typedef enum : NSUInteger
|
||||
{
|
||||
MTRGAdSize_320x50 = 0,
|
||||
MTRGAdSize_300x250 = 1,
|
||||
MTRGAdSize_728x90 = 2
|
||||
} MTRGAdSize;
|
||||
|
||||
@class MTRGAdView;
|
||||
|
||||
@protocol MTRGAdViewDelegate <NSObject>
|
||||
|
@ -36,9 +43,15 @@
|
|||
@property(nonatomic, weak) UIViewController *viewController;
|
||||
@property(nonatomic) BOOL trackEnvironmentEnabled;
|
||||
|
||||
+ (void)setDebugMode:(BOOL)enabled;
|
||||
|
||||
+ (BOOL)isDebugMode;
|
||||
|
||||
- (instancetype)initWithSlotId:(NSUInteger)slotId;
|
||||
- (instancetype)initWithSlotId:(NSUInteger)slotId adSize:(MTRGAdSize)adSize;
|
||||
|
||||
- (instancetype)initWithSlotId:(NSUInteger)slotId withRefreshAd:(BOOL)refreshAd;
|
||||
- (instancetype)initWithSlotId:(NSUInteger)slotId withRefreshAd:(BOOL)refreshAd adSize:(MTRGAdSize)adSize;
|
||||
|
||||
- (void)load;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
//
|
||||
// MTRGAppwallAdView.h
|
||||
// myTargetSDK 4.5.10
|
||||
// myTargetSDK 4.6.15
|
||||
//
|
||||
// Created by Anton Bulankin on 16.01.15.
|
||||
// Copyright (c) 2015 Mail.ru Group. All rights reserved.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
//
|
||||
// MTRGAppwallBannerAdView.h
|
||||
// myTargetSDK 4.5.10
|
||||
// myTargetSDK 4.6.15
|
||||
//
|
||||
// Created by Anton Bulankin on 15.01.15.
|
||||
// Copyright (c) 2015 Mail.ru Group. All rights reserved.
|
||||
|
@ -65,6 +65,9 @@
|
|||
@property(nonatomic) UIFont * votesFont;
|
||||
@property(nonatomic) UIFont * coinFont;
|
||||
|
||||
@property(nonatomic) NSInteger descriptionNumberOfLines;
|
||||
@property(nonatomic) NSLineBreakMode descriptionLineBreakMode;
|
||||
|
||||
@property(nonatomic) UIColor * titleColor;
|
||||
@property(nonatomic) UIColor * descriptionColor;
|
||||
@property(nonatomic) UIColor * votesColor;
|
||||
|
|
|
@ -1,29 +0,0 @@
|
|||
//
|
||||
// MTRGBaseNativeAdView.h
|
||||
// myTargetSDK 4.5.10
|
||||
//
|
||||
// Created by Anton Bulankin on 03.12.14.
|
||||
// Copyright (c) 2014 Mail.ru Group. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <MyTargetSDK/MTRGNativePromoBanner.h>
|
||||
|
||||
@interface MTRGBaseNativeAdView : UIView
|
||||
|
||||
@property(nonatomic) MTRGNativePromoBanner *banner;
|
||||
@property(nonatomic) UIColor *backgroundColor;
|
||||
@property(nonatomic, readonly) UILabel *ageRestrictionsLabel;
|
||||
@property(nonatomic, readonly) UILabel *adLabel;
|
||||
@property(nonatomic) UIEdgeInsets adLabelMargins;
|
||||
@property(nonatomic) UIEdgeInsets ageRestrictionsMargins;
|
||||
|
||||
- (void)setFixedWidth:(CGFloat)width;
|
||||
|
||||
- (void)setPosition:(CGPoint)position;
|
||||
|
||||
- (CGSize)getSize;
|
||||
|
||||
- (void)loadImages;
|
||||
|
||||
@end
|
|
@ -1,34 +1,41 @@
|
|||
//
|
||||
// MTRGChatListAdView.h
|
||||
// myTargetSDK 4.5.10
|
||||
// myTargetSDK 4.6.15
|
||||
//
|
||||
// Created by Anton Bulankin on 05.12.14.
|
||||
// Copyright (c) 2014 Mail.ru Group. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <MyTargetSDK/MTRGBaseNativeAdView.h>
|
||||
#import <MyTargetSDK/MTRGNativePromoBanner.h>
|
||||
#import <MyTargetSDK/MTRGStarsRatingView.h>
|
||||
#import <MyTargetSDK/MTRGStarsRatingLabel.h>
|
||||
|
||||
@interface MTRGChatListAdView : MTRGBaseNativeAdView
|
||||
@interface MTRGChatListAdView : UIView
|
||||
|
||||
@property(nonatomic) MTRGNativePromoBanner *banner;
|
||||
@property(nonatomic) UIColor *backgroundColor;
|
||||
@property(nonatomic, readonly) UILabel *ageRestrictionsLabel;
|
||||
@property(nonatomic, readonly) UILabel *adLabel;
|
||||
|
||||
@property(nonatomic, readonly) UILabel *titleLabel;
|
||||
@property(nonatomic, readonly) UILabel *descriptionLabel;
|
||||
@property(nonatomic, readonly) UIImageView *iconImageView;
|
||||
@property(nonatomic, readonly) UILabel *domainLabel;
|
||||
@property(nonatomic, readonly) UILabel *categoryLabel;
|
||||
@property(nonatomic, readonly) UILabel *disclaimerLabel;
|
||||
@property(nonatomic, readonly) MTRGStarsRatingView *ratingStarsView;
|
||||
@property(nonatomic, readonly) MTRGStarsRatingLabel *ratingStarsLabel;
|
||||
@property(nonatomic, readonly) UILabel *votesLabel;
|
||||
|
||||
@property(nonatomic) UIEdgeInsets contentMargins;
|
||||
@property(nonatomic) UIEdgeInsets adLabelMargins;
|
||||
@property(nonatomic) UIEdgeInsets ageRestrictionsMargins;
|
||||
@property(nonatomic) UIEdgeInsets titleMargins;
|
||||
@property(nonatomic) UIEdgeInsets domainMargins;
|
||||
@property(nonatomic) UIEdgeInsets categoryMargins;
|
||||
@property(nonatomic) UIEdgeInsets descriptionMargins;
|
||||
@property(nonatomic) UIEdgeInsets disclaimerMargins;
|
||||
@property(nonatomic) UIEdgeInsets iconMargins;
|
||||
@property(nonatomic) UIEdgeInsets ratingStarsMargins;
|
||||
@property(nonatomic) UIEdgeInsets votesMargins;
|
||||
|
||||
- (void)loadImages;
|
||||
|
||||
@end
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
//
|
||||
// MTRGContentStreamAdView.h
|
||||
// myTargetSDK 4.5.10
|
||||
// myTargetSDK 4.6.15
|
||||
//
|
||||
// Created by Anton Bulankin on 05.12.14.
|
||||
// Copyright (c) 2014 Mail.ru Group. All rights reserved.
|
||||
|
@ -8,26 +8,37 @@
|
|||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <MyTargetSDK/MTRGNativePromoBanner.h>
|
||||
#import <MyTargetSDK/MTRGBaseNativeAdView.h>
|
||||
#import <MyTargetSDK/MTRGStarsRatingView.h>
|
||||
#import <MyTargetSDK/MTRGStarsRatingLabel.h>
|
||||
#import <MyTargetSDK/MTRGMediaAdView.h>
|
||||
|
||||
@interface MTRGContentStreamAdView : MTRGBaseNativeAdView
|
||||
@class MTRGPromoCardCollectionView;
|
||||
|
||||
@interface MTRGContentStreamAdView : UIView
|
||||
|
||||
@property(nonatomic) MTRGNativePromoBanner *banner;
|
||||
@property(nonatomic) UIColor *backgroundColor;
|
||||
@property(nonatomic, readonly) UILabel *ageRestrictionsLabel;
|
||||
@property(nonatomic, readonly) UILabel *adLabel;
|
||||
|
||||
@property(nonatomic, readonly) UILabel *titleLabel;
|
||||
@property(nonatomic, readonly) UILabel *titleBottomLabel;
|
||||
@property(nonatomic, readonly) UILabel *descriptionLabel;
|
||||
@property(nonatomic, readonly) UIImageView *iconImageView;
|
||||
@property(nonatomic, readonly) UIImageView *imageView;
|
||||
@property(nonatomic, readonly) MTRGMediaAdView *mediaAdView;
|
||||
@property(nonatomic, readonly) MTRGPromoCardCollectionView *cardCollectionView;
|
||||
@property(nonatomic, readonly) UILabel *domainLabel;
|
||||
@property(nonatomic, readonly) UILabel *domainBottomLabel;
|
||||
@property(nonatomic, readonly) UILabel *categoryLabel;
|
||||
@property(nonatomic, readonly) UILabel *categoryBottomLabel;
|
||||
@property(nonatomic, readonly) UILabel *disclaimerLabel;
|
||||
@property(nonatomic, readonly) MTRGStarsRatingView *ratingStarsView;
|
||||
@property(nonatomic, readonly) MTRGStarsRatingLabel *ratingStarsLabel;
|
||||
@property(nonatomic, readonly) UILabel *votesLabel;
|
||||
@property(nonatomic) UIView *buttonView;
|
||||
@property(nonatomic) UILabel *buttonToLabel;
|
||||
@property(nonatomic, readonly) UIView *buttonView;
|
||||
@property(nonatomic, readonly) UILabel *buttonToLabel;
|
||||
|
||||
@property(nonatomic) UIEdgeInsets contentMargins;
|
||||
@property(nonatomic) UIEdgeInsets adLabelMargins;
|
||||
@property(nonatomic) UIEdgeInsets ageRestrictionsMargins;
|
||||
@property(nonatomic) UIEdgeInsets titleMargins;
|
||||
@property(nonatomic) UIEdgeInsets titleBottomMargins;
|
||||
@property(nonatomic) UIEdgeInsets domainMargins;
|
||||
|
@ -42,5 +53,6 @@
|
|||
@property(nonatomic) UIEdgeInsets buttonMargins;
|
||||
@property(nonatomic) UIEdgeInsets buttonCaptionMargins;
|
||||
|
||||
- (void)loadImages;
|
||||
|
||||
@end
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
//
|
||||
// MTRGContentStreamCardAdView.h
|
||||
// myTarget
|
||||
//
|
||||
// Created by Andrey Seredkin on 20.10.16.
|
||||
// Copyright © 2016 Mail.ru. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <MyTargetSDK/MTRGPromoCardViewProtocol.h>
|
||||
#import <MyTargetSDK/MTRGMediaAdView.h>
|
||||
|
||||
@interface MTRGContentStreamCardAdView : UICollectionViewCell <MTRGPromoCardViewProtocol>
|
||||
|
||||
@property(nonatomic, readonly) UILabel *titleLabel;
|
||||
@property(nonatomic, readonly) UILabel *descriptionLabel;
|
||||
@property(nonatomic, readonly) UILabel *ctaButtonLabel;
|
||||
@property(nonatomic, readonly) MTRGMediaAdView *mediaAdView;
|
||||
|
||||
- (CGFloat)heightWithCardWidth:(CGFloat)width;
|
||||
|
||||
@end
|
|
@ -1,18 +1,30 @@
|
|||
//
|
||||
// MTRGContentWallAdView.h
|
||||
// myTargetSDK 4.5.10
|
||||
// myTargetSDK 4.6.15
|
||||
//
|
||||
// Created by Anton Bulankin on 05.12.14.
|
||||
// Copyright (c) 2014 Mail.ru Group. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <MyTargetSDK/MTRGBaseNativeAdView.h>
|
||||
#import <MyTargetSDK/MTRGNativePromoBanner.h>
|
||||
#import <MyTargetSDK/MTRGMediaAdView.h>
|
||||
|
||||
@interface MTRGContentWallAdView : MTRGBaseNativeAdView
|
||||
@interface MTRGContentWallAdView : UIView
|
||||
|
||||
@property(nonatomic, readonly) UIImageView *imageView;
|
||||
@property(nonatomic) MTRGNativePromoBanner *banner;
|
||||
@property(nonatomic) UIColor *backgroundColor;
|
||||
|
||||
@property(nonatomic, readonly) UILabel *ageRestrictionsLabel;
|
||||
@property(nonatomic, readonly) UILabel *adLabel;
|
||||
|
||||
@property(nonatomic) UIEdgeInsets contentMargins;
|
||||
@property(nonatomic) UIEdgeInsets adLabelMargins;
|
||||
@property(nonatomic) UIEdgeInsets ageRestrictionsMargins;
|
||||
|
||||
@property(nonatomic, readonly) MTRGMediaAdView *mediaAdView;
|
||||
@property(nonatomic) UIEdgeInsets imageMargins;
|
||||
|
||||
- (void)loadImages;
|
||||
|
||||
@end
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
//
|
||||
// MTRGCustomParams.h
|
||||
// myTargetSDK 4.5.10
|
||||
// myTargetSDK 4.6.15
|
||||
//
|
||||
// Created by Anton Bulankin on 22.12.14.
|
||||
// Copyright (c) 2014 Mail.ru Group. All rights reserved.
|
||||
|
@ -8,6 +8,11 @@
|
|||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
extern NSString *const kMTRGCustomParamsMediationKey;
|
||||
extern NSString *const kMTRGCustomParamsMediationAdmob;
|
||||
extern NSString *const kMTRGCustomParamsMediationMopub;
|
||||
extern NSString *const kMTRGCustomParamsHtmlSupportKey;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
MTRGGenderUnspecified,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
//
|
||||
// MTRGImageData.h
|
||||
// myTargetSDK 4.5.10
|
||||
// myTargetSDK 4.6.15
|
||||
//
|
||||
// Created by Anton Bulankin on 17.11.14.
|
||||
// Copyright (c) 2014 Mail.ru Group. All rights reserved.
|
||||
|
|
|
@ -0,0 +1,100 @@
|
|||
//
|
||||
// MTRGInstreamAd.h
|
||||
// myTargetSDK 4.6.15
|
||||
//
|
||||
// Created by Anton Bulankin on 31.08.16.
|
||||
// Copyright © 2016 Mail.ru. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <MyTargetSDK/MTRGInstreamAdPlayer.h>
|
||||
|
||||
@class MTRGCustomParams;
|
||||
@class MTRGInstreamAd;
|
||||
@class UIViewController;
|
||||
|
||||
@interface MTRGInstreamAdBanner : NSObject
|
||||
|
||||
@property(nonatomic) NSTimeInterval duration;
|
||||
@property(nonatomic) BOOL allowClose;
|
||||
@property(nonatomic) NSTimeInterval allowCloseDelay;
|
||||
@property(nonatomic) CGSize size;
|
||||
@property(nonatomic, copy) NSString *ctaText;
|
||||
|
||||
@end
|
||||
|
||||
@protocol MTRGInstreamAdDelegate <NSObject>
|
||||
|
||||
- (void)onLoadWithInstreamAd:(MTRGInstreamAd *)instreamAd;
|
||||
|
||||
- (void)onNoAdWithReason:(NSString *)reason instreamAd:(MTRGInstreamAd *)instreamAd;
|
||||
|
||||
@optional
|
||||
|
||||
- (void)onErrorWithReason:(NSString *)reason instreamAd:(MTRGInstreamAd *)instreamAd;
|
||||
|
||||
- (void)onBannerStart:(MTRGInstreamAdBanner *)banner instreamAd:(MTRGInstreamAd *)instreamAd;
|
||||
|
||||
- (void)onBannerComplete:(MTRGInstreamAdBanner *)banner instreamAd:(MTRGInstreamAd *)instreamAd;
|
||||
|
||||
- (void)onBannerTimeLeftChange:(NSTimeInterval)timeLeft duration:(NSTimeInterval)duration instreamAd:(MTRGInstreamAd *)instreamAd;
|
||||
|
||||
- (void)onCompleteWithSection:(NSString *)section instreamAd:(MTRGInstreamAd *)instreamAd;
|
||||
|
||||
- (void)onShowModalWithInstreamAd:(MTRGInstreamAd *)instreamAd;
|
||||
|
||||
- (void)onDismissModalWithInstreamAd:(MTRGInstreamAd *)instreamAd;
|
||||
|
||||
- (void)onLeaveApplicationWithInstreamAd:(MTRGInstreamAd *)instreamAd;
|
||||
|
||||
@end
|
||||
|
||||
@interface MTRGInstreamAd : NSObject
|
||||
|
||||
@property(nonatomic, weak) id <MTRGInstreamAdDelegate> delegate;
|
||||
@property(nonatomic, readonly) MTRGCustomParams *customParams;
|
||||
@property(nonatomic) NSUInteger videoQuality;
|
||||
@property(nonatomic) id <MTRGInstreamAdPlayer> player;
|
||||
@property(nonatomic) BOOL fullscreen;
|
||||
@property(nonatomic) BOOL trackEnvironmentEnabled;
|
||||
@property(nonatomic) float volume;
|
||||
|
||||
+ (void)setDebugMode:(BOOL)enabled;
|
||||
|
||||
+ (BOOL)isDebugMode;
|
||||
|
||||
- (instancetype)initWithSlotId:(NSUInteger)slotId;
|
||||
|
||||
- (void)load;
|
||||
|
||||
- (void)pause;
|
||||
|
||||
- (void)resume;
|
||||
|
||||
- (void)stop;
|
||||
|
||||
- (void)skip;
|
||||
|
||||
- (void)skipBanner;
|
||||
|
||||
- (void)handleClickWithController:(UIViewController *)controller;
|
||||
|
||||
- (void)startPreroll;
|
||||
|
||||
- (void)startPostroll;
|
||||
|
||||
- (void)startPauseroll;
|
||||
|
||||
- (void)startMidrollWithPoint:(NSNumber *)point;
|
||||
|
||||
- (void)useDefaultPlayer;
|
||||
|
||||
- (void)configureMidpointsP:(NSArray<NSNumber *> *)midpointsP forVideoDuration:(NSTimeInterval)videoDuration;
|
||||
|
||||
- (void)configureMidpoints:(NSArray<NSNumber *> *)midpoints forVideoDuration:(NSTimeInterval)videoDuration;
|
||||
|
||||
- (void)configureMidpointsForVideoDuration:(NSTimeInterval)videoDuration;
|
||||
|
||||
- (NSArray<NSNumber *> *)midpoints;
|
||||
|
||||
@end
|
|
@ -0,0 +1,27 @@
|
|||
//
|
||||
// MTRGInstreamAdCompanionBanner.h
|
||||
// MyTargetSDK
|
||||
//
|
||||
// Created by Andrey Seredkin on 14.12.16.
|
||||
// Copyright © 2016 Mail.ru Group. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface MTRGInstreamAdCompanionBanner : NSObject
|
||||
|
||||
@property(nonatomic) NSUInteger width;
|
||||
@property(nonatomic) NSUInteger height;
|
||||
@property(nonatomic) NSUInteger assetWidth;
|
||||
@property(nonatomic) NSUInteger assetHeight;
|
||||
@property(nonatomic) NSUInteger expandedWidth;
|
||||
@property(nonatomic) NSUInteger expandedHeight;
|
||||
|
||||
@property(nonatomic, copy) NSString *staticResource;
|
||||
@property(nonatomic, copy) NSString *iframeResource;
|
||||
@property(nonatomic, copy) NSString *htmlResource;
|
||||
@property(nonatomic, copy) NSString *apiFramework;
|
||||
@property(nonatomic, copy) NSString *adSlotID;
|
||||
@property(nonatomic, copy) NSString *required;
|
||||
|
||||
@end
|
|
@ -0,0 +1,43 @@
|
|||
//
|
||||
// MTRGInstreamAdPlayer.h
|
||||
// myTarget
|
||||
//
|
||||
// Created by Anton Bulankin on 21.09.16.
|
||||
// Copyright © 2016 Mail.ru. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@protocol MTRGInstreamAdPlayerDelegate <NSObject>
|
||||
|
||||
- (void)onAdVideoStart;
|
||||
|
||||
- (void)onAdVideoPause;
|
||||
|
||||
- (void)onAdVideoResume;
|
||||
|
||||
- (void)onAdVideoStop;
|
||||
|
||||
- (void)onAdVideoErrorWithReason:(NSString *)reason;
|
||||
|
||||
- (void)onAdVideoComplete;
|
||||
|
||||
@end
|
||||
|
||||
@protocol MTRGInstreamAdPlayer <NSObject>
|
||||
|
||||
@property(nonatomic, readonly) NSTimeInterval adVideoDuration;
|
||||
@property(nonatomic, readonly) NSTimeInterval adVideoTimeElapsed;
|
||||
@property(nonatomic, weak) id <MTRGInstreamAdPlayerDelegate> adPlayerDelegate;
|
||||
@property(nonatomic, readonly) UIView *adPlayerView;
|
||||
@property(nonatomic) float volume;
|
||||
|
||||
- (void)playAdVideoWithUrl:(NSURL *)url;
|
||||
|
||||
- (void)pauseAdVideo;
|
||||
|
||||
- (void)resumeAdVideo;
|
||||
|
||||
- (void)stopAdVideo;
|
||||
|
||||
@end
|
|
@ -0,0 +1,99 @@
|
|||
//
|
||||
// MTRGInstreamAudioAd.h
|
||||
// MyTargetSDK
|
||||
//
|
||||
// Created by Andrey Seredkin on 20.12.16.
|
||||
// Copyright © 2016 Mail.ru Group. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <MyTargetSDK/MTRGInstreamAudioAdPlayer.h>
|
||||
#import <MyTargetSDK/MTRGInstreamAdCompanionBanner.h>
|
||||
|
||||
@class MTRGInstreamAudioAd;
|
||||
@class MTRGCustomParams;
|
||||
|
||||
@interface MTRGInstreamAudioAdBanner : NSObject
|
||||
|
||||
@property(nonatomic) NSTimeInterval duration;
|
||||
@property(nonatomic) BOOL allowSeek;
|
||||
@property(nonatomic) BOOL allowSkip;
|
||||
@property(nonatomic) BOOL allowTrackChange;
|
||||
@property(nonatomic, copy) NSString *adText;
|
||||
@property(nonatomic) NSArray<MTRGInstreamAdCompanionBanner *> *companionBanners;
|
||||
|
||||
@end
|
||||
|
||||
@protocol MTRGInstreamAudioAdDelegate <NSObject>
|
||||
|
||||
- (void)onLoadWithInstreamAudioAd:(MTRGInstreamAudioAd *)instreamAudioAd;
|
||||
|
||||
- (void)onNoAdWithReason:(NSString *)reason instreamAudioAd:(MTRGInstreamAudioAd *)instreamAudioAd;
|
||||
|
||||
@optional
|
||||
|
||||
- (void)onErrorWithReason:(NSString *)reason instreamAudioAd:(MTRGInstreamAudioAd *)instreamAudioAd;
|
||||
|
||||
- (void)onBannerStart:(MTRGInstreamAudioAdBanner *)banner instreamAudioAd:(MTRGInstreamAudioAd *)instreamAudioAd;
|
||||
|
||||
- (void)onBannerComplete:(MTRGInstreamAudioAdBanner *)banner instreamAudioAd:(MTRGInstreamAudioAd *)instreamAudioAd;
|
||||
|
||||
- (void)onBannerTimeLeftChange:(NSTimeInterval)timeLeft duration:(NSTimeInterval)duration instreamAudioAd:(MTRGInstreamAudioAd *)instreamAudioAd;
|
||||
|
||||
- (void)onCompleteWithSection:(NSString *)section instreamAudioAd:(MTRGInstreamAudioAd *)instreamAudioAd;
|
||||
|
||||
- (void)onShowModalWithInstreamAudioAd:(MTRGInstreamAudioAd *)instreamAudioAd;
|
||||
|
||||
- (void)onDismissModalWithInstreamAudioAd:(MTRGInstreamAudioAd *)instreamAudioAd;
|
||||
|
||||
- (void)onLeaveApplicationWithInstreamAudioAd:(MTRGInstreamAudioAd *)instreamAudioAd;
|
||||
|
||||
@end
|
||||
|
||||
@interface MTRGInstreamAudioAd : NSObject
|
||||
|
||||
@property(nonatomic, weak) id <MTRGInstreamAudioAdDelegate> delegate;
|
||||
@property(nonatomic, readonly) MTRGCustomParams *customParams;
|
||||
@property(nonatomic) id <MTRGInstreamAudioAdPlayer> player;
|
||||
@property(nonatomic) BOOL trackEnvironmentEnabled;
|
||||
@property(nonatomic) float volume;
|
||||
|
||||
+ (void)setDebugMode:(BOOL)enabled;
|
||||
|
||||
+ (BOOL)isDebugMode;
|
||||
|
||||
- (instancetype)initWithSlotId:(NSUInteger)slotId;
|
||||
|
||||
- (void)load;
|
||||
|
||||
- (void)pause;
|
||||
|
||||
- (void)resume;
|
||||
|
||||
- (void)stop;
|
||||
|
||||
- (void)skip;
|
||||
|
||||
- (void)skipBanner;
|
||||
|
||||
- (void)handleCompanionClick:(MTRGInstreamAdCompanionBanner *)companionBanner withController:(UIViewController *)controller;
|
||||
|
||||
- (void)handleCompanionShow:(MTRGInstreamAdCompanionBanner *)companionBanner;
|
||||
|
||||
- (void)startPreroll;
|
||||
|
||||
- (void)startPostroll;
|
||||
|
||||
- (void)startPauseroll;
|
||||
|
||||
- (void)startMidrollWithPoint:(NSNumber *)point;
|
||||
|
||||
- (void)configureMidpointsP:(NSArray<NSNumber *> *)midpointsP forAudioDuration:(NSTimeInterval)audioDuration;
|
||||
|
||||
- (void)configureMidpoints:(NSArray<NSNumber *> *)midpoints forAudioDuration:(NSTimeInterval)audioDuration;
|
||||
|
||||
- (void)configureMidpointsForAudioDuration:(NSTimeInterval)audioDuration;
|
||||
|
||||
- (NSArray<NSNumber *> *)midpoints;
|
||||
|
||||
@end
|
|
@ -0,0 +1,42 @@
|
|||
//
|
||||
// MTRGInstreamAudioAdPlayer.h
|
||||
// MyTargetSDK
|
||||
//
|
||||
// Created by Andrey Seredkin on 20.12.16.
|
||||
// Copyright © 2016 Mail.ru Group. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@protocol MTRGInstreamAudioAdPlayerDelegate <NSObject>
|
||||
|
||||
- (void)onAdAudioStart;
|
||||
|
||||
- (void)onAdAudioPause;
|
||||
|
||||
- (void)onAdAudioResume;
|
||||
|
||||
- (void)onAdAudioStop;
|
||||
|
||||
- (void)onAdAudioErrorWithReason:(NSString *)reason;
|
||||
|
||||
- (void)onAdAudioComplete;
|
||||
|
||||
@end
|
||||
|
||||
@protocol MTRGInstreamAudioAdPlayer <NSObject>
|
||||
|
||||
@property(nonatomic, readonly) NSTimeInterval adAudioDuration;
|
||||
@property(nonatomic, readonly) NSTimeInterval adAudioTimeElapsed;
|
||||
@property(nonatomic, weak) id <MTRGInstreamAudioAdPlayerDelegate> adPlayerDelegate;
|
||||
@property(nonatomic) float volume;
|
||||
|
||||
- (void)playAdAudioWithUrl:(NSURL *)url;
|
||||
|
||||
- (void)pauseAdAudio;
|
||||
|
||||
- (void)resumeAdAudio;
|
||||
|
||||
- (void)stopAdAudio;
|
||||
|
||||
@end
|
|
@ -1,6 +1,6 @@
|
|||
//
|
||||
// InterstitialAd.h
|
||||
// myTargetSDK 4.5.10
|
||||
// myTargetSDK 4.6.15
|
||||
//
|
||||
// Created by Anton Bulankin on 04.02.15.
|
||||
// Copyright (c) 2015 Mail.ru Group. All rights reserved.
|
||||
|
@ -39,13 +39,17 @@
|
|||
@property(nonatomic, readonly) MTRGCustomParams *customParams;
|
||||
@property(nonatomic) BOOL trackEnvironmentEnabled;
|
||||
|
||||
+ (void)setDebugMode:(BOOL)enabled;
|
||||
|
||||
+ (BOOL)isDebugMode;
|
||||
|
||||
- (instancetype)initWithSlotId:(NSUInteger)slotId;
|
||||
|
||||
- (void)load;
|
||||
|
||||
- (void)showWithController:(__weak UIViewController *)controller;
|
||||
- (void)showWithController:(UIViewController *)controller;
|
||||
|
||||
- (void)showModalWithController:(__weak UIViewController *)controller;
|
||||
- (void)showModalWithController:(UIViewController *)controller;
|
||||
|
||||
- (void)close;
|
||||
|
||||
|
|
|
@ -0,0 +1,54 @@
|
|||
//
|
||||
// MTRGInterstitialSliderAd.h
|
||||
// MyTargetSDK
|
||||
//
|
||||
// Created by Andrey Seredkin on 10.11.16.
|
||||
// Copyright © 2016 Mail.ru Group. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <MyTargetSDK/MTRGCustomParams.h>
|
||||
|
||||
@class MTRGInterstitialSliderAd;
|
||||
|
||||
@protocol MTRGInterstitialSliderAdDelegate <NSObject>
|
||||
|
||||
- (void)onLoadWithInterstitialSliderAd:(MTRGInterstitialSliderAd *)interstitialSliderAd;
|
||||
|
||||
- (void)onNoAdWithReason:(NSString *)reason interstitialSliderAd:(MTRGInterstitialSliderAd *)interstitialSliderAd;
|
||||
|
||||
@optional
|
||||
|
||||
- (void)onClickWithInterstitialSliderAd:(MTRGInterstitialSliderAd *)interstitialSliderAd;
|
||||
|
||||
- (void)onCloseWithInterstitialSliderAd:(MTRGInterstitialSliderAd *)interstitialSliderAd;
|
||||
|
||||
- (void)onDisplayWithInterstitialSliderAd:(MTRGInterstitialSliderAd *)interstitialSliderAd;
|
||||
|
||||
- (void)onLeaveApplicationWithInterstitialSliderAd:(MTRGInterstitialSliderAd *)interstitialSliderAd;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
@interface MTRGInterstitialSliderAd : NSObject
|
||||
|
||||
@property(nonatomic, weak) id <MTRGInterstitialSliderAdDelegate> delegate;
|
||||
@property(nonatomic, readonly) MTRGCustomParams *customParams;
|
||||
@property(nonatomic) BOOL trackEnvironmentEnabled;
|
||||
|
||||
+ (void)setDebugMode:(BOOL)enabled;
|
||||
|
||||
+ (BOOL)isDebugMode;
|
||||
|
||||
- (instancetype)initWithSlotId:(NSUInteger)slotId;
|
||||
|
||||
- (void)load;
|
||||
|
||||
- (void)showWithController:(UIViewController *)controller;
|
||||
|
||||
- (void)showModalWithController:(UIViewController *)controller;
|
||||
|
||||
- (void)close;
|
||||
|
||||
@end
|
|
@ -1,6 +1,6 @@
|
|||
//
|
||||
// MTRGManager.h
|
||||
// myTargetSDK 4.5.10
|
||||
// myTargetSDK 4.6.15
|
||||
//
|
||||
// Created by Anton Bulankin on 18.09.15.
|
||||
// Copyright © 2015 Mail.ru. All rights reserved.
|
||||
|
@ -11,10 +11,6 @@
|
|||
|
||||
@interface MTRGManager : NSObject
|
||||
|
||||
+ (void)setLoggingEnabled:(BOOL)loggingEnabled;
|
||||
|
||||
+ (BOOL)loggingEnabled;
|
||||
|
||||
+ (NSDictionary *)getFingerprintParams;
|
||||
|
||||
+ (void)trackUrl:(NSString *)trackingUrl;
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
//
|
||||
// MTRGMediaAdView.h
|
||||
// myTargetSDK 4.6.15
|
||||
//
|
||||
// Created by Andrey Seredkin on 19.08.16.
|
||||
// Copyright © 2016 Mail.ru. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface MTRGMediaAdView : UIView
|
||||
|
||||
@property(nonatomic, readonly) UIImageView *imageView;
|
||||
@property(nonatomic, readonly) UIImageView *playImageView;
|
||||
@property(nonatomic, readonly) UIActivityIndicatorView *activityIndicatorView;
|
||||
|
||||
@end
|
|
@ -1,6 +1,6 @@
|
|||
//
|
||||
// MTRGMediaData.h
|
||||
// myTargetSDK 4.5.10
|
||||
// myTargetSDK 4.6.15
|
||||
//
|
||||
// Created by Timur Voloshin on 05.19.16.
|
||||
// Copyright © 2016 Mail.ru. All rights reserved.
|
||||
|
@ -18,4 +18,4 @@
|
|||
|
||||
- (instancetype)initWithUrl:(NSString *)url;
|
||||
|
||||
@end
|
||||
@end
|
|
@ -1,6 +1,6 @@
|
|||
//
|
||||
// MTRGNativeAd.h
|
||||
// myTargetSDK 4.5.10
|
||||
// myTargetSDK 4.6.15
|
||||
//
|
||||
// Created by Anton Bulankin on 10.11.14.
|
||||
// Copyright (c) 2014 Mail.ru Group. All rights reserved.
|
||||
|
@ -19,6 +19,8 @@
|
|||
|
||||
@optional
|
||||
|
||||
- (void)onAdShowWithNativeAd:(MTRGNativeAd *)nativeAd;
|
||||
|
||||
- (void)onAdClickWithNativeAd:(MTRGNativeAd *)nativeAd;
|
||||
|
||||
- (void)onShowModalWithNativeAd:(MTRGNativeAd *)nativeAd;
|
||||
|
@ -35,17 +37,23 @@
|
|||
@property(nonatomic, readonly) MTRGNativePromoBanner *banner;
|
||||
@property(nonatomic, readonly) MTRGCustomParams *customParams;
|
||||
@property(nonatomic) BOOL autoLoadImages;
|
||||
@property(nonatomic) BOOL autoLoadVideo;
|
||||
@property(nonatomic) BOOL trackEnvironmentEnabled;
|
||||
|
||||
+ (void)setDebugMode:(BOOL)enabled;
|
||||
|
||||
+ (BOOL)isDebugMode;
|
||||
|
||||
+ (void)loadImage:(MTRGImageData *)imageData toView:(UIImageView *)imageView;
|
||||
|
||||
- (instancetype)initWithSlotId:(NSUInteger)slotId;
|
||||
|
||||
- (void)load;
|
||||
|
||||
- (void)registerView:(UIView *)view withController:(UIViewController *)controller;
|
||||
- (void)registerView:(UIView *)containerView withController:(UIViewController *)controller;
|
||||
|
||||
- (void)registerView:(UIView *)containerView withController:(UIViewController *)controller withClickableViews:(NSArray<UIView *> *)clickableViews;
|
||||
|
||||
- (void)unregisterView;
|
||||
|
||||
- (void)loadImageToView:(UIImageView *)imageView;
|
||||
|
||||
- (void)loadIconToView:(UIImageView *)imageView;
|
||||
@end
|
||||
@end
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
//
|
||||
// MTRGNativeAppwallAd.h
|
||||
// myTargetSDK 4.5.10
|
||||
// myTargetSDK 4.6.15
|
||||
//
|
||||
// Created by Anton Bulankin on 13.01.15.
|
||||
// Copyright (c) 2015 Mail.ru Group. All rights reserved.
|
||||
|
@ -36,8 +36,15 @@
|
|||
@property(nonatomic) NSUInteger cachePeriodInSec;
|
||||
@property(nonatomic, readonly) MTRGCustomParams *customParams;
|
||||
@property(nonatomic, readonly) NSArray *banners;
|
||||
@property(nonatomic) BOOL autoLoadImages;
|
||||
@property(nonatomic) BOOL trackEnvironmentEnabled;
|
||||
|
||||
+ (void)setDebugMode:(BOOL)enabled;
|
||||
|
||||
+ (BOOL)isDebugMode;
|
||||
|
||||
+ (void)loadImage:(MTRGImageData *)imageData toView:(UIImageView *)imageView;
|
||||
|
||||
- (instancetype)initWithSlotId:(NSUInteger)slotId;
|
||||
|
||||
- (void)load;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
//
|
||||
// MTRGNativeAppwallBanner.h
|
||||
// myTargetSDK 4.5.10
|
||||
// myTargetSDK 4.6.15
|
||||
//
|
||||
// Created by Anton Bulankin on 13.01.15.
|
||||
// Copyright (c) 2015 Mail.ru Group. All rights reserved.
|
||||
|
@ -36,4 +36,4 @@
|
|||
@property(nonatomic) MTRGImageData *bubbleIcon;
|
||||
@property(nonatomic) MTRGImageData *gotoAppIcon;
|
||||
@property(nonatomic) MTRGImageData *itemHighlightIcon;
|
||||
@end
|
||||
@end
|
|
@ -1,6 +1,6 @@
|
|||
//
|
||||
// MTRGNativePromoBanner.h
|
||||
// myTargetSDK 4.5.10
|
||||
// myTargetSDK 4.6.15
|
||||
//
|
||||
// Created by Anton Bulankin on 17.11.14.
|
||||
// Copyright (c) 2014 Mail.ru Group. All rights reserved.
|
||||
|
@ -9,7 +9,7 @@
|
|||
#import <Foundation/Foundation.h>
|
||||
#import <MyTargetSDK/MTRGImageData.h>
|
||||
#import <MyTargetSDK/MTRGNavigationType.h>
|
||||
|
||||
#import <MyTargetSDK/MTRGNativePromoCard.h>
|
||||
|
||||
@interface MTRGNativePromoBanner : NSObject
|
||||
|
||||
|
@ -27,5 +27,6 @@
|
|||
@property(nonatomic) MTRGNavigationType navigationType;
|
||||
@property(nonatomic) MTRGImageData *icon;
|
||||
@property(nonatomic) MTRGImageData *image;
|
||||
@property(nonatomic) NSArray<MTRGNativePromoCard *> *cards;
|
||||
|
||||
@end
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
//
|
||||
// MTRGNativePromoCard.h
|
||||
// myTargetSDK 4.6.15
|
||||
//
|
||||
// Created by Andrey Seredkin on 18.10.16.
|
||||
// Copyright © 2016 Mail.ru. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <MyTargetSDK/MTRGImageData.h>
|
||||
|
||||
@interface MTRGNativePromoCard : NSObject
|
||||
|
||||
@property(nonatomic, copy) NSString *title;
|
||||
@property(nonatomic, copy) NSString *descriptionText;
|
||||
@property(nonatomic, copy) NSString *ctaText;
|
||||
@property(nonatomic) MTRGImageData *image;
|
||||
|
||||
@end
|
|
@ -1,6 +1,6 @@
|
|||
//
|
||||
// MTRGNativeViewsFactory.h
|
||||
// myTargetSDK 4.5.10
|
||||
// myTargetSDK 4.6.15
|
||||
//
|
||||
// Created by Anton Bulankin on 17.11.14.
|
||||
// Copyright (c) 2014 Mail.ru Group. All rights reserved.
|
||||
|
@ -19,6 +19,10 @@
|
|||
#import <MyTargetSDK/MTRGAppwallBannerAdView.h>
|
||||
#import <MyTargetSDK/MTRGAppwallAdView.h>
|
||||
|
||||
#import <MyTargetSDK/MTRGMediaAdView.h>
|
||||
#import <MyTargetSDK/MTRGContentStreamCardAdView.h>
|
||||
#import <MyTargetSDK/MTRGPromoCardCollectionView.h>
|
||||
|
||||
@interface MTRGNativeViewsFactory : NSObject
|
||||
|
||||
+ (MTRGNewsFeedAdView *)createNewsFeedViewWithBanner:(MTRGNativePromoBanner *)teaserBanner;
|
||||
|
@ -36,4 +40,10 @@
|
|||
|
||||
+ (MTRGAppwallAdView *)createAppWallAdViewWithBanners:(NSArray *)banners;
|
||||
|
||||
+ (MTRGMediaAdView *)createMediaAdView;
|
||||
|
||||
+ (MTRGContentStreamCardAdView *)createContentStreamCardAdView;
|
||||
|
||||
+ (MTRGPromoCardCollectionView *)createPromoCardCollectionView;
|
||||
|
||||
@end
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
//
|
||||
// MTRGNavigationType.h
|
||||
// myTargetSDK 4.5.10
|
||||
// myTargetSDK 4.6.15
|
||||
//
|
||||
// Created by Anton Bulankin on 30.05.16.
|
||||
// Copyright © 2016 Mail.ru. All rights reserved.
|
||||
|
|
|
@ -1,28 +1,35 @@
|
|||
//
|
||||
// MTRGNewsFeedAdView.h
|
||||
// myTargetSDK 4.5.10
|
||||
// myTargetSDK 4.6.15
|
||||
//
|
||||
// Created by Anton Bulankin on 05.12.14.
|
||||
// Copyright (c) 2014 Mail.ru Group. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <MyTargetSDK/MTRGBaseNativeAdView.h>
|
||||
#import <MyTargetSDK/MTRGNativePromoBanner.h>
|
||||
#import <MyTargetSDK/MTRGStarsRatingView.h>
|
||||
#import <MyTargetSDK/MTRGStarsRatingLabel.h>
|
||||
|
||||
@interface MTRGNewsFeedAdView : MTRGBaseNativeAdView
|
||||
@interface MTRGNewsFeedAdView : UIView
|
||||
|
||||
@property(nonatomic) MTRGNativePromoBanner *banner;
|
||||
@property(nonatomic) UIColor *backgroundColor;
|
||||
@property(nonatomic, readonly) UILabel *ageRestrictionsLabel;
|
||||
@property(nonatomic, readonly) UILabel *adLabel;
|
||||
|
||||
@property(nonatomic, readonly) UIImageView *iconImageView;
|
||||
@property(nonatomic, readonly) UILabel *domainLabel;
|
||||
@property(nonatomic, readonly) UILabel *categoryLabel;
|
||||
@property(nonatomic, readonly) UILabel *disclaimerLabel;
|
||||
@property(nonatomic, readonly) MTRGStarsRatingView *ratingStarsView;
|
||||
@property(nonatomic, readonly) MTRGStarsRatingLabel *ratingStarsLabel;
|
||||
@property(nonatomic, readonly) UILabel *votesLabel;
|
||||
@property(nonatomic, readonly) UIView *buttonView;
|
||||
@property(nonatomic, readonly) UILabel *buttonToLabel;
|
||||
@property(nonatomic, readonly) UILabel *titleLabel;
|
||||
|
||||
@property(nonatomic) UIEdgeInsets contentMargins;
|
||||
@property(nonatomic) UIEdgeInsets adLabelMargins;
|
||||
@property(nonatomic) UIEdgeInsets ageRestrictionsMargins;
|
||||
@property(nonatomic) UIEdgeInsets titleMargins;
|
||||
@property(nonatomic) UIEdgeInsets domainMargins;
|
||||
@property(nonatomic) UIEdgeInsets disclaimerMargins;
|
||||
|
@ -33,4 +40,6 @@
|
|||
@property(nonatomic) UIEdgeInsets buttonCaptionMargins;
|
||||
@property(nonatomic) UIEdgeInsets categoryMargins;
|
||||
|
||||
- (void)loadImages;
|
||||
|
||||
@end
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
//
|
||||
// MTRGPromoCardCollectionView.h
|
||||
// MyTargetSDK
|
||||
//
|
||||
// Created by Andrey Seredkin on 02.11.16.
|
||||
// Copyright © 2016 Mail.ru Group. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <MyTargetSDK/MTRGNativePromoCard.h>
|
||||
|
||||
@protocol MTRGPromoCardCollectionViewDelegate <NSObject>
|
||||
|
||||
- (void)onCardClick:(MTRGNativePromoCard *)card;
|
||||
- (void)onCardChange:(MTRGNativePromoCard *)card;
|
||||
|
||||
@end
|
||||
|
||||
@interface MTRGPromoCardCollectionView : UICollectionView <UICollectionViewDelegate, UICollectionViewDataSource, UICollectionViewDelegateFlowLayout>
|
||||
|
||||
@property (nonatomic, weak) id <MTRGPromoCardCollectionViewDelegate> cardCollectionViewDelegate;
|
||||
@property (nonatomic, readonly) MTRGNativePromoCard *currentPromoCard;
|
||||
|
||||
- (void)setCards:(NSArray<MTRGNativePromoCard *> *)cards;
|
||||
|
||||
@end
|
|
@ -0,0 +1,24 @@
|
|||
//
|
||||
// MTRGPromoCardViewProtocol.h
|
||||
// myTargetSDK 4.6.15
|
||||
//
|
||||
// Created by Andrey Seredkin on 20.10.16.
|
||||
// Copyright © 2016 Mail.ru. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@class MTRGMediaAdView;
|
||||
|
||||
@protocol MTRGPromoCardViewProtocol <NSObject>
|
||||
|
||||
@required
|
||||
|
||||
@property(nonatomic, readonly) UILabel *titleLabel;
|
||||
@property(nonatomic, readonly) UILabel *descriptionLabel;
|
||||
@property(nonatomic, readonly) UILabel *ctaButtonLabel;
|
||||
@property(nonatomic, readonly) MTRGMediaAdView *mediaAdView;
|
||||
|
||||
- (CGFloat)heightWithCardWidth:(CGFloat)width;
|
||||
|
||||
@end
|
|
@ -0,0 +1,15 @@
|
|||
//
|
||||
// MTRGStarsRatingLabel.h
|
||||
// MyTargetSDK
|
||||
//
|
||||
// Created by Andrey Seredkin on 27.01.17.
|
||||
// Copyright © 2017 Mail.ru Group. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface MTRGStarsRatingLabel : UILabel
|
||||
|
||||
- (instancetype)initWithRating:(NSNumber *)rating; //rating in interval 0...5
|
||||
|
||||
@end
|
|
@ -1,20 +0,0 @@
|
|||
//
|
||||
// MTRGStarsRatingView.h
|
||||
// myTargetSDK 4.5.10
|
||||
//
|
||||
// Created by Igor Glotov on 12.08.14.
|
||||
// Copyright (c) 2014 Mail.ru. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
|
||||
@interface MTRGStarsRatingView : UIView
|
||||
|
||||
//rating in interval 0.0....5.0
|
||||
@property(strong, nonatomic) NSNumber *rating;
|
||||
|
||||
- (void)setStarPadding:(CGFloat)starPadding;
|
||||
|
||||
@end
|
|
@ -1,93 +0,0 @@
|
|||
//
|
||||
// MTRGVideoAdView.h
|
||||
// myTargetSDK 4.5.10
|
||||
//
|
||||
// Created by Anton Bulankin on 17.06.15.
|
||||
// Copyright (c) 2015 Mail.ru. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <MyTargetSDK/MTRGCustomParams.h>
|
||||
|
||||
@interface MTRGVideoBannerInfo : NSObject
|
||||
|
||||
@property(nonatomic) NSTimeInterval duration;
|
||||
@property(nonatomic) BOOL allowClose;
|
||||
@property(nonatomic) NSTimeInterval allowCloseDelay;
|
||||
@property(nonatomic) CGSize size;
|
||||
@property(nonatomic, copy) NSString *ctaText;
|
||||
|
||||
@end
|
||||
|
||||
@class MTRGVideoAdView;
|
||||
|
||||
@protocol MTRGVideoAdViewDelegate <NSObject>
|
||||
- (void)onLoadWithVideoAdView:(MTRGVideoAdView *)videoAdView;
|
||||
|
||||
- (void)onNoAdWithReason:(NSString *)reason videoAdView:(MTRGVideoAdView *)videoAdView;
|
||||
|
||||
@optional
|
||||
|
||||
- (void)onClickWithVideoAdView:(MTRGVideoAdView *)videoAdView;
|
||||
|
||||
- (void)onTimeLeftChanged:(NSTimeInterval)timeLeft duration:(NSTimeInterval)duration videoAdView:(MTRGVideoAdView *)videoAdView;
|
||||
|
||||
- (void)onBannerStartWithInfo:(MTRGVideoBannerInfo *)info videoAdView:(MTRGVideoAdView *)videoAdView;
|
||||
|
||||
- (void)onBannerCompleteWithInfo:(MTRGVideoBannerInfo *)info videoAdView:(MTRGVideoAdView *)videoAdView status:(NSString *)status;
|
||||
|
||||
- (void)onCompleteWithSection:(NSString *)section videoAdView:(MTRGVideoAdView *)videoAdView status:(NSString *)status;
|
||||
|
||||
- (void)onBannerSuspenseWithInfo:(MTRGVideoBannerInfo *)info videoAdView:(MTRGVideoAdView *)videoAdView;
|
||||
|
||||
- (void)onBannerResumptionWithInfo:(MTRGVideoBannerInfo *)info videoAdView:(MTRGVideoAdView *)videoAdView;
|
||||
|
||||
- (void)onAirPlayVideoActiveChanged:(BOOL)airPlayVideoActive videoAdView:(MTRGVideoAdView *)videoAdView;
|
||||
|
||||
- (void)onShowModalWithVideoAdView:(MTRGVideoAdView *)videoAdView;
|
||||
|
||||
- (void)onDismissModalWithVideoAdView:(MTRGVideoAdView *)videoAdView;
|
||||
|
||||
- (void)onLeaveApplicationWithVideoAdView:(MTRGVideoAdView *)videoAdView;
|
||||
|
||||
|
||||
@end
|
||||
|
||||
@interface MTRGVideoAdView : UIView
|
||||
|
||||
@property(nonatomic, strong, readonly) MTRGCustomParams *customParams;
|
||||
@property(weak, nonatomic) id <MTRGVideoAdViewDelegate> delegate;
|
||||
@property(nonatomic, weak) UIViewController *viewController;
|
||||
@property(nonatomic) BOOL trackEnvironmentEnabled;
|
||||
|
||||
- (instancetype)initWithSlotId:(NSUInteger)slotId;
|
||||
|
||||
- (void)load;
|
||||
|
||||
- (void)startPreroll;
|
||||
|
||||
- (void)startPostroll;
|
||||
|
||||
- (void)startPauseroll;
|
||||
|
||||
- (void)startMidroll;
|
||||
|
||||
- (void)pause;
|
||||
|
||||
- (void)resume;
|
||||
|
||||
- (void)stop;
|
||||
|
||||
- (void)setFullscreen:(BOOL)isFullscreen;
|
||||
|
||||
- (void)setVideoQuality:(NSUInteger)quality;
|
||||
|
||||
- (void)setVideoPosition:(NSTimeInterval)time duration:(NSTimeInterval)duration;
|
||||
|
||||
- (void)closedByUser;
|
||||
|
||||
- (void)skipBanner;
|
||||
|
||||
- (void)handleClick;
|
||||
|
||||
@end
|
|
@ -1,6 +1,6 @@
|
|||
//
|
||||
// MyTargetSDK.h
|
||||
// myTargetSDK 4.5.10
|
||||
// myTargetSDK 4.6.15
|
||||
//
|
||||
// Created by Anton Bulankin on 24.09.15.
|
||||
// Copyright © 2015 Mail.ru. All rights reserved.
|
||||
|
@ -11,7 +11,6 @@
|
|||
#import <MyTargetSDK/MTRGAdView.h>
|
||||
#import <MyTargetSDK/MTRGAppwallAdView.h>
|
||||
#import <MyTargetSDK/MTRGAppwallBannerAdView.h>
|
||||
#import <MyTargetSDK/MTRGBaseNativeAdView.h>
|
||||
#import <MyTargetSDK/MTRGNativeAd.h>
|
||||
#import <MyTargetSDK/MTRGChatListAdView.h>
|
||||
#import <MyTargetSDK/MTRGNativePromoBanner.h>
|
||||
|
@ -22,10 +21,19 @@
|
|||
#import <MyTargetSDK/MTRGImageData.h>
|
||||
#import <MyTargetSDK/MTRGNewsFeedAdView.h>
|
||||
#import <MyTargetSDK/MTRGInterstitialAd.h>
|
||||
#import <MyTargetSDK/MTRGStarsRatingView.h>
|
||||
#import <MyTargetSDK/MTRGStarsRatingLabel.h>
|
||||
#import <MyTargetSDK/MTRGManager.h>
|
||||
#import <MyTargetSDK/MTRGTracer.h>
|
||||
#import <MyTargetSDK/MTRGNativeAppwallBanner.h>
|
||||
#import <MyTargetSDK/MTRGNavigationType.h>
|
||||
#import <MyTargetSDK/MTRGVideoAdView.h>
|
||||
#import <MyTargetSDK/MTRGNativeAppwallAd.h>
|
||||
#import <MyTargetSDK/MTRGInstreamAd.h>
|
||||
#import <MyTargetSDK/MTRGNativeAppwallAd.h>
|
||||
#import <MyTargetSDK/MTRGMediaAdView.h>
|
||||
#import <MyTargetSDK/MTRGNativePromoCard.h>
|
||||
#import <MyTargetSDK/MTRGPromoCardViewProtocol.h>
|
||||
#import <MyTargetSDK/MTRGContentStreamCardAdView.h>
|
||||
#import <MyTargetSDK/MTRGPromoCardCollectionView.h>
|
||||
#import <MyTargetSDK/MTRGInterstitialSliderAd.h>
|
||||
#import <MyTargetSDK/MTRGInstreamAdCompanionBanner.h>
|
||||
#import <MyTargetSDK/MTRGInstreamAudioAd.h>
|
||||
#import <MyTargetSDK/MTRGInstreamAudioAdPlayer.h>
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -6,7 +6,7 @@
|
|||
<dict>
|
||||
<key>Headers/MTRGAdView.h</key>
|
||||
<data>
|
||||
aM9N2H6BzP/TUlReTiHrWGI/NkU=
|
||||
N8L4VLJovt9mPaR2PQXVs4AsS/E=
|
||||
</data>
|
||||
<key>Headers/MTRGAppwallAdView.h</key>
|
||||
<data>
|
||||
|
@ -14,39 +14,67 @@
|
|||
</data>
|
||||
<key>Headers/MTRGAppwallBannerAdView.h</key>
|
||||
<data>
|
||||
SuHlm5WFootIRWy46UpDd7LDkto=
|
||||
</data>
|
||||
<key>Headers/MTRGBaseNativeAdView.h</key>
|
||||
<data>
|
||||
CnnVnOcyn7OhvNudbWRdNRM/IrQ=
|
||||
JcIpxVGxSZTVnchT9GO131I34fc=
|
||||
</data>
|
||||
<key>Headers/MTRGChatListAdView.h</key>
|
||||
<data>
|
||||
KhBYn8EUn1SpYF8Truu5qYBqKbU=
|
||||
ZxOeZs7WzQvpYDSQ/54xTGybK7A=
|
||||
</data>
|
||||
<key>Headers/MTRGContentStreamAdView.h</key>
|
||||
<data>
|
||||
/94zhhUzRKUpIA+zD6flwgxIBRc=
|
||||
jUfZRQI6srZZgMnOFcjDk4xsfKk=
|
||||
</data>
|
||||
<key>Headers/MTRGContentStreamCardAdView.h</key>
|
||||
<data>
|
||||
CiKkvn2oKmS03oa1aUAY2f6Sp7o=
|
||||
</data>
|
||||
<key>Headers/MTRGContentWallAdView.h</key>
|
||||
<data>
|
||||
RTpe728Mdb45s/J+54OuSlqj0PM=
|
||||
VArxCvwm/HDywvW4MIqRVmhluzc=
|
||||
</data>
|
||||
<key>Headers/MTRGCustomParams.h</key>
|
||||
<data>
|
||||
+9K54c2QZc7rQDiadr0eBMWS0XM=
|
||||
p4OUP2ug07587/ojWDXV29MGmGs=
|
||||
</data>
|
||||
<key>Headers/MTRGImageData.h</key>
|
||||
<data>
|
||||
wjM+ddVxkAvKHy5C9jafQj0qCP0=
|
||||
</data>
|
||||
<key>Headers/MTRGInstreamAd.h</key>
|
||||
<data>
|
||||
GlLVHUFFNNxCzj+sxkiHA00/K+Y=
|
||||
</data>
|
||||
<key>Headers/MTRGInstreamAdCompanionBanner.h</key>
|
||||
<data>
|
||||
urg96CEhV1O+BBw4jfiZPUozTIg=
|
||||
</data>
|
||||
<key>Headers/MTRGInstreamAdPlayer.h</key>
|
||||
<data>
|
||||
ZWQ6wEwYPj+nVmOVuxpK/HKrO4Y=
|
||||
</data>
|
||||
<key>Headers/MTRGInstreamAudioAd.h</key>
|
||||
<data>
|
||||
xdPhwwToMXwp+ic2pLB/9IhxIhQ=
|
||||
</data>
|
||||
<key>Headers/MTRGInstreamAudioAdPlayer.h</key>
|
||||
<data>
|
||||
eFf2Do4HRCREFb9ZAKBQnmT6+gE=
|
||||
</data>
|
||||
<key>Headers/MTRGInterstitialAd.h</key>
|
||||
<data>
|
||||
fbueThysEnMndgmuW8XS0nlHqi0=
|
||||
CjQN0er7Q0FIQrm0NsdxePu9m1s=
|
||||
</data>
|
||||
<key>Headers/MTRGInterstitialSliderAd.h</key>
|
||||
<data>
|
||||
Uv+cN48kqRXkWQFViN9BNZ0P1rw=
|
||||
</data>
|
||||
<key>Headers/MTRGManager.h</key>
|
||||
<data>
|
||||
/V6KS7MbAeG38CtSeBXvUItqy+I=
|
||||
cz8jsj9s093aOQepTf33lhbT00E=
|
||||
</data>
|
||||
<key>Headers/MTRGMediaAdView.h</key>
|
||||
<data>
|
||||
ZdU4xPv5qGaSRFBHWn5e/gY3eag=
|
||||
</data>
|
||||
<key>Headers/MTRGMediaData.h</key>
|
||||
<data>
|
||||
|
@ -54,11 +82,11 @@
|
|||
</data>
|
||||
<key>Headers/MTRGNativeAd.h</key>
|
||||
<data>
|
||||
uTSlUzd6VrJnYjtvoiajVjcWAes=
|
||||
6i8K+JO+VdKSCFJ7PDMonnDbXkA=
|
||||
</data>
|
||||
<key>Headers/MTRGNativeAppwallAd.h</key>
|
||||
<data>
|
||||
5JeZKFDXr+BZ93GwI0hSAGg+Dfs=
|
||||
4GsVqKtbtMYn9cKyHFgkLFIXYws=
|
||||
</data>
|
||||
<key>Headers/MTRGNativeAppwallBanner.h</key>
|
||||
<data>
|
||||
|
@ -66,11 +94,15 @@
|
|||
</data>
|
||||
<key>Headers/MTRGNativePromoBanner.h</key>
|
||||
<data>
|
||||
0fQrw9Sm6B9EpxeCjHtUSi/jfb8=
|
||||
L/lHxVvrKuwWhsjlsVRPk+y7NlA=
|
||||
</data>
|
||||
<key>Headers/MTRGNativePromoCard.h</key>
|
||||
<data>
|
||||
qna/V3Zl8nuyQdEamuVtv5F422w=
|
||||
</data>
|
||||
<key>Headers/MTRGNativeViewsFactory.h</key>
|
||||
<data>
|
||||
eJz1+6TltKFFo2upujhvJ3j1XNU=
|
||||
nbO3rOEfMo4nXFJbxfpcfmW219M=
|
||||
</data>
|
||||
<key>Headers/MTRGNavigationType.h</key>
|
||||
<data>
|
||||
|
@ -78,27 +110,31 @@
|
|||
</data>
|
||||
<key>Headers/MTRGNewsFeedAdView.h</key>
|
||||
<data>
|
||||
GCMo1ccSnM1Js6pth3JLMuj6t64=
|
||||
DRuFL1xAPz0gNqejHCYRGexkNOk=
|
||||
</data>
|
||||
<key>Headers/MTRGStarsRatingView.h</key>
|
||||
<key>Headers/MTRGPromoCardCollectionView.h</key>
|
||||
<data>
|
||||
5bhA2OlX4uxynNaH8GSyt2b2ADo=
|
||||
yMcFe09OQo3cKKcgo9W/eVS8YYQ=
|
||||
</data>
|
||||
<key>Headers/MTRGPromoCardViewProtocol.h</key>
|
||||
<data>
|
||||
r3YbMfSfqM+MF/bqYAo7UMcAd9Y=
|
||||
</data>
|
||||
<key>Headers/MTRGStarsRatingLabel.h</key>
|
||||
<data>
|
||||
PLLN551UEiSxEVPZWpgM1yA2/lY=
|
||||
</data>
|
||||
<key>Headers/MTRGTracer.h</key>
|
||||
<data>
|
||||
F4QdvVILWLs+i60FRx1rV6f75BU=
|
||||
</data>
|
||||
<key>Headers/MTRGVideoAdView.h</key>
|
||||
<data>
|
||||
f5hmZZnRfEZSP1+4BlCOM3b30Kc=
|
||||
</data>
|
||||
<key>Headers/MyTargetSDK.h</key>
|
||||
<data>
|
||||
BS+X0l4DG3R0elB+JjtkdY5MnuQ=
|
||||
fVAoYq1XzlVLP/4V7tl/T/W1ZL0=
|
||||
</data>
|
||||
<key>Info.plist</key>
|
||||
<data>
|
||||
27WMBCaWg3ZEELYV+6pzJAPsLu8=
|
||||
/5U/ROC0dD+2IMSqGWXY1/jFWJs=
|
||||
</data>
|
||||
<key>Modules/module.modulemap</key>
|
||||
<data>
|
||||
|
@ -111,11 +147,11 @@
|
|||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
aM9N2H6BzP/TUlReTiHrWGI/NkU=
|
||||
N8L4VLJovt9mPaR2PQXVs4AsS/E=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
uMM8LjtdTIu9q/ievOoaBN4GuP/z90GQBDJIAQTYULc=
|
||||
srDGlNdEnRh2EjNE/j415t1LUaz4185Soal8FKLuaPQ=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MTRGAppwallAdView.h</key>
|
||||
|
@ -133,66 +169,66 @@
|
|||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
SuHlm5WFootIRWy46UpDd7LDkto=
|
||||
JcIpxVGxSZTVnchT9GO131I34fc=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
RxFzLmGNZnSUtMM6sJQT7t24YdwcrQkU5hSFaGUgiuE=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MTRGBaseNativeAdView.h</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
CnnVnOcyn7OhvNudbWRdNRM/IrQ=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
X2XfIEUVRN/x/jbgHeuiq/AxUb2BzL+GYLVtVOyE9qg=
|
||||
ys7e0U0S+mfH10AjrPZn2Z6Wu26vVQaFBzdNhOFHKeM=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MTRGChatListAdView.h</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
KhBYn8EUn1SpYF8Truu5qYBqKbU=
|
||||
ZxOeZs7WzQvpYDSQ/54xTGybK7A=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
15Em5MSHZcQ/fen0jRQlKT1JUm8MUxA+McwhiF6OBfk=
|
||||
KjG++uNl0wbzZ/XRwfSXdPGHO6vLcLC66tdfyLsP/qc=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MTRGContentStreamAdView.h</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
/94zhhUzRKUpIA+zD6flwgxIBRc=
|
||||
jUfZRQI6srZZgMnOFcjDk4xsfKk=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
VhKdrRru5MnAba7SFdDUqho3QecdK7CO9uvvEcW0tig=
|
||||
OTs07taXPLxe8XIjlmYdqY71yfPkbgw3er1Hyk3YwWM=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MTRGContentStreamCardAdView.h</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
CiKkvn2oKmS03oa1aUAY2f6Sp7o=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
0eF8Sr4KimxLBbwD5ZHWKDMyzH9iPdnzQR+KpbPsgJk=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MTRGContentWallAdView.h</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
RTpe728Mdb45s/J+54OuSlqj0PM=
|
||||
VArxCvwm/HDywvW4MIqRVmhluzc=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
gQd7fbYeSOMvZugNHZkpitMK/uLlllK8gSk2qmz68L0=
|
||||
d/s0JakbBaQHjLkE+w1fd/Pex5NQzsDLXWAZ688Qm3M=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MTRGCustomParams.h</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
+9K54c2QZc7rQDiadr0eBMWS0XM=
|
||||
p4OUP2ug07587/ojWDXV29MGmGs=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
pid+cM6v57TQPkXXyUpPCnZftJctXl9PMPSg0NNBxP4=
|
||||
ouo5hQJ7noao9SvRXP2gpbOEH4looHoqY++ElDOVeAE=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MTRGImageData.h</key>
|
||||
|
@ -206,26 +242,103 @@
|
|||
QMYcADkWoa85hc4MIOgJJ1g7srnjIslox5yAISbMxww=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MTRGInstreamAd.h</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
GlLVHUFFNNxCzj+sxkiHA00/K+Y=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
HnDrNv1v36OlG6SSBPE4nBXcC/1icQ63fc0E68OUKJI=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MTRGInstreamAdCompanionBanner.h</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
urg96CEhV1O+BBw4jfiZPUozTIg=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
J4qRh6Yzd6icTnQ8sDBU/AAJz3RU85neZcRVt2P/cn8=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MTRGInstreamAdPlayer.h</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
ZWQ6wEwYPj+nVmOVuxpK/HKrO4Y=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
xB5oSDELZ7CJPlLqiSn7fe1cEt2sUsJLldqx5WrqHvg=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MTRGInstreamAudioAd.h</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
xdPhwwToMXwp+ic2pLB/9IhxIhQ=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
8lfVaGP1BomGQ/55AJlvRl7tfK6olsXZH3+sFnpZUx4=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MTRGInstreamAudioAdPlayer.h</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
eFf2Do4HRCREFb9ZAKBQnmT6+gE=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
2YMDeIReHbgSnRjaNikjktOr/S5hMTr/0epmnQCP48Y=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MTRGInterstitialAd.h</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
fbueThysEnMndgmuW8XS0nlHqi0=
|
||||
CjQN0er7Q0FIQrm0NsdxePu9m1s=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
MrndjHtwbPvcXzpLvRxvgvqqMyuXZJ6OgTKBGsJXVcE=
|
||||
hUl4qJDanpeUznL7RyJBYlNP3tZ7QkDNCqPw27V45do=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MTRGInterstitialSliderAd.h</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
Uv+cN48kqRXkWQFViN9BNZ0P1rw=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
yIM9qnggZdCp9ZHC7fx42Oq6+bDIyY3S+Wkf1J4uMrU=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MTRGManager.h</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
/V6KS7MbAeG38CtSeBXvUItqy+I=
|
||||
cz8jsj9s093aOQepTf33lhbT00E=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
XNw3JqY6MoK1yAlF0kUUWcFmfsh7SSAUYEF2he6EUgo=
|
||||
xJJAslAzwITR+Kd+HG4TXHALh+6BDDJXd4w7PWR525I=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MTRGMediaAdView.h</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
ZdU4xPv5qGaSRFBHWn5e/gY3eag=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
hWSqiOZcuoDuOE4aSsGczKiVGnGoEfanhYByMz8O/RM=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MTRGMediaData.h</key>
|
||||
|
@ -243,22 +356,22 @@
|
|||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
uTSlUzd6VrJnYjtvoiajVjcWAes=
|
||||
6i8K+JO+VdKSCFJ7PDMonnDbXkA=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
nbdxb9XckZR6cgrgT0vBZ1eI9Z9w06rfTIra3j8aFzc=
|
||||
ff9JiigLiwo+GVib+YRVEcP9PEdKC0GGaYG+4dk+YxU=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MTRGNativeAppwallAd.h</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
5JeZKFDXr+BZ93GwI0hSAGg+Dfs=
|
||||
4GsVqKtbtMYn9cKyHFgkLFIXYws=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
BwxripiJ9hBnXXd649N3yaM0Lz2r0sG7y7kKWb60CFE=
|
||||
KmOHu0tKX7X8Knya/bb9xqwvqoL9QufafAULje0Eev0=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MTRGNativeAppwallBanner.h</key>
|
||||
|
@ -276,22 +389,33 @@
|
|||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
0fQrw9Sm6B9EpxeCjHtUSi/jfb8=
|
||||
L/lHxVvrKuwWhsjlsVRPk+y7NlA=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
Y0YfjlS//ga7KkqZiMrqfQQY+b3gHyK2ho1xVjyY5+k=
|
||||
B+5ZJ0Bw6qyMDKRThm4iixKcc5AzbfyKiAUPpku4+r4=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MTRGNativePromoCard.h</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
qna/V3Zl8nuyQdEamuVtv5F422w=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
Jausma8VQBuo/X+D9oQ8YYeG30CaX2HsENJoAmDL4FA=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MTRGNativeViewsFactory.h</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
eJz1+6TltKFFo2upujhvJ3j1XNU=
|
||||
nbO3rOEfMo4nXFJbxfpcfmW219M=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
K/TGaVLvfMTOV9qSrHx5Ep6XCvU31bIfyXggGf8H7bQ=
|
||||
wkQ+EcRurUDXVBmL9wDZZDFLJkr4Qg1k7nF9HGjhplw=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MTRGNavigationType.h</key>
|
||||
|
@ -309,22 +433,44 @@
|
|||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
GCMo1ccSnM1Js6pth3JLMuj6t64=
|
||||
DRuFL1xAPz0gNqejHCYRGexkNOk=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
di7vEp1xRLYLH89Umzf2Nt9yobT5Qu8fBDNVR08Se5s=
|
||||
OI8Mp3y4VuBa2VVhZj9WkQ6fHUVetpJlrplDJIMmZew=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MTRGStarsRatingView.h</key>
|
||||
<key>Headers/MTRGPromoCardCollectionView.h</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
5bhA2OlX4uxynNaH8GSyt2b2ADo=
|
||||
yMcFe09OQo3cKKcgo9W/eVS8YYQ=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
8ZlEtyaGH/wdf6/13JhGBip3FHmT0Z3HwQoJMGV6pS4=
|
||||
PFnf/DdbZbnpaJujnds/P/hZgEwewJHkwJ3DdF6SfQw=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MTRGPromoCardViewProtocol.h</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
r3YbMfSfqM+MF/bqYAo7UMcAd9Y=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
o3MeVwGvWvg/tlolB9nwwQSfrf+RryAOiDAYsQBZ34w=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MTRGStarsRatingLabel.h</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
PLLN551UEiSxEVPZWpgM1yA2/lY=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
P5jqiSDrAd9e375/CF0WkeZfKQeFM6d+4wkbdo5bBss=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MTRGTracer.h</key>
|
||||
|
@ -338,26 +484,15 @@
|
|||
Z/h8/cJEIW/5W0lo0XAW0iUOMdeWOpxGjs8miOqy3yI=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MTRGVideoAdView.h</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
f5hmZZnRfEZSP1+4BlCOM3b30Kc=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
QNJ56T9zSgp4MTtTkrW7qVbOOeHi/bcRuosa80eH5G8=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Headers/MyTargetSDK.h</key>
|
||||
<dict>
|
||||
<key>hash</key>
|
||||
<data>
|
||||
BS+X0l4DG3R0elB+JjtkdY5MnuQ=
|
||||
fVAoYq1XzlVLP/4V7tl/T/W1ZL0=
|
||||
</data>
|
||||
<key>hash2</key>
|
||||
<data>
|
||||
NoB3JvNIa7hV7TEd2st2Ur0MPGk/IkKidUk9fRmW8DM=
|
||||
Jxcu/DnPf2/A4uZ4qHnHS2APvunaL2XR+tspBKeqMdE=
|
||||
</data>
|
||||
</dict>
|
||||
<key>Modules/module.modulemap</key>
|
||||
|
|
Binary file not shown.
|
@ -54,9 +54,6 @@
|
|||
340475081E08199E00C92850 /* MWMMyTarget.mm in Sources */ = {isa = PBXBuildFile; fileRef = 340474EB1E08199D00C92850 /* MWMMyTarget.mm */; };
|
||||
340475091E08199E00C92850 /* MWMMyTarget.mm in Sources */ = {isa = PBXBuildFile; fileRef = 340474EB1E08199D00C92850 /* MWMMyTarget.mm */; };
|
||||
3404750A1E08199E00C92850 /* MWMMyTarget.mm in Sources */ = {isa = PBXBuildFile; fileRef = 340474EB1E08199D00C92850 /* MWMMyTarget.mm */; };
|
||||
3404750B1E08199E00C92850 /* MyTargetSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 340474ED1E08199D00C92850 /* MyTargetSDK.framework */; };
|
||||
3404750C1E08199E00C92850 /* MyTargetSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 340474ED1E08199D00C92850 /* MyTargetSDK.framework */; };
|
||||
3404750D1E08199E00C92850 /* MyTargetSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 340474ED1E08199D00C92850 /* MyTargetSDK.framework */; };
|
||||
3404750E1E08199E00C92850 /* MyTrackerSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 340474EE1E08199D00C92850 /* MyTrackerSDK.framework */; };
|
||||
3404750F1E08199E00C92850 /* MyTrackerSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 340474EE1E08199D00C92850 /* MyTrackerSDK.framework */; };
|
||||
340475101E08199E00C92850 /* MyTrackerSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 340474EE1E08199D00C92850 /* MyTrackerSDK.framework */; };
|
||||
|
@ -951,6 +948,9 @@
|
|||
F682249E1E5B105900BC1C18 /* PPHotelDescriptionCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = F682249D1E5B105900BC1C18 /* PPHotelDescriptionCell.xib */; };
|
||||
F682249F1E5B105900BC1C18 /* PPHotelDescriptionCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = F682249D1E5B105900BC1C18 /* PPHotelDescriptionCell.xib */; };
|
||||
F68224A01E5B105900BC1C18 /* PPHotelDescriptionCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = F682249D1E5B105900BC1C18 /* PPHotelDescriptionCell.xib */; };
|
||||
F68BDF051EEA9A830009BB81 /* MyTargetSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F68BDF041EEA9A830009BB81 /* MyTargetSDK.framework */; };
|
||||
F68BDF061EEA9A830009BB81 /* MyTargetSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F68BDF041EEA9A830009BB81 /* MyTargetSDK.framework */; };
|
||||
F68BDF071EEA9A830009BB81 /* MyTargetSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F68BDF041EEA9A830009BB81 /* MyTargetSDK.framework */; };
|
||||
F68FCB851DA7BBA6007CC7D7 /* MWMTaxiPreviewDataSource.mm in Sources */ = {isa = PBXBuildFile; fileRef = F68FCB841DA7BBA6007CC7D7 /* MWMTaxiPreviewDataSource.mm */; };
|
||||
F68FCB861DA7BBA6007CC7D7 /* MWMTaxiPreviewDataSource.mm in Sources */ = {isa = PBXBuildFile; fileRef = F68FCB841DA7BBA6007CC7D7 /* MWMTaxiPreviewDataSource.mm */; };
|
||||
F68FCB8A1DA7BD20007CC7D7 /* MWMTaxiPreviewCell.mm in Sources */ = {isa = PBXBuildFile; fileRef = F68FCB881DA7BD20007CC7D7 /* MWMTaxiPreviewCell.mm */; };
|
||||
|
@ -1597,7 +1597,6 @@
|
|||
340474EA1E08199D00C92850 /* MWMMyTarget.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MWMMyTarget.h; sourceTree = "<group>"; };
|
||||
340474EB1E08199D00C92850 /* MWMMyTarget.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MWMMyTarget.mm; sourceTree = "<group>"; };
|
||||
340474EC1E08199D00C92850 /* MWMMyTargetDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MWMMyTargetDelegate.h; sourceTree = "<group>"; };
|
||||
340474ED1E08199D00C92850 /* MyTargetSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = MyTargetSDK.framework; sourceTree = "<group>"; };
|
||||
340474EE1E08199D00C92850 /* MyTrackerSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = MyTrackerSDK.framework; sourceTree = "<group>"; };
|
||||
340475151E081A4600C92850 /* AppInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppInfo.h; sourceTree = "<group>"; };
|
||||
340475161E081A4600C92850 /* AppInfo.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = AppInfo.mm; sourceTree = "<group>"; };
|
||||
|
@ -2094,6 +2093,7 @@
|
|||
F68224991E5B104600BC1C18 /* PPHotelDescriptionCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PPHotelDescriptionCell.swift; sourceTree = "<group>"; };
|
||||
F682249D1E5B105900BC1C18 /* PPHotelDescriptionCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = PPHotelDescriptionCell.xib; sourceTree = "<group>"; };
|
||||
F68224A11E5B1B1A00BC1C18 /* MWMPlacePageButtonsProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MWMPlacePageButtonsProtocol.h; sourceTree = "<group>"; };
|
||||
F68BDF041EEA9A830009BB81 /* MyTargetSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = MyTargetSDK.framework; sourceTree = "<group>"; };
|
||||
F68FCB831DA7BBA6007CC7D7 /* MWMTaxiPreviewDataSource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MWMTaxiPreviewDataSource.h; path = Views/RoutePreview/MWMTaxiPreviewDataSource.h; sourceTree = "<group>"; };
|
||||
F68FCB841DA7BBA6007CC7D7 /* MWMTaxiPreviewDataSource.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = MWMTaxiPreviewDataSource.mm; path = Views/RoutePreview/MWMTaxiPreviewDataSource.mm; sourceTree = "<group>"; };
|
||||
F68FCB871DA7BD20007CC7D7 /* MWMTaxiPreviewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MWMTaxiPreviewCell.h; sourceTree = "<group>"; };
|
||||
|
@ -2427,6 +2427,7 @@
|
|||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
F68BDF051EEA9A830009BB81 /* MyTargetSDK.framework in Frameworks */,
|
||||
341CF15E1E9E2AA9009AC928 /* libMopub.a in Frameworks */,
|
||||
344D63171E795A2D006F17CB /* SystemConfiguration.framework in Frameworks */,
|
||||
67B78B4B1E422E2E0018E590 /* CoreSpotlight.framework in Frameworks */,
|
||||
|
@ -2436,7 +2437,6 @@
|
|||
340474F91E08199D00C92850 /* FBSDKLoginKit.framework in Frameworks */,
|
||||
67B78B491E422E2E0018E590 /* iAd.framework in Frameworks */,
|
||||
34D808871E793FA3002F0584 /* Pushwoosh.framework in Frameworks */,
|
||||
3404750B1E08199E00C92850 /* MyTargetSDK.framework in Frameworks */,
|
||||
340474F61E08199D00C92850 /* FBSDKCoreKit.framework in Frameworks */,
|
||||
3488B03C1E9D14060068AFD8 /* UserNotifications.framework in Frameworks */,
|
||||
340474F01E08199D00C92850 /* Crashlytics.framework in Frameworks */,
|
||||
|
@ -2485,6 +2485,7 @@
|
|||
340475001E08199D00C92850 /* libFlurry_7.8.2.a in Frameworks */,
|
||||
6741AAC01BF356BA002C974C /* libapi.a in Frameworks */,
|
||||
6741AAC11BF356BA002C974C /* libbase.a in Frameworks */,
|
||||
F68BDF061EEA9A830009BB81 /* MyTargetSDK.framework in Frameworks */,
|
||||
6741AAC21BF356BA002C974C /* libcoding.a in Frameworks */,
|
||||
6741AAC31BF356BA002C974C /* libexpat.a in Frameworks */,
|
||||
6741AAC41BF356BA002C974C /* libfreetype.a in Frameworks */,
|
||||
|
@ -2513,7 +2514,6 @@
|
|||
340474F71E08199D00C92850 /* FBSDKCoreKit.framework in Frameworks */,
|
||||
674A7E2A1C0DA579003D48E1 /* libdrape.a in Frameworks */,
|
||||
340474FD1E08199D00C92850 /* FBSDKShareKit.framework in Frameworks */,
|
||||
3404750C1E08199E00C92850 /* MyTargetSDK.framework in Frameworks */,
|
||||
34201E091DC0DC7300D24118 /* libpartners_api.a in Frameworks */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
|
@ -2522,6 +2522,7 @@
|
|||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
F68BDF071EEA9A830009BB81 /* MyTargetSDK.framework in Frameworks */,
|
||||
341CF15F1E9E2ADC009AC928 /* libMopub.a in Frameworks */,
|
||||
67B78B511E422E300018E590 /* CoreSpotlight.framework in Frameworks */,
|
||||
67B78B531E422E300018E590 /* CoreData.framework in Frameworks */,
|
||||
|
@ -2531,7 +2532,6 @@
|
|||
67B78B4F1E422E300018E590 /* iAd.framework in Frameworks */,
|
||||
344D63191E795A3C006F17CB /* SystemConfiguration.framework in Frameworks */,
|
||||
34D808881E793FA4002F0584 /* Pushwoosh.framework in Frameworks */,
|
||||
3404750D1E08199E00C92850 /* MyTargetSDK.framework in Frameworks */,
|
||||
340474F81E08199D00C92850 /* FBSDKCoreKit.framework in Frameworks */,
|
||||
3488B03D1E9D14070068AFD8 /* UserNotifications.framework in Frameworks */,
|
||||
340474F21E08199D00C92850 /* Crashlytics.framework in Frameworks */,
|
||||
|
@ -2728,7 +2728,7 @@
|
|||
340474EA1E08199D00C92850 /* MWMMyTarget.h */,
|
||||
340474EB1E08199D00C92850 /* MWMMyTarget.mm */,
|
||||
340474EC1E08199D00C92850 /* MWMMyTargetDelegate.h */,
|
||||
340474ED1E08199D00C92850 /* MyTargetSDK.framework */,
|
||||
F68BDF041EEA9A830009BB81 /* MyTargetSDK.framework */,
|
||||
);
|
||||
path = MyTarget;
|
||||
sourceTree = "<group>";
|
||||
|
|
|
@ -161,7 +161,7 @@ final class AdBanner: UITableViewCell {
|
|||
private func configRBBanner(ad: MTRGNativeAd) {
|
||||
guard let banner = ad.banner else { return }
|
||||
|
||||
ad.loadIcon(to: adIconImageView)
|
||||
MTRGNativeAd.loadImage(banner.icon, to: adIconImageView)
|
||||
|
||||
let paragraphStyle = NSMutableParagraphStyle()
|
||||
paragraphStyle.firstLineHeadIndent = 24
|
||||
|
|
Loading…
Add table
Reference in a new issue