Skip to content
This repository was archived by the owner on Mar 29, 2024. It is now read-only.

Commit f400f54

Browse files
8.0.0
1 parent 73bab33 commit f400f54

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+2561
-140
lines changed

NendAd.embeddedframework/NendAd.framework/Headers/NADNativeLogger.h

-23
This file was deleted.

NendAd.embeddedframework/NendAd.framework/Headers/NADNativeVideoLoader.h

-32
This file was deleted.

NendAd.embeddedframework/NendAd.framework/Headers/NADUserFeature.h

-29
This file was deleted.

NendAd.embeddedframework/Resources

-1
This file was deleted.
+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>AvailableLibraries</key>
6+
<array>
7+
<dict>
8+
<key>LibraryIdentifier</key>
9+
<string>ios-arm64_i386_x86_64-simulator</string>
10+
<key>LibraryPath</key>
11+
<string>NendAd.framework</string>
12+
<key>SupportedArchitectures</key>
13+
<array>
14+
<string>arm64</string>
15+
<string>i386</string>
16+
<string>x86_64</string>
17+
</array>
18+
<key>SupportedPlatform</key>
19+
<string>ios</string>
20+
<key>SupportedPlatformVariant</key>
21+
<string>simulator</string>
22+
</dict>
23+
<dict>
24+
<key>LibraryIdentifier</key>
25+
<string>ios-arm64_armv7</string>
26+
<key>LibraryPath</key>
27+
<string>NendAd.framework</string>
28+
<key>SupportedArchitectures</key>
29+
<array>
30+
<string>arm64</string>
31+
<string>armv7</string>
32+
</array>
33+
<key>SupportedPlatform</key>
34+
<string>ios</string>
35+
</dict>
36+
</array>
37+
<key>CFBundlePackageType</key>
38+
<string>XFWK</string>
39+
<key>XCFrameworkFormatVersion</key>
40+
<string>1.0</string>
41+
</dict>
42+
</plist>

NendAd.embeddedframework/NendAd.framework/Headers/NADFullBoardLoader.h nendSDK_iOS/NendAd.xcframework/ios-arm64_armv7/NendAd.framework/Headers/NADFullBoardLoader.h

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ typedef void(^NADFullBoardLoaderCompletionHandler)(NADFullBoard *ad, NADFullBoar
2020

2121
@interface NADFullBoardLoader : NSObject
2222

23-
- (instancetype)initWithSpotId:(NSString *)spotId apiKey:(NSString *)apiKey __deprecated_msg("This method is deprecated. Use newer one that specified spotID parameter as NSInteger.");
2423
- (instancetype)initWithSpotID:(NSInteger)spotID apiKey:(NSString *)apiKey;
2524
- (void)loadAdWithCompletionHandler:(NADFullBoardLoaderCompletionHandler)handler;
2625

NendAd.embeddedframework/NendAd.framework/Headers/NADInterstitial.h nendSDK_iOS/NendAd.xcframework/ios-arm64_armv7/NendAd.framework/Headers/NADInterstitial.h

-18
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,6 @@ Notify the event of the ad click.
6767

6868
@end
6969

70-
__deprecated_msg("This protocol is deprecated. Use NADInterstitialClickDelegate and NADInterstitialLoadingDelegate instead.")
71-
@protocol NADInterstitialDelegate <NADInterstitialClickDelegate, NADInterstitialLoadingDelegate>
72-
73-
@optional
74-
- (void)didFinishLoadInterstitialAdWithStatus:(NADInterstitialStatusCode)status spotId:(NSString *)spotId;
75-
- (void)didClickWithType:(NADInterstitialClickType)type spotId:(NSString *)spotId;
76-
77-
@end
78-
7970
/**
8071
The management class of Interstitial-AD.
8172
*/
@@ -84,15 +75,9 @@ __deprecated_msg("This protocol is deprecated. Use NADInterstitialClickDelegate
8475
/**
8576
Set the delegate object.
8677
*/
87-
@property (nonatomic, weak, readwrite) id<NADInterstitialDelegate> delegate;
8878
@property (nonatomic, weak, readwrite) id<NADInterstitialLoadingDelegate> loadingDelegate;
8979
@property (nonatomic, weak, readwrite) id<NADInterstitialClickDelegate> clickDelegate;
9080

91-
/**
92-
Log setting.
93-
*/
94-
@property (nonatomic) BOOL isOutputLog __deprecated_msg("This method is deprecated. Use setLogLevel: method of NADLogger instead.");
95-
9681
/**
9782
Reload the interstitial ad when close.
9883
Defaults to YES
@@ -123,7 +108,6 @@ __deprecated_msg("This protocol is deprecated. Use NADInterstitialClickDelegate
123108
124109
`- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions`
125110
*/
126-
- (void)loadAdWithApiKey:(NSString *)apiKey spotId:(NSString *)spotId __deprecated_msg("This method is deprecated. Use newer one that specified spotID parameter as NSInteger.");
127111
- (void)loadAdWithSpotID:(NSInteger)spotID apiKey:(NSString *)apiKey;
128112

129113
///----------------------------
@@ -136,8 +120,6 @@ __deprecated_msg("This protocol is deprecated. Use NADInterstitialClickDelegate
136120
@return NADInterstitialShowResult
137121
*/
138122
- (NADInterstitialShowResult)showAdFromViewController:(UIViewController *)viewController;
139-
140-
- (NADInterstitialShowResult)showAdFromViewController:(UIViewController *)viewController spotId:(NSString *)spotId __deprecated_msg("This method is deprecated. Use newer one that specified spotID parameter as NSInteger.");
141123
- (NADInterstitialShowResult)showAdFromViewController:(UIViewController *)viewController spotID:(NSInteger)spotID;
142124

143125
/**

NendAd.embeddedframework/NendAd.framework/Headers/NADInterstitialVideo.h nendSDK_iOS/NendAd.xcframework/ios-arm64_armv7/NendAd.framework/Headers/NADInterstitialVideo.h

-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
@property (nonatomic) NSInteger fadeOutSkipButtonSecond;
3737
#endif//TRIAL_NEW_FEATURES
3838

39-
- (void)addFallbackFullboardWithSpotId:(NSString *)spotId apiKey:(NSString *)apiKey __deprecated_msg("This method is deprecated. Use newer one that specified spotID parameter as NSInteger.");
4039
- (void)addFallbackFullboardWithSpotID:(NSInteger)spotID apiKey:(NSString *)apiKey;
4140

4241
@end

NendAd.embeddedframework/NendAd.framework/Headers/NADNativeClient.h nendSDK_iOS/NendAd.xcframework/ios-arm64_armv7/NendAd.framework/Headers/NADNativeClient.h

-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
#import "NADNative.h"
1111
#import "NADNativeError.h"
12-
#import "NADNativeLogger.h"
1312

1413
typedef void (^NADNativeCompletionBlock)(NADNative *ad, NSError *error);
1514

@@ -20,7 +19,6 @@ typedef void (^NADNativeCompletionBlock)(NADNative *ad, NSError *error);
2019
*
2120
* @return A NADNativeClient object.
2221
*/
23-
- (instancetype)initWithSpotId:(NSString *)spotId apiKey:(NSString *)apiKey __deprecated_msg("This method is deprecated. Use newer one that specified spotID parameter as NSInteger.");
2422
- (instancetype)initWithSpotID:(NSInteger)spotID apiKey:(NSString *)apiKey;
2523

2624
/**

NendAd.embeddedframework/NendAd.framework/Headers/NADNativeTableViewHelper.h nendSDK_iOS/NendAd.xcframework/ios-arm64_armv7/NendAd.framework/Headers/NADNativeTableViewHelper.h

-20
Original file line numberDiff line numberDiff line change
@@ -24,26 +24,13 @@
2424

2525
@interface NADNativeTableViewHelper : NSObject
2626

27-
+ (instancetype)helperWithTableView:(UITableView *)tableView
28-
spotId:(NSString *)spotId
29-
apiKey:(NSString *)apiKey
30-
advertisingExplicitly:(NADNativeAdvertisingExplicitly)advertisingExplicitly
31-
adPlacement:(NADNativeTableViewPlacement *)adPlacement
32-
delegate:(id<NADNativeTableViewHelperDelegate>)delegate __deprecated_msg("This method is deprecated. Use newer one that specified spotID parameter as NSInteger.");
3327
+ (instancetype)helperWithTableView:(UITableView *)tableView
3428
spotID:(NSInteger)spotID
3529
apiKey:(NSString *)apiKey
3630
advertisingExplicitly:(NADNativeAdvertisingExplicitly)advertisingExplicitly
3731
adPlacement:(NADNativeTableViewPlacement *)adPlacement
3832
delegate:(id<NADNativeTableViewHelperDelegate>)delegate;
3933

40-
+ (instancetype)helperWithTableView:(UITableView *)tableView
41-
spotId:(NSString *)spotId
42-
apiKey:(NSString *)apiKey
43-
advertisingExplicitly:(NADNativeAdvertisingExplicitly)advertisingExplicitly
44-
adPlacement:(NADNativeTableViewPlacement *)adPlacement
45-
delegate:(id<NADNativeTableViewHelperDelegate>)delegate
46-
placeholderCellClass:(Class)placeholderCellClass __deprecated_msg("This method is deprecated. Use newer one that specified spotID parameter as NSInteger.");
4734
+ (instancetype)helperWithTableView:(UITableView *)tableView
4835
spotID:(NSInteger)spotID
4936
apiKey:(NSString *)apiKey
@@ -52,13 +39,6 @@
5239
delegate:(id<NADNativeTableViewHelperDelegate>)delegate
5340
placeholderCellClass:(Class)placeholderCellClass;
5441

55-
+ (instancetype)helperWithTableView:(UITableView *)tableView
56-
spotId:(NSString *)spotId
57-
apiKey:(NSString *)apiKey
58-
advertisingExplicitly:(NADNativeAdvertisingExplicitly)advertisingExplicitly
59-
adPlacement:(NADNativeTableViewPlacement *)adPlacement
60-
delegate:(id<NADNativeTableViewHelperDelegate>)delegate
61-
placeholderCellNibName:(NSString *)placeholderCellNibName __deprecated_msg("This method is deprecated. Use newer one that specified spotID parameter as NSInteger.");
6242
+ (instancetype)helperWithTableView:(UITableView *)tableView
6343
spotID:(NSInteger)spotID
6444
apiKey:(NSString *)apiKey
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
//
2+
// NADNativeVideoLoader.h
3+
// NendAdFramework
4+
//
5+
// Copyright © 2018年 FAN Communications, Inc. All rights reserved.
6+
//
7+
8+
#import <Foundation/Foundation.h>
9+
10+
#import "NADNativeVideo.h"
11+
12+
NS_ASSUME_NONNULL_BEGIN
13+
@interface NADNativeVideoLoader : NSObject
14+
15+
@property (readwrite, nonatomic, copy, nullable) NSString *mediationName;
16+
17+
- (instancetype _Null_unspecified)init NS_UNAVAILABLE;
18+
- (instancetype)initWithSpotID:(NSInteger)spotID apiKey:(NSString *)apiKey;
19+
- (instancetype)initWithSpotID:(NSInteger)spotID apiKey:(NSString *)apiKey clickAction:(NADNativeVideoClickAction)action;
20+
21+
- (void)setFillerStaticNativeAdID:(NSInteger)spotID apiKey:(NSString *)apiKey;
22+
- (void)loadAdWithCompletionHandler:(void(^)(NADNativeVideo * _Nullable, NSError * _Nullable))handler;
23+
24+
@end
25+
NS_ASSUME_NONNULL_END

NendAd.embeddedframework/NendAd.framework/Headers/NADVideo.h nendSDK_iOS/NendAd.xcframework/ios-arm64_armv7/NendAd.framework/Headers/NADVideo.h

-6
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
#import <UIKit/UIKit.h>
77

8-
#import "NADUserFeature.h"
98
#import "NADLogger.h"
109

1110
NS_ASSUME_NONNULL_BEGIN
@@ -24,15 +23,10 @@ typedef NS_ENUM(NSInteger, NADVideoAdType) {
2423
@interface NADVideo : NSObject
2524

2625
@property (nonatomic, copy, nullable) NSString *mediationName;
27-
@property (nonatomic, copy, nullable) NSString *userId __deprecated_msg("This property is no longer available.");
28-
@property (nonatomic) NADUserFeature *userFeature __deprecated_msg("This property is no longer available.");
2926

3027
@property (nonatomic, readonly, getter=isReady) BOOL ready;
31-
@property (nonatomic) BOOL isLocationEnabled __deprecated_msg("This property is no longer available.");
32-
@property (nonatomic) BOOL isOutputLog __deprecated_msg("This method is deprecated. Use setLogLevel: method of NADLogger instead.");
3328
@property (nonatomic, readonly) NADVideoAdType adType;
3429

35-
- (instancetype)initWithSpotId:(NSString *)spotId apiKey:(NSString *)apiKey __deprecated_msg("This method is deprecated. Use newer one that specified spotID parameter as NSInteger.");
3630
- (instancetype)initWithSpotID:(NSInteger)spotID apiKey:(NSString *)apiKey NS_DESIGNATED_INITIALIZER;
3731
- (void)loadAd;
3832
- (void)showAdFromViewController:(UIViewController *)viewController;

NendAd.embeddedframework/NendAd.framework/Headers/NADView.h nendSDK_iOS/NendAd.xcframework/ios-arm64_armv7/NendAd.framework/Headers/NADView.h

+1-5
Original file line numberDiff line numberDiff line change
@@ -55,25 +55,21 @@ typedef NS_ENUM(NSInteger, NADViewErrorCode) {
5555
#pragma mark - delegateオブジェクトの指定
5656
@property (nonatomic, weak) id<NADViewDelegate> delegate;
5757

58-
#pragma mark - Log出力設定
59-
@property (nonatomic) BOOL isOutputLog __deprecated_msg("This method is deprecated. Use setLogLevel: method of NADLogger instead.");
60-
6158
#pragma mark - エラー内容出力
6259
@property (nonatomic) NSError *error;
6360

6461
#pragma apiKey
6562
@property (nonatomic, copy) NSString *nendApiKey;
6663

6764
#pragma 広告枠ID
68-
@property (nonatomic, copy) NSString *nendSpotID __deprecated_msg("This method is deprecated. Use newer one that specified spotID parameter as NSInteger.");
65+
@property (nonatomic, copy) NSNumber *nendSpotID;
6966
@property (nonatomic) NSInteger nendSpotId;
7067

7168
#pragma mark - 広告初期化と画面幅サイズ調整有無の指定
7269
- (instancetype)initWithIsAdjustAdSize:(BOOL)isAdjust;
7370
- (instancetype)initWithFrame:(CGRect)frame isAdjustAdSize:(BOOL)isAdjust;
7471

7572
#pragma mark - 広告枠のapiKeyとspotIDをセット
76-
- (void)setNendID:(NSString *)apiKey spotID:(NSString *)spotID __deprecated_msg("This method is deprecated. Use newer one that specified spotID parameter as NSInteger.");
7773
- (void)setNendID:(NSInteger)spotID apiKey:(NSString *)apiKey;
7874

7975
#pragma mark - 広告のロード開始

NendAd.embeddedframework/NendAd.framework/Headers/NendAd.h nendSDK_iOS/NendAd.xcframework/ios-arm64_armv7/NendAd.framework/Headers/NendAd.h

-2
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,12 @@ FOUNDATION_EXPORT const unsigned char NendAdVersionString[];
2020
#import <NendAd/NADInterstitial.h>
2121
#import <NendAd/NADNative.h>
2222
#import <NendAd/NADNativeTableViewHelper.h>
23-
#import <NendAd/NADNativeLogger.h>
2423
#import <NendAd/NADFullBoardLoader.h>
2524
#import <NendAd/NADVideo.h>
2625
#import <NendAd/NADRewardedVideo.h>
2726
#import <NendAd/NADInterstitialVideo.h>
2827
#import <NendAd/NADReward.h>
2928
#import <NendAd/NADVideoError.h>
30-
#import <NendAd/NADUserFeature.h>
3129
#import <NendAd/NADLogger.h>
3230
#import <NendAd/NADNativeVideo.h>
3331
#import <NendAd/NADNativeVideoLoader.h>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
This code is distributed under the terms and conditions of the MIT license.
2+
3+
Copyright (c) 2014-2015 Tyler Fox
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6+
7+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8+
9+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
//
2+
// NADFullBoard.h
3+
// NendAd
4+
//
5+
// Copyright © 2016年 FAN Communications, Inc. All rights reserved.
6+
//
7+
8+
#import <Foundation/Foundation.h>
9+
#import <UIKit/UIKit.h>
10+
11+
#import "NADFullBoardView.h"
12+
13+
@class NADFullBoard;
14+
15+
@protocol NADFullBoardDelegate <NADFullBoardViewDelegate>
16+
17+
@optional
18+
19+
- (void)NADFullBoardDidShowAd:(NADFullBoard *)ad;
20+
- (void)NADFullBoardDidDismissAd:(NADFullBoard *)ad;
21+
22+
@end
23+
24+
@interface NADFullBoard : NSObject
25+
26+
@property (nonatomic, weak) id<NADFullBoardDelegate> delegate;
27+
@property (nonatomic, copy) UIColor *backgroundColor;
28+
29+
- (void)showFromViewController:(UIViewController *)viewController;
30+
- (UIViewController<NADFullBoardView> *)fullBoardAdViewController;
31+
32+
@end

0 commit comments

Comments
 (0)