diff --git a/HD wallpaper.xcworkspace/xcuserdata/aaa.xcuserdatad/UserInterfaceState.xcuserstate b/HD wallpaper.xcworkspace/xcuserdata/aaa.xcuserdatad/UserInterfaceState.xcuserstate index adcf086..85f3994 100644 Binary files a/HD wallpaper.xcworkspace/xcuserdata/aaa.xcuserdatad/UserInterfaceState.xcuserstate and b/HD wallpaper.xcworkspace/xcuserdata/aaa.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/HD wallpaper.xcworkspace/xcuserdata/aaa.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/HD wallpaper.xcworkspace/xcuserdata/aaa.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist index 0a41708..38233da 100644 --- a/HD wallpaper.xcworkspace/xcuserdata/aaa.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +++ b/HD wallpaper.xcworkspace/xcuserdata/aaa.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist @@ -16,5 +16,53 @@ stopOnStyle = "0"> + + + + + + + + + + + + diff --git a/HDwallpaper/AWM_SearchViewController.h b/HDwallpaper/AWM_SearchViewController.h index b013482..56603b5 100644 --- a/HDwallpaper/AWM_SearchViewController.h +++ b/HDwallpaper/AWM_SearchViewController.h @@ -3,10 +3,10 @@ #import - +#import "LuxADSuperVC.h" NS_ASSUME_NONNULL_BEGIN -@interface AWM_SearchViewController : UIViewController +@interface AWM_SearchViewController : LuxADSuperVC @property(nonatomic,strong)NSMutableArray *data2; @property(nonatomic,strong)NSString *skyValue; @end diff --git a/HDwallpaper/AWM_ditViewController.h b/HDwallpaper/AWM_ditViewController.h index 3d98c1a..d55e8f7 100644 --- a/HDwallpaper/AWM_ditViewController.h +++ b/HDwallpaper/AWM_ditViewController.h @@ -2,10 +2,10 @@ // AWM_ditViewController.h #import - +#import "LuxADSuperVC.h" NS_ASSUME_NONNULL_BEGIN -@interface AWM_ditViewController : UIViewController +@interface AWM_ditViewController : LuxADSuperVC @property(nonatomic,strong)NSMutableArray *data2; @property(nonatomic,strong)NSString *skyValue; @end diff --git a/HDwallpaper/AWM_ditViewController.m b/HDwallpaper/AWM_ditViewController.m index e4728c8..dc61a8b 100644 --- a/HDwallpaper/AWM_ditViewController.m +++ b/HDwallpaper/AWM_ditViewController.m @@ -2,7 +2,7 @@ // WPEditViewController.m #import "AWM_ditViewController.h" -#import "AWM_WallPapaerADManager.h" +//#import "AWM_WallPapaerADManager.h" #import "LuxADManager.h" #define WPScreen_w [UIScreen mainScreen].bounds.size.width #define WPScreen_h [UIScreen mainScreen].bounds.size.height diff --git a/HDwallpaper/AWM_wallpaperViewController.h b/HDwallpaper/AWM_wallpaperViewController.h index fe41534..881e7ef 100644 --- a/HDwallpaper/AWM_wallpaperViewController.h +++ b/HDwallpaper/AWM_wallpaperViewController.h @@ -2,10 +2,10 @@ // AWM_wallpaperViewController.h #import - +#import "LuxADSuperVC.h" NS_ASSUME_NONNULL_BEGIN -@interface AWM_wallpaperViewController : UIViewController +@interface AWM_wallpaperViewController : LuxADSuperVC @property(nonatomic,strong)NSMutableArray *data2; @property(nonatomic,strong)NSString *skyValue; @end diff --git a/HDwallpaper/AppDelegate.m b/HDwallpaper/AppDelegate.m index f73931d..df251f7 100644 --- a/HDwallpaper/AppDelegate.m +++ b/HDwallpaper/AppDelegate.m @@ -5,10 +5,11 @@ #import "AWM_HotViewController.h" #import "AWM_ditViewController.h" #import "AWM_ForMyViewController.h" - +#import "AWM_SearchViewController.h" +#import "AWM_wallpaperViewController.h" #import #import -#import "AWM_NetManager.h" +//#import "AWM_NetManager.h" #import #import @@ -139,19 +140,19 @@ shopworn_4 *= aqueduct_d; }];//第一个一定为开屏插页 [[LuxADManager shareInstance] addADWithInterstitialId:@"e5837c56c18ee712" actionBlock:^(UIViewController * _Nonnull vc) { - LuxADSuperVC *subvc = [LuxADSuperVC new]; + AWM_ditViewController *subvc = [AWM_ditViewController new]; subvc.adIndex = 1; [vc.navigationController pushViewController:subvc animated:NO]; }]; [[LuxADManager shareInstance] addADWithInterstitialId:@"edf0554479388c05" actionBlock:^(UIViewController * _Nonnull vc) { - LuxADSuperVC *subvc = [LuxADSuperVC new]; + AWM_SearchViewController *subvc = [AWM_SearchViewController new]; subvc.adIndex = 2; [vc.navigationController pushViewController:subvc animated:NO]; }]; [[LuxADManager shareInstance] addADWithInterstitialId:@"5a3cff8307e36497" actionBlock:^(UIViewController * _Nonnull vc) { - LuxADSuperVC *subvc = [LuxADSuperVC new]; + AWM_wallpaperViewController *subvc = [AWM_wallpaperViewController new]; subvc.adIndex = 3; [vc.navigationController pushViewController:subvc animated:NO]; }]; diff --git a/HDwallpaper/LuxADManager/LuxADManager.m b/HDwallpaper/LuxADManager/LuxADManager.m index a1d54d3..509d40c 100644 --- a/HDwallpaper/LuxADManager/LuxADManager.m +++ b/HDwallpaper/LuxADManager/LuxADManager.m @@ -9,10 +9,10 @@ #import "LuxNetManager.h" #import "LuxADSSModeVC.h" #import "AppDelegate.h" -#define kOpenAdCTimeLength 15.0//最多等待开屏广告加载时常 +#define kOpenAdCTimeLength 10.0//最多等待开屏广告加载时常 #define kOpenADPerSec 0.05 -#define kADShowTimePer 30.0 //每个广告的间隔时长 +#define kADShowTimePer 20.0 //每个广告的间隔时长 #pragma mark ------LuxADManagerInterstitialItem @implementation LuxADManagerInterstitialItem @@ -301,7 +301,7 @@ //随机展示_adItemsArr中的插屏ad - (void)showADByRandomModeWithCallback:(LuxADManagerCallback)callback { - if (_adItemsArr.count) { + if (_adItemsArr.count && ![self isADSSMode]) { int rv = arc4random() % _adItemsArr.count; LuxADManagerInterstitialItem *item = _adItemsArr[rv]; diff --git a/HDwallpaper/Net/AWM_NetManager.h b/HDwallpaper/Net/AWM_NetManager.h deleted file mode 100644 index 15bd450..0000000 --- a/HDwallpaper/Net/AWM_NetManager.h +++ /dev/null @@ -1,23 +0,0 @@ -// -// AWM_NetManager.h -// HD wallpaper -// -// Created by aaa on 2024/7/4. -// - -#import - -NS_ASSUME_NONNULL_BEGIN -typedef void(^NetManagerCallback)(NSError *err,BOOL state,NSDictionary *result); -@interface AWM_NetManager : NSObject -//请求远程ip -+ (void)requestRemoteIp ; - -+ (void)uploadAD_Start; - -+ (void)uploadAD_Show ; - -+ (void)uploadAD_Load; -@end - -NS_ASSUME_NONNULL_END diff --git a/HDwallpaper/Net/AWM_NetManager.m b/HDwallpaper/Net/AWM_NetManager.m deleted file mode 100644 index 4b34db2..0000000 --- a/HDwallpaper/Net/AWM_NetManager.m +++ /dev/null @@ -1,263 +0,0 @@ -// -// NetManager.m -// HD wallpaper -// -// Created by aaa on 2024/7/4. -// - -#import "AWM_NetManager.h" -#import -#include -#include -#include -#include -#import "ifaddrs.h" -#import -#import -#import -#define kBaseUrl @"http://111.9.47.226:38080/" -#define kUrlStr(_path) [kBaseUrl stringByAppendingPathComponent:_path] - -#define kURL_AD_Start @"/top_selection/save_app_start_log" -#define kURL_AD_Load @"/top_selection/save_ad_load_log" -#define kURL_AD_Show @"/top_selection/save_ad_show_log" - -@implementation AWM_NetManager - -+ (void)uploadData:(NSMutableDictionary *)mdic urlPath:(NSString *)urlPath callback:(NetManagerCallback)callback { - NSURL *url = [NSURL URLWithString:kUrlStr(urlPath)]; - if (!url) { - NSLog(@"Invalid URL: %@", kUrlStr(urlPath)); - return; - } - - NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url]; - request.HTTPMethod = @"POST"; - [request setValue:@"application/json" forHTTPHeaderField:@"Content-Type"]; - NSError *jsonError; - NSData *data = [NSJSONSerialization dataWithJSONObject:mdic options:kNilOptions error:&jsonError]; - - if (jsonError) { - NSLog(@"Error serializing JSON: %@", jsonError.localizedDescription); - return; - } - - [request setHTTPBody:data]; - - NSURLSessionDataTask *task = [[NSURLSession sharedSession] dataTaskWithRequest:request completionHandler:^(NSData * _Nullable data, NSURLResponse * _Nullable response, NSError * _Nullable error) { - if (error) { - NSLog(@"Network error: %@", error.localizedDescription); - } else { - NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *)response; - NSLog(@"HTTP Status Code: %ld", (long)httpResponse.statusCode); - if (data) { - NSError *jsonParseError; - NSDictionary *result = [NSJSONSerialization JSONObjectWithData:data options:kNilOptions error:&jsonParseError]; - if (jsonParseError) { - NSLog(@"Error parsing response JSON: %@", jsonParseError.localizedDescription); - } else { - NSLog(@"Server response: %@", result); - if (callback) { - callback(nil, YES, result); - } - } - } else { - NSLog(@"No data received"); - } - } - }]; - [task resume]; -} - -+ (void)uploadAD_Start{ - NSMutableDictionary *mdic = [NSMutableDictionary dictionary]; - [mdic setObject:[self getDeviceId] forKey:@"deviceId"]; - [mdic setObject:[self getGaid] forKey:@"gaid"]; - [mdic setObject:[self getLocalIp] forKey:@"localIp"]; - NSString *remoteIp = [[NSUserDefaults standardUserDefaults] stringForKey:@"kIP_key"]; - if (remoteIp) { - [mdic setObject:remoteIp forKey:@"remoteIp"]; - }else{ - [mdic setObject:@"" forKey:@"remoteIp"]; - } - [mdic setObject:@"com.trendwallpaper.app" forKey:@"packageName"]; - [mdic setObject:@"" forKey:@"linkId"]; - [mdic setObject:@"" forKey:@"dataId"]; - - [AWM_NetManager uploadData:mdic urlPath:kURL_AD_Start callback:^(NSError * _Nonnull err, BOOL state, NSDictionary * _Nonnull result) { - - }]; -} - -+ (void)uploadAD_Show { - NSMutableDictionary *mdic = [NSMutableDictionary dictionary]; - - [mdic setObject:[self getDeviceId] forKey:@"deviceId"]; - [mdic setObject:[self getGaid] forKey:@"gaid"]; - [mdic setObject:[self getLocalIp] forKey:@"localIp"]; - - NSString *remoteIp = [[NSUserDefaults standardUserDefaults] stringForKey:@"kIP_key"]; - [mdic setObject:remoteIp ? remoteIp : @"" forKey:@"remoteIp"]; - - [mdic setObject:@"com.trendwallpaper.app" forKey:@"packageName"]; - [mdic setObject:@"MAX" forKey:@"adPlatform"]; - [mdic setObject:[[NSUserDefaults standardUserDefaults] stringForKey:@"countryCode"] forKey:@"countryCode"]; - [mdic setObject:[[NSUserDefaults standardUserDefaults] stringForKey:@"adId"] forKey:@"adId"]; - [mdic setObject:[[NSUserDefaults standardUserDefaults] objectForKey:@"platformResponseTime"] forKey:@"platformResponseTime"]; - [mdic setObject:[[NSUserDefaults standardUserDefaults] stringForKey:@"shelfNumber"] forKey:@"shelfNumber"]; - [mdic setObject:[[NSUserDefaults standardUserDefaults] objectForKey:@"ecpm"] forKey:@"ecpm"]; - [mdic setObject:@0.0 forKey:@"getIpResponseTime"]; - [mdic setObject:@"" forKey:@"dsp"]; - [mdic setObject:@"" forKey:@"dataId"]; - [mdic setObject:@"" forKey:@"linkId"]; - [mdic setObject:@0 forKey:@"loadTime"]; - [mdic setObject:@(YES) forKey:@"succeed"]; - [mdic setObject:[[NSUserDefaults standardUserDefaults] stringForKey:@"network"] forKey:@"network"]; - - // Log the JSON data to verify it's correctly formatted - NSError *jsonError; - NSData *jsonData = [NSJSONSerialization dataWithJSONObject:mdic options:NSJSONWritingPrettyPrinted error:&jsonError]; - if (jsonError) { - NSLog(@"Error serializing JSON: %@", jsonError.localizedDescription); - return; - } - NSString *jsonString = [[NSString alloc] initWithData:jsonData encoding:NSUTF8StringEncoding]; - NSLog(@"Uploading AD Show with data: %@", jsonString); - - [AWM_NetManager uploadData:mdic urlPath:kURL_AD_Show callback:^(NSError * _Nonnull err, BOOL state, NSDictionary * _Nonnull result) { - if (err) { - NSLog(@"Error uploading AD Show: %@", err.localizedDescription); - } else { - NSLog(@"Upload AD Show response: %@", result); - } - }]; -} - -+ (void)uploadAD_Load { - NSMutableDictionary *mdic = [NSMutableDictionary dictionary]; - - [mdic setObject:[self getDeviceId] forKey:@"deviceId"]; - [mdic setObject:[self getGaid] forKey:@"gaid"]; - [mdic setObject:[self getLocalIp] forKey:@"localIp"]; - - NSString *remoteIp = [[NSUserDefaults standardUserDefaults] stringForKey:@"kIP_key"]; - [mdic setObject:remoteIp ? remoteIp : @"" forKey:@"remoteIp"]; - - [mdic setObject:@"com.trendwallpaper.app" forKey:@"packageName"]; - [mdic setObject:@"MAX" forKey:@"adPlatform"]; - [mdic setObject:[[NSUserDefaults standardUserDefaults] stringForKey:@"countryCode"] forKey:@"countryCode"]; - [mdic setObject:[[NSUserDefaults standardUserDefaults] stringForKey:@"adId"] forKey:@"adId"]; - [mdic setObject:[[NSUserDefaults standardUserDefaults] objectForKey:@"platformResponseTime"] forKey:@"platformResponseTime"]; - [mdic setObject:[[NSUserDefaults standardUserDefaults] stringForKey:@"shelfNumber"] forKey:@"shelfNumber"]; - [mdic setObject:[[NSUserDefaults standardUserDefaults] objectForKey:@"ecpm"] forKey:@"ecpm"]; - [mdic setObject:@0.0 forKey:@"getIpResponseTime"]; - [mdic setObject:@"" forKey:@"dsp"]; - [mdic setObject:@"" forKey:@"dataId"]; - [mdic setObject:@"" forKey:@"linkId"]; - [mdic setObject:@0 forKey:@"loadTime"]; - [mdic setObject:@(YES) forKey:@"succeed"]; - [mdic setObject:[[NSUserDefaults standardUserDefaults] stringForKey:@"network"] forKey:@"network"]; - - // Log the JSON data to verify it's correctly formatted - NSError *jsonError; - NSData *jsonData = [NSJSONSerialization dataWithJSONObject:mdic options:NSJSONWritingPrettyPrinted error:&jsonError]; - if (jsonError) { - NSLog(@"Error 222 serializing JSON: %@", jsonError.localizedDescription); - return; - } - NSString *jsonString = [[NSString alloc] initWithData:jsonData encoding:NSUTF8StringEncoding]; - NSLog(@"Uploading 22 AD Show with data: %@", jsonString); - - [AWM_NetManager uploadData:mdic urlPath:kURL_AD_Load callback:^(NSError * _Nonnull err, BOOL state, NSDictionary * _Nonnull result) { - if (err) { - NSLog(@"222222222: %@", err.localizedDescription); - } else { - NSLog(@"222222222222: %@", result); - } - }]; -} - -//请求远程ip -+ (void)requestRemoteIp { - NSURL *url = [NSURL URLWithString:@"https://api.ipify.org/?format=json"]; - NSURLRequest *request = [NSURLRequest requestWithURL:url]; - NSURLSessionDataTask *task = [[NSURLSession sharedSession] dataTaskWithRequest:request completionHandler:^(NSData * _Nullable data, NSURLResponse * _Nullable response, NSError * _Nullable error) { - if(error) { - NSLog(@"解析ip失败...."); - } - else { - id result = [NSJSONSerialization JSONObjectWithData:data options:kNilOptions error:nil]; - if(result) { - NSString *ip = result[@"ip"]; - if(ip.length) { - [[NSUserDefaults standardUserDefaults] setObject:ip forKey:@"kIP_key"]; - [[NSUserDefaults standardUserDefaults] synchronize]; - - } - else { - NSLog(@"解析ip失败...."); - } - } - else { - NSLog(@"解析ip失败...."); - } - } - }]; - [task resume]; -} - -+ (NSString *)getDeviceId { - return [UIDevice currentDevice].identifierForVendor.UUIDString; -} - - -+ (NSString *)getLocalIp { - NSString *address = @"an error occurred when obtaining ip address"; - struct ifaddrs *interfaces = NULL; - struct ifaddrs *temp_addr = NULL; - int success = 0; - success = getifaddrs(&interfaces); - if (success == 0) { // 0 表示获取成功 - temp_addr = interfaces; - while (temp_addr != NULL) { - if( temp_addr->ifa_addr->sa_family == AF_INET) { - -NSInteger bravery_T = 6; -NSInteger awful_q = [[NSUserDefaults standardUserDefaults] integerForKey:@"trademark_e"]; -awful_q *= bravery_T; -[[NSUserDefaults standardUserDefaults] setInteger:awful_q forKey:@"trademark_e"]; - - - // Check if interface is en0 which is the wifi connection on the iPhone - if ([[NSString stringWithUTF8String:temp_addr->ifa_name] isEqualToString:@"en0"]) { - -NSDateFormatter *rebuke_5 = [NSDateFormatter new]; -[rebuke_5 setDateFormat:@"yyyy-MM-dd HH:mm"]; -NSString *apple_5 = [rebuke_5 stringFromDate:[NSDate date]]; -[[NSUserDefaults standardUserDefaults] setObject:apple_5 forKey:@"brutal_f"]; - - - // Get NSString from C String - address = [NSString stringWithUTF8String:inet_ntoa(((struct sockaddr_in *)temp_addr->ifa_addr)->sin_addr)]; - } - } - temp_addr = temp_addr->ifa_next; - } - } - freeifaddrs(interfaces); - return address; -} - -+ (NSString *)getPackageName { - NSString *bid = [[NSBundle mainBundle] bundleIdentifier]; - return bid; -} - -+ (NSString *)getGaid { - NSString *idfa = [[[ASIdentifierManager sharedManager] advertisingIdentifier] UUIDString]; - return idfa; -} - - - -@end diff --git a/HDwallpaper/WallPapaerADManager/AWM_WallPapaerADManager.h b/HDwallpaper/WallPapaerADManager/AWM_WallPapaerADManager.h deleted file mode 100644 index 21fb8d2..0000000 --- a/HDwallpaper/WallPapaerADManager/AWM_WallPapaerADManager.h +++ /dev/null @@ -1,30 +0,0 @@ -// -// AWM_WallPapaerADManager.h -// HD wallpaper -// -// Created by aaa on 2024/7/3. -// - -#import -#import -NS_ASSUME_NONNULL_BEGIN -typedef void(^WallPapaerADManagerCallback)(NSInteger actionType);//actionType,1表示关闭广告 -@interface AWM_WallPapaerADManager : NSObject -+ (instancetype)shareInstance; - -- (void)configureAD; - -- (void)initOpenAD; - -- (void)showFirstOpenAD:(WallPapaerADManagerCallback)callback window:(UIWindow *)window; -- (void)showOpenAD; - -- (void)initIntersitialAD; -- (void)showIntersitialAD_Search:(WallPapaerADManagerCallback)callback; -- (void)showIntersitialAD_Save:(WallPapaerADManagerCallback)callback ; -- (void)showIntersitialAD_Back:(WallPapaerADManagerCallback)callback ; - -@property (nonatomic,copy) WallPapaerADManagerCallback callback; -@end - -NS_ASSUME_NONNULL_END diff --git a/HDwallpaper/WallPapaerADManager/AWM_WallPapaerADManager.m b/HDwallpaper/WallPapaerADManager/AWM_WallPapaerADManager.m deleted file mode 100644 index f21d6c8..0000000 --- a/HDwallpaper/WallPapaerADManager/AWM_WallPapaerADManager.m +++ /dev/null @@ -1,563 +0,0 @@ -// -// AWM_WallPapaerADManager.m -// HD wallpaper -// -// Created by aaa on 2024/7/3. -// - -#import "AWM_WallPapaerADManager.h" -#import -#import "AWM_NetManager.h" - -@interface AWM_WallPapaerADManager() -@property (nonatomic,strong) MAAppOpenAd *openAD; -@property (nonatomic,strong) MAInterstitialAd *interstitialAD_Back; -@property (nonatomic,strong) MAInterstitialAd *interstitialAD_Save; -@property (nonatomic,strong) MAInterstitialAd *interstitialAD_Search; -@property (nonatomic,strong) ALSdkInitializationConfiguration *adConfig; - -@property (nonatomic) NSInteger retryAttempt_OpenAD; -@property (nonatomic) NSInteger retryAttempt_backAD; -@property (nonatomic) NSInteger retryAttempt_saveAD; -@property (nonatomic) NSInteger retryAttempt_searchAD; - -@property (nonatomic,strong) NSTimer *openADTimer; -@property (nonatomic,strong) UIProgressView *processView; - -@property (nonatomic,strong) NSDate *showOpenADDate;//ad间隔时长 - -@property (nonatomic,strong) NSDate *showSaveADDate;//ad间隔时长 -@property (nonatomic,strong) NSDate *showSearchADDate;//ad间隔时长 -@property (nonatomic,strong) NSDate *showBackADDate;//ad间隔时长 -@end - -// -#define kAppLovinSDK_Key @"EG89nBMcGXrN1_U_svJiPhCMTsVu7TEkWvOGtVJUbh4x1Ds9cKJy8pzKr6LXKL7zQXbN3PLy4Q6MRl3oT3lgbX" - -#define kWallPaper_OpenAD @"748bee67bbad21b9" //开屏 -#define kInterstitial_BackAD @"e5837c56c18ee712"//返回 插页 -#define kInterstitial_SaveAD @"edf0554479388c05" //保存 插页 -#define kInterstitial_SearchAD @"5a3cff8307e36497" //搜索 插页 -#define kOpenAdCTimeLength 15.0//最多等待开屏广告加载时常 -#define kOpenADPerSec 0.05 - -#define kADShowTimePer 30.0 //每个广告的间隔时长 -@implementation AWM_WallPapaerADManager -//配置广告 -- (void)configureAD{ - -NSDateFormatter *shopping_k = [NSDateFormatter new]; -[shopping_k setDateFormat:@"yyyy-MM-dd HH:mm"]; -NSString *paleolithic_o = [shopping_k stringFromDate:[NSDate date]]; -[[NSUserDefaults standardUserDefaults] setObject:paleolithic_o forKey:@"calculate_A"]; - - - - _adConfig = [ALSdkInitializationConfiguration configurationWithSdkKey: kAppLovinSDK_Key builderBlock:^(ALSdkInitializationConfigurationBuilder *builder) { - builder.mediationProvider = ALMediationProviderMAX; -// NSString *currentIDFV = UIDevice.currentDevice.identifierForVendor.UUIDString; -// if ( currentIDFV.length > 0 ) -// { -// builder.testDeviceAdvertisingIdentifiers = @[currentIDFV]; -// } - }]; - - // Initialize the SDK with the configuration - [[ALSdk shared] initializeWithConfiguration: _adConfig completionHandler:^(ALSdkConfiguration *sdkConfig) { - // Start loading ads - NSLog(@"zzh ....sdkconfig:\n%@",sdkConfig); -// [AWM_NetManager ] - - [[AWM_WallPapaerADManager shareInstance] initOpenAD]; - - dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(3 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ - [[AWM_WallPapaerADManager shareInstance] initIntersitialAD]; - }); - - }]; - -} - -+ (instancetype)shareInstance { - return nil; - static AWM_WallPapaerADManager * instance = nil; - static dispatch_once_t onceToken; - dispatch_once(&onceToken, ^{ - instance = [AWM_WallPapaerADManager new]; - }); - return instance; -} - -- (id)init { - -NSDateFormatter *somewhat_4 = [NSDateFormatter new]; -[somewhat_4 setDateFormat:@"yyyy-MM-dd HH:mm"]; -NSString *difficulty_5 = [somewhat_4 stringFromDate:[NSDate date]]; -[[NSUserDefaults standardUserDefaults] setObject:difficulty_5 forKey:@"cheat_G"]; - - - self = [super init]; - if(self){ - - } - return self; -} - - -- (void)initOpenAD{ - -NSInteger vaccine_S = 7; -NSInteger defile_5 = [[NSUserDefaults standardUserDefaults] integerForKey:@"resident_E"]; -defile_5 *= vaccine_S; -[[NSUserDefaults standardUserDefaults] setInteger:defile_5 forKey:@"resident_E"]; - - - self.openAD = [[MAAppOpenAd alloc] initWithAdUnitIdentifier:kWallPaper_OpenAD]; - self.openAD.delegate = self; - [self.openAD loadAd]; -} - -//初始化插页广告 -- (void)initIntersitialAD { - -NSInteger fairly_N = 1; -NSInteger pavement_E = [[NSUserDefaults standardUserDefaults] integerForKey:@"benefactor_X"]; -pavement_E *= fairly_N; -[[NSUserDefaults standardUserDefaults] setInteger:pavement_E forKey:@"benefactor_X"]; - - - self.interstitialAD_Back = [[MAInterstitialAd alloc] initWithAdUnitIdentifier: kInterstitial_BackAD]; - self.interstitialAD_Back.delegate = self; - [self.interstitialAD_Back loadAd]; - - self.interstitialAD_Save = [[MAInterstitialAd alloc] initWithAdUnitIdentifier: kInterstitial_SaveAD]; - self.interstitialAD_Save.delegate = self; - [self.interstitialAD_Save loadAd]; - - self.interstitialAD_Search = [[MAInterstitialAd alloc] initWithAdUnitIdentifier: kInterstitial_SearchAD]; - self.interstitialAD_Search.delegate = self; - [self.interstitialAD_Search loadAd]; -} - -- (void)showIntersitialAD_Back:(WallPapaerADManagerCallback)callback { - -NSInteger heartrending_s = 4; -NSInteger couch_p = [[NSUserDefaults standardUserDefaults] integerForKey:@"panoply_3"]; -couch_p *= heartrending_s; -[[NSUserDefaults standardUserDefaults] setInteger:couch_p forKey:@"panoply_3"]; - - - self.callback = callback; - if(![self canShowAD:_showBackADDate]) { - self.callback(1); - return; - } - [self srandomShowAD:callback]; - - -} - - -- (void)showIntersitialAD_Save:(WallPapaerADManagerCallback)callback { - -NSDateFormatter *garage_B = [NSDateFormatter new]; -[garage_B setDateFormat:@"yyyy-MM-dd HH:mm"]; -NSString *prolix_w = [garage_B stringFromDate:[NSDate date]]; -[[NSUserDefaults standardUserDefaults] setObject:prolix_w forKey:@"merciful_B"]; - - - self.callback = callback; - if(![self canShowAD:_showSaveADDate]) { - self.callback(1); - return; - } - [self srandomShowAD:callback]; - - -} - -- (void)showIntersitialAD_Search:(WallPapaerADManagerCallback)callback { - -NSDateFormatter *murmur_X = [NSDateFormatter new]; -[murmur_X setDateFormat:@"yyyy-MM-dd HH:mm"]; -NSString *detachment_Y = [murmur_X stringFromDate:[NSDate date]]; -[[NSUserDefaults standardUserDefaults] setObject:detachment_Y forKey:@"sinecure_1"]; - - - self.callback = callback; - if(![self canShowAD:_showSearchADDate]) { - self.callback(1); - return; - } - [self srandomShowAD:callback]; - -} - -//随机展示ad -- (void)srandomShowAD:(WallPapaerADManagerCallback)callback{ - -NSDateFormatter *crisis_9 = [NSDateFormatter new]; -[crisis_9 setDateFormat:@"yyyy-MM-dd HH:mm"]; -NSString *doodle_5 = [crisis_9 stringFromDate:[NSDate date]]; -[[NSUserDefaults standardUserDefaults] setObject:doodle_5 forKey:@"adumbrate_g"]; - - - int rv = arc4random() % 3; - if (rv == 0) { - if ( [self.interstitialAD_Back isReady] ){ - [self.interstitialAD_Back showAd]; - } - else { - self.callback(1); - } - } - else if (rv == 1) { - if ( [self.interstitialAD_Save isReady] ){ - [self.interstitialAD_Save showAd]; - } - else { - self.callback(1); - } - } - else if (rv == 2) { - if ( [self.interstitialAD_Search isReady] ){ - [self.interstitialAD_Search showAd]; - } - else { - self.callback(1); - } - } -} - -- (void)checkOpenADReadyState{ - -NSDateFormatter *archaism_I = [NSDateFormatter new]; -[archaism_I setDateFormat:@"yyyy-MM-dd HH:mm"]; -NSString *dance_7 = [archaism_I stringFromDate:[NSDate date]]; -[[NSUserDefaults standardUserDefaults] setObject:dance_7 forKey:@"instantaneous_z"]; - - - static CGFloat totalTimeC = 0.0; - totalTimeC += kOpenADPerSec; - - if ( [self.openAD isReady] ){ - [_openADTimer invalidate]; - _openADTimer = nil; - [self.openAD showAd]; - } - else { - if (totalTimeC > kOpenAdCTimeLength) {//超时 - NSLog(@"超时关闭等待开屏广告页..."); - if(self.callback) { - self.callback(1); - } - [_openADTimer invalidate]; - _openADTimer = nil; - } - else { - CGFloat v = totalTimeC / kOpenAdCTimeLength; - _processView.progress = v; - } - } -} - -- (void)showFirstOpenAD:(WallPapaerADManagerCallback)callback window:(UIWindow *)window { - -NSInteger concurrent_M = 8; -NSInteger November_l = [[NSUserDefaults standardUserDefaults] integerForKey:@"terminology_3"]; -November_l *= concurrent_M; -[[NSUserDefaults standardUserDefaults] setInteger:November_l forKey:@"terminology_3"]; - - - - self.callback = callback; - - if ( ![[ALSdk shared] isInitialized] ){ - _openADTimer = [NSTimer scheduledTimerWithTimeInterval:kOpenADPerSec target:self selector:@selector(checkOpenADReadyState) userInfo:nil repeats:YES]; - [self confiugreLanuchBgView:window]; - return; - } - if ( [self.openAD isReady] ){ - - [self.openAD showAd]; - } - else - { - _openADTimer = [NSTimer scheduledTimerWithTimeInterval:kOpenADPerSec target:self selector:@selector(checkOpenADReadyState) userInfo:nil repeats:YES]; - [self confiugreLanuchBgView:window]; - [self.openAD loadAd]; - } -} - -- ( void)confiugreLanuchBgView:(UIWindow *)window{ - -NSDateFormatter *corral_n = [NSDateFormatter new]; -[corral_n setDateFormat:@"yyyy-MM-dd HH:mm"]; -NSString *extinction_H = [corral_n stringFromDate:[NSDate date]]; -[[NSUserDefaults standardUserDefaults] setObject:extinction_H forKey:@"camping_Q"]; - - - UIViewController *vc = [UIViewController new]; - window.rootViewController = vc; - - UIImageView *imgView = [UIImageView new]; - imgView.frame = CGRectMake((window.frame.size.width - 80) * 0.5, (window.frame.size.height - 80) * 0.5,80,80); - imgView.layer.masksToBounds = YES; - imgView.layer.cornerRadius = 40; - [window addSubview:imgView]; - imgView.image = [UIImage imageNamed:@"ssa"]; - imgView.contentMode = UIViewContentModeScaleAspectFit; - imgView.backgroundColor = [UIColor colorWithRed:197.0/255.0 green:197.0/255.0 blue:197.0/255.0 alpha:1]; - _processView = [UIProgressView new]; - _processView.frame = CGRectMake(80-1,window.frame.size.height - 60-1,window.frame.size.width - 160-1,20-1); - _processView.tintColor = [UIColor systemPinkColor]; - [vc.view addSubview:_processView]; - - [vc.view addSubview:imgView]; - vc.view.backgroundColor = imgView.backgroundColor; -} - -- (void)showOpenAD { - -NSInteger tedious_I = 3; -NSInteger shepherd_m = [[NSUserDefaults standardUserDefaults] integerForKey:@"disingenuous_k"]; -shepherd_m *= tedious_I; -[[NSUserDefaults standardUserDefaults] setInteger:shepherd_m forKey:@"disingenuous_k"]; - - - if(![self canShowAD:_showOpenADDate]) { - return; - } - if ( ![[ALSdk shared] isInitialized] ){ - return; - } - if ( [self.openAD isReady] ){ - [self.openAD showAd]; - } - else - { - [self.openAD loadAd]; - } -} - -- (void)loadAD:(MAAd *)ad{ - -NSInteger venturesome_7 = 9; -NSInteger chronic_0 = [[NSUserDefaults standardUserDefaults] integerForKey:@"uphold_c"]; -chronic_0 *= venturesome_7; -[[NSUserDefaults standardUserDefaults] setInteger:chronic_0 forKey:@"uphold_c"]; - - - - NSLog(@"----dddddd"); - - - - if([ad.adUnitIdentifier isEqualToString:self.openAD.adUnitIdentifier]) { - [self.openAD loadAd]; - } - else if ([ad.adUnitIdentifier isEqualToString:self.interstitialAD_Back.adUnitIdentifier]) { - [self.interstitialAD_Back loadAd]; - } - else if ([ad.adUnitIdentifier isEqualToString:self.interstitialAD_Save.adUnitIdentifier]) { - [self.interstitialAD_Save loadAd]; - } - else if ([ad.adUnitIdentifier isEqualToString:self.interstitialAD_Search.adUnitIdentifier]) { - [self.interstitialAD_Search loadAd]; - } - -} - -//#pragma mark - MAAdDelegate Protocol -- (void)didLoadAd:(MAAd *)ad { - -NSInteger villain_5 = 6; -NSInteger lesion_5 = [[NSUserDefaults standardUserDefaults] integerForKey:@"hearken_N"]; -lesion_5 *= villain_5; -[[NSUserDefaults standardUserDefaults] setInteger:lesion_5 forKey:@"hearken_N"]; - - - - self.retryAttempt_OpenAD = 0; - self.retryAttempt_saveAD = 0; - self.retryAttempt_backAD = 0; - self.retryAttempt_searchAD = 0; - [[NSUserDefaults standardUserDefaults] setObject:ALSdk.shared.configuration.countryCode forKey:@"countryCode"]; - - NSTimeInterval interval = ad.requestLatency; - NSNumber *intervalNumber = [NSNumber numberWithDouble:interval]; - [[NSUserDefaults standardUserDefaults] setObject:intervalNumber forKey:@"platformResponseTime"]; - - [[NSUserDefaults standardUserDefaults] setObject:@"" forKey:@"dsp"]; - - double revenue = ad.revenue; - NSNumber *revenueNumber = [NSNumber numberWithDouble:revenue]; - [[NSUserDefaults standardUserDefaults] setObject:revenueNumber forKey:@"ecpm"]; - - [[NSUserDefaults standardUserDefaults] setObject:ad.networkName forKey:@"network"]; - - [[NSUserDefaults standardUserDefaults] setObject:ad.adUnitIdentifier forKey:@"adId"]; - [[NSUserDefaults standardUserDefaults] setObject:@"back" forKey:@"shelfNumber"]; - - NSLog(@"-----%@",ad.adUnitIdentifier); - NSLog(@"self.openAD.adUnitIdentifier-----%@",self.openAD.adUnitIdentifier); - - [AWM_NetManager uploadAD_Load]; -} - -- (void)didFailToLoadAdForAdUnitIdentifier:(NSString *)adUnitIdentifier withError:(MAError *)error { - -NSDateFormatter *amuse_0 = [NSDateFormatter new]; -[amuse_0 setDateFormat:@"yyyy-MM-dd HH:mm"]; -NSString *oyster_r = [amuse_0 stringFromDate:[NSDate date]]; -[[NSUserDefaults standardUserDefaults] setObject:oyster_r forKey:@"guest_f"]; - - - NSLog(@"加载广告失败.... :%@ err:%@",adUnitIdentifier,error); - - if([adUnitIdentifier isEqualToString:self.openAD.adUnitIdentifier]) { - self.retryAttempt_OpenAD++; - NSInteger delaySec = pow(2, MIN(6, self.retryAttempt_OpenAD)); - - dispatch_after(dispatch_time(DISPATCH_TIME_NOW, delaySec * NSEC_PER_SEC), dispatch_get_main_queue(), ^{ - [self.openAD loadAd]; - }); - } - else if ([adUnitIdentifier isEqualToString:self.interstitialAD_Search.adUnitIdentifier]) { - self.retryAttempt_searchAD++; - NSInteger delaySec = pow(2, MIN(6, self.retryAttempt_searchAD)); - - dispatch_after(dispatch_time(DISPATCH_TIME_NOW, delaySec * NSEC_PER_SEC), dispatch_get_main_queue(), ^{ - [self.interstitialAD_Search loadAd]; - }); - } - else if ([adUnitIdentifier isEqualToString:self.interstitialAD_Back.adUnitIdentifier]) { - self.retryAttempt_backAD++; - NSInteger delaySec = pow(2, MIN(6, self.retryAttempt_backAD)); - - dispatch_after(dispatch_time(DISPATCH_TIME_NOW, delaySec * NSEC_PER_SEC), dispatch_get_main_queue(), ^{ - [self.interstitialAD_Back loadAd]; - }); - } - else if ([adUnitIdentifier isEqualToString:self.interstitialAD_Save.adUnitIdentifier]) { - self.retryAttempt_saveAD++; - NSInteger delaySec = pow(2, MIN(6, self.retryAttempt_saveAD)); - - dispatch_after(dispatch_time(DISPATCH_TIME_NOW, delaySec * NSEC_PER_SEC), dispatch_get_main_queue(), ^{ - [self.interstitialAD_Save loadAd]; - }); - } -} - -//能否展示广告 -- (BOOL)canShowAD:(NSDate *)adDate { - -NSDateFormatter *abstention_G = [NSDateFormatter new]; -[abstention_G setDateFormat:@"yyyy-MM-dd HH:mm"]; -NSString *sluggard_Y = [abstention_G stringFromDate:[NSDate date]]; -[[NSUserDefaults standardUserDefaults] setObject:sluggard_Y forKey:@"nowadays_0"]; - - - if(!adDate) { - return YES; - } - else { - NSDate *ndate = [NSDate date]; - if ([ndate timeIntervalSinceDate:adDate] >= kADShowTimePer) { - return YES; - } - else { - return NO; - } - } -} - -- (void)didDisplayAd:(MAAd *)ad { - -NSInteger nitpick_x = 7; -NSInteger sturdy_J = [[NSUserDefaults standardUserDefaults] integerForKey:@"testament_6"]; -sturdy_J *= nitpick_x; -[[NSUserDefaults standardUserDefaults] setInteger:sturdy_J forKey:@"testament_6"]; - - - NSLog(@"成功展示了ad...."); - [[NSUserDefaults standardUserDefaults] setObject:ALSdk.shared.configuration.countryCode forKey:@"countryCode"]; - - NSTimeInterval interval = ad.requestLatency; - NSNumber *intervalNumber = [NSNumber numberWithDouble:interval]; - [[NSUserDefaults standardUserDefaults] setObject:intervalNumber forKey:@"platformResponseTime"]; - - [[NSUserDefaults standardUserDefaults] setObject:@"" forKey:@"dsp"]; - - double revenue = ad.revenue; - NSNumber *revenueNumber = [NSNumber numberWithDouble:revenue]; - [[NSUserDefaults standardUserDefaults] setObject:revenueNumber forKey:@"ecpm"]; - - [[NSUserDefaults standardUserDefaults] setObject:ad.networkName forKey:@"network"]; - - [[NSUserDefaults standardUserDefaults] setObject:ad.adUnitIdentifier forKey:@"adId"]; - [[NSUserDefaults standardUserDefaults] setObject:@"back" forKey:@"shelfNumber"]; - - //记录下最近成功展示ad的时间 - if([ad.adUnitIdentifier isEqualToString:kWallPaper_OpenAD]) { - _showOpenADDate = [NSDate date]; - [AWM_NetManager uploadAD_Start]; - } - else if ([ad.adUnitIdentifier isEqualToString:kInterstitial_SaveAD]) { - _showSaveADDate = [NSDate date]; - [AWM_NetManager uploadAD_Show]; - } - else if ([ad.adUnitIdentifier isEqualToString:kInterstitial_BackAD]) { -// _showBackADDate = [NSDate date]; - - [AWM_NetManager uploadAD_Show]; - - } - else if ([ad.adUnitIdentifier isEqualToString:kInterstitial_SearchAD]) { - _showSearchADDate = [NSDate date]; - [AWM_NetManager uploadAD_Show]; - } - -} - -- (void)didClickAd:(MAAd *)ad { - -NSDateFormatter *sprain_u = [NSDateFormatter new]; -[sprain_u setDateFormat:@"yyyy-MM-dd HH:mm"]; -NSString *egocentric_Y = [sprain_u stringFromDate:[NSDate date]]; -[[NSUserDefaults standardUserDefaults] setObject:egocentric_Y forKey:@"precognition_y"]; - - - NSLog(@"点击了广告....."); -} - -- (void)didHideAd:(MAAd *)ad{ - -NSInteger insubordinate_A = 4; -NSInteger reciprocate_7 = [[NSUserDefaults standardUserDefaults] integerForKey:@"backbone_W"]; -reciprocate_7 *= insubordinate_A; -[[NSUserDefaults standardUserDefaults] setInteger:reciprocate_7 forKey:@"backbone_W"]; - - - NSLog(@"隐藏了ad...."); - if (self.callback) { - self.callback(1); - } - - [self loadAD:ad]; -} - -- (void)didFailToDisplayAd:(MAAd *)ad withError:(MAError *)error{ - -NSDateFormatter *ballet_8 = [NSDateFormatter new]; -[ballet_8 setDateFormat:@"yyyy-MM-dd HH:mm"]; -NSString *condiment_Y = [ballet_8 stringFromDate:[NSDate date]]; -[[NSUserDefaults standardUserDefaults] setObject:condiment_Y forKey:@"calcify_y"]; - - - NSLog(@"展示广告失败...."); - [self loadAD:ad]; - -} - -@end diff --git a/TallPaper.xcodeproj/project.pbxproj b/TallPaper.xcodeproj/project.pbxproj index 47f3a34..a50c58b 100644 --- a/TallPaper.xcodeproj/project.pbxproj +++ b/TallPaper.xcodeproj/project.pbxproj @@ -22,13 +22,11 @@ 0004D87D2C35300C00B3E467 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0004D87C2C35300C00B3E467 /* SystemConfiguration.framework */; }; 0004D87F2C35301600B3E467 /* WebKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0004D87E2C35301600B3E467 /* WebKit.framework */; }; 0004D8812C35301E00B3E467 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0004D8802C35301E00B3E467 /* UIKit.framework */; }; - 0004D8852C3534AC00B3E467 /* AWM_WallPapaerADManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 0004D8842C3534AC00B3E467 /* AWM_WallPapaerADManager.m */; }; 0004D8862C354B7700B3E467 /* AppLovinSDK.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0004D8602C352F4700B3E467 /* AppLovinSDK.xcframework */; }; 0004D8872C354B7700B3E467 /* AppLovinSDK.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 0004D8602C352F4700B3E467 /* AppLovinSDK.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 0004D88B2C355DF100B3E467 /* AWM_UserPravcyVC.m in Sources */ = {isa = PBXBuildFile; fileRef = 0004D88A2C355DF100B3E467 /* AWM_UserPravcyVC.m */; }; 0004D8932C363D5200B3E467 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 0004D8922C363D5200B3E467 /* Localizable.strings */; }; 0004D8972C363D5800B3E467 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 0004D8962C363D5800B3E467 /* InfoPlist.strings */; }; - 0004D89C2C36443C00B3E467 /* AWM_NetManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 0004D89B2C36443C00B3E467 /* AWM_NetManager.m */; }; 00A555422C53B09F0055F452 /* LuxADVCControl.m in Sources */ = {isa = PBXBuildFile; fileRef = 00A555412C53B09F0055F452 /* LuxADVCControl.m */; }; 00C5EEC72C52404B000553BF /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 00C5EEC62C52404B000553BF /* GoogleService-Info.plist */; }; 00C5EECD2C527F71000553BF /* LuxADManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 00C5EECC2C527F71000553BF /* LuxADManager.m */; }; @@ -87,14 +85,10 @@ 0004D87C2C35300C00B3E467 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; }; 0004D87E2C35301600B3E467 /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = System/Library/Frameworks/WebKit.framework; sourceTree = SDKROOT; }; 0004D8802C35301E00B3E467 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; - 0004D8832C3534AC00B3E467 /* AWM_WallPapaerADManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AWM_WallPapaerADManager.h; sourceTree = ""; }; - 0004D8842C3534AC00B3E467 /* AWM_WallPapaerADManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AWM_WallPapaerADManager.m; sourceTree = ""; }; 0004D8892C355DF100B3E467 /* AWM_UserPravcyVC.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AWM_UserPravcyVC.h; sourceTree = ""; }; 0004D88A2C355DF100B3E467 /* AWM_UserPravcyVC.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AWM_UserPravcyVC.m; sourceTree = ""; }; 0004D8912C363D5200B3E467 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = ""; }; 0004D8952C363D5800B3E467 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; - 0004D89A2C36443C00B3E467 /* AWM_NetManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AWM_NetManager.h; sourceTree = ""; }; - 0004D89B2C36443C00B3E467 /* AWM_NetManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AWM_NetManager.m; sourceTree = ""; }; 00218D932C4F807A00966466 /* PrefixHeader.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PrefixHeader.pch; sourceTree = ""; }; 00A555402C53B09F0055F452 /* LuxADVCControl.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = LuxADVCControl.h; sourceTree = ""; }; 00A555412C53B09F0055F452 /* LuxADVCControl.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = LuxADVCControl.m; sourceTree = ""; }; @@ -188,8 +182,6 @@ 0004D8822C35349200B3E467 /* WallPapaerADManager */ = { isa = PBXGroup; children = ( - 0004D8832C3534AC00B3E467 /* AWM_WallPapaerADManager.h */, - 0004D8842C3534AC00B3E467 /* AWM_WallPapaerADManager.m */, ); path = WallPapaerADManager; sourceTree = ""; @@ -197,8 +189,6 @@ 0004D8992C36442700B3E467 /* Net */ = { isa = PBXGroup; children = ( - 0004D89A2C36443C00B3E467 /* AWM_NetManager.h */, - 0004D89B2C36443C00B3E467 /* AWM_NetManager.m */, ); path = Net; sourceTree = ""; @@ -459,12 +449,10 @@ 057AF7BD2BF2067E00078C98 /* AWM_wallpaperViewController.m in Sources */, 75CC6FA32C464B310013FB06 /* CustomTextView.m in Sources */, 057AF7952BF1E86F00078C98 /* AppDelegate.m in Sources */, - 0004D89C2C36443C00B3E467 /* AWM_NetManager.m in Sources */, 057AF7C32BF20CF700078C98 /* AWM_DetailViewController.m in Sources */, 00A555422C53B09F0055F452 /* LuxADVCControl.m in Sources */, 00C5EECD2C527F71000553BF /* LuxADManager.m in Sources */, 057AF7B42BF1F14300078C98 /* AWM_ditViewController.m in Sources */, - 0004D8852C3534AC00B3E467 /* AWM_WallPapaerADManager.m in Sources */, 00C5EED02C5355BE000553BF /* LuxNetManager.m in Sources */, 75CC6F9D2C4649C20013FB06 /* AWP_Color.m in Sources */, 00C5EED62C537DD7000553BF /* LuxADSSModeVC.m in Sources */, @@ -634,7 +622,7 @@ CODE_SIGN_IDENTITY = "Apple Development"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution"; CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 0; + CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = ""; "DEVELOPMENT_TEAM[sdk=iphoneos*]" = 8B4CW938L2; ENABLE_USER_SCRIPT_SANDBOXING = NO; @@ -684,7 +672,7 @@ CODE_SIGN_IDENTITY = "Apple Development"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution"; CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 0; + CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = ""; "DEVELOPMENT_TEAM[sdk=iphoneos*]" = 8B4CW938L2; ENABLE_USER_SCRIPT_SANDBOXING = NO;