-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #53 from yandexmobile/release-2.18.0
Release 2.18.0
- Loading branch information
Showing
34 changed files
with
215 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
...bjectiveC/MobileMediationNativeExample/MobileMediationNativeExample/NativeAdViewFactory.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/* | ||
* Version for iOS © 2015–2020 YANDEX | ||
* | ||
* You may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at https://yandex.com/legal/mobileads_sdk_agreement/ | ||
*/ | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
@class NativeContentAdView; | ||
@class NativeAppInstallAdView; | ||
@class NativeImageAdView; | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@interface NativeAdViewFactory : NSObject | ||
|
||
- (NativeContentAdView *)contentAdView; | ||
|
||
- (NativeAppInstallAdView *)appInstallAdView; | ||
|
||
- (NativeImageAdView *)imageAdView; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
36 changes: 36 additions & 0 deletions
36
...bjectiveC/MobileMediationNativeExample/MobileMediationNativeExample/NativeAdViewFactory.m
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/* | ||
* Version for iOS © 2015–2020 YANDEX | ||
* | ||
* You may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at https://yandex.com/legal/mobileads_sdk_agreement/ | ||
*/ | ||
|
||
#import "NativeAdViewFactory.h" | ||
#import "NativeAppInstallAdView.h" | ||
#import "NativeContentAdView.h" | ||
#import "NativeImageAdView.h" | ||
|
||
@implementation NativeAdViewFactory | ||
|
||
- (NativeContentAdView *)contentAdView | ||
{ | ||
NativeContentAdView *contentAdView = [[NativeContentAdView alloc] initWithFrame:CGRectZero]; | ||
contentAdView.translatesAutoresizingMaskIntoConstraints = NO; | ||
return contentAdView; | ||
} | ||
|
||
- (NativeAppInstallAdView *)appInstallAdView | ||
{ | ||
NativeAppInstallAdView *appInstallAdView = [[NativeAppInstallAdView alloc] initWithFrame:CGRectZero]; | ||
appInstallAdView.translatesAutoresizingMaskIntoConstraints = NO; | ||
return appInstallAdView; | ||
} | ||
|
||
- (NativeImageAdView *)imageAdView | ||
{ | ||
NativeImageAdView *imageAdView = [[NativeImageAdView alloc] initWithFrame:CGRectZero]; | ||
imageAdView.translatesAutoresizingMaskIntoConstraints = NO; | ||
return imageAdView; | ||
} | ||
|
||
@end |
Oops, something went wrong.