Compare commits

...

No commits in common. "main" and "master" have entirely different histories.
main ... master

1234 changed files with 16882 additions and 165471 deletions

0
.gitignore vendored
View File

View File

@ -25,10 +25,23 @@ target 'wallpaper_project' do
pod 'AppLovinDSPLinkedInAdapter'
pod 'AppLovinMediationVungleAdapter'
pod 'AppLovinMediationByteDanceAdapter'
# pod 'Firebase/Analytics'
#pod 'Firebase/Analytics'
pod 'Firebase/Core'
pod 'Firebase/AnalyticsWithoutAdIdSupport'
pod 'Firebase/Core'
pod 'Firebase/AnalyticsWithoutAdIdSupport'
pod 'FirebaseRemoteConfig'
# pod 'MintegralAdSDK/BidNativeAd'
# pod 'MintegralAdSDK/BidNewInterstitialAd'
pod 'TPNiOS','6.3.57'
pod 'TPNMintegralSDKAdapter','6.3.57'
# pod "Facebook-iOS-SDK"
pod 'FBSDKCoreKit'
pod 'FBSDKLoginKit'
pod 'FBSDKShareKit'
post_install do |installer|
installer.generated_projects.each do |project|
project.targets.each do |target|

View File

@ -10,7 +10,15 @@
47E2910BA14539535986845C /* Pods_wallpaper_project.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5FABA9F86ED5CD475E3A3424 /* Pods_wallpaper_project.framework */; };
75200B6D2BA7D34F00BA65FD /* WA_limitsVCViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 75200B6B2BA7D34F00BA65FD /* WA_limitsVCViewController.swift */; };
75200B6E2BA7D34F00BA65FD /* WA_limitsVCViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 75200B6C2BA7D34F00BA65FD /* WA_limitsVCViewController.xib */; };
757E9AF22BD26A8000EF854A /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 757E9AF12BD26A8000EF854A /* GoogleService-Info.plist */; };
752FFF7A2C48B7EB00FDA982 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 752FFF792C48B7EB00FDA982 /* GoogleService-Info.plist */; };
752FFF872C48EC5000FDA982 /* WA_RankVC.xib in Resources */ = {isa = PBXBuildFile; fileRef = 752FFF862C48EC5000FDA982 /* WA_RankVC.xib */; };
752FFF882C48EC5000FDA982 /* WA_RankVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 752FFF852C48EC5000FDA982 /* WA_RankVC.swift */; };
752FFF8A2C48F35F00FDA982 /* custlayout.swift in Sources */ = {isa = PBXBuildFile; fileRef = 752FFF892C48F35F00FDA982 /* custlayout.swift */; };
752FFF8E2C48F4E400FDA982 /* WA_RankCollectionViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 752FFF8D2C48F4E400FDA982 /* WA_RankCollectionViewCell.xib */; };
752FFF8F2C48F4E400FDA982 /* WA_RankCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 752FFF8C2C48F4E400FDA982 /* WA_RankCollectionViewCell.swift */; };
752FFF922C48FEBE00FDA982 /* rank.json in Resources */ = {isa = PBXBuildFile; fileRef = 752FFF912C48FEBE00FDA982 /* rank.json */; };
7565BDC42C5D10B9004602CA /* initializationTopOn.m in Sources */ = {isa = PBXBuildFile; fileRef = 7565BDC32C5D10B9004602CA /* initializationTopOn.m */; };
757DA8B82C1BE33E0046CAB6 /* stringADID.swift in Sources */ = {isa = PBXBuildFile; fileRef = 757DA8B72C1BE33D0046CAB6 /* stringADID.swift */; };
759BB0602BABE3EC001C0031 /* loanding.json in Resources */ = {isa = PBXBuildFile; fileRef = 759BB05F2BABE3EC001C0031 /* loanding.json */; };
759BB0622BAD35D7001C0031 /* loadProgress.json in Resources */ = {isa = PBXBuildFile; fileRef = 759BB0612BAD35D6001C0031 /* loadProgress.json */; };
75A14D932BA1A9760091D9AD /* WA_PrivacyVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 75A14D912BA1A9760091D9AD /* WA_PrivacyVC.swift */; };
@ -64,6 +72,28 @@
75A8F14B2BB57C2D004B0F5C /* WA_MonRankngCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 75A8F1492BB57C2D004B0F5C /* WA_MonRankngCell.xib */; };
75A8F14E2BB66017004B0F5C /* WA_SCVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 75A8F14C2BB66016004B0F5C /* WA_SCVC.swift */; };
75A8F14F2BB66017004B0F5C /* WA_SCVC.xib in Resources */ = {isa = PBXBuildFile; fileRef = 75A8F14D2BB66016004B0F5C /* WA_SCVC.xib */; };
75AF74652C6067B700C1DB9C /* LUXTopOnVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 75AF74632C6067B700C1DB9C /* LUXTopOnVC.swift */; };
75AF74682C60682200C1DB9C /* LUXToponManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 75AF74672C60682200C1DB9C /* LUXToponManager.swift */; };
75AF746A2C60685600C1DB9C /* LUXTopOnConfigure.swift in Sources */ = {isa = PBXBuildFile; fileRef = 75AF74692C60685600C1DB9C /* LUXTopOnConfigure.swift */; };
75AF746C2C606C2A00C1DB9C /* LUXNetWorkManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 75AF746B2C606C2A00C1DB9C /* LUXNetWorkManager.swift */; };
75AF746F2C609F1C00C1DB9C /* OneVc.swift in Sources */ = {isa = PBXBuildFile; fileRef = 75AF746E2C609F1C00C1DB9C /* OneVc.swift */; };
75AF74712C609F2400C1DB9C /* twovc.swift in Sources */ = {isa = PBXBuildFile; fileRef = 75AF74702C609F2400C1DB9C /* twovc.swift */; };
75AF74732C609F3000C1DB9C /* threeVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 75AF74722C609F3000C1DB9C /* threeVC.swift */; };
75AF74782C60A8E200C1DB9C /* LUXTopbtnVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 75AF74762C60A8E200C1DB9C /* LUXTopbtnVC.swift */; };
75AF74792C60A8E200C1DB9C /* LUXTopbtnVC.xib in Resources */ = {isa = PBXBuildFile; fileRef = 75AF74772C60A8E200C1DB9C /* LUXTopbtnVC.xib */; };
75B1CD3F2C6E0DD50092ED40 /* WA_AddPlayerVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 75B1CD342C6E0DD40092ED40 /* WA_AddPlayerVC.swift */; };
75B1CD402C6E0DD50092ED40 /* WA_AddPlayerVC.xib in Resources */ = {isa = PBXBuildFile; fileRef = 75B1CD352C6E0DD40092ED40 /* WA_AddPlayerVC.xib */; };
75B1CD412C6E0DD50092ED40 /* WA_CommunityPlayerVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 75B1CD362C6E0DD40092ED40 /* WA_CommunityPlayerVC.swift */; };
75B1CD422C6E0DD50092ED40 /* WA_CommunityPlayerVC.xib in Resources */ = {isa = PBXBuildFile; fileRef = 75B1CD372C6E0DD40092ED40 /* WA_CommunityPlayerVC.xib */; };
75B1CD432C6E0DD50092ED40 /* WA_player4kVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 75B1CD382C6E0DD40092ED40 /* WA_player4kVC.swift */; };
75B1CD442C6E0DD50092ED40 /* WA_player4kVC.xib in Resources */ = {isa = PBXBuildFile; fileRef = 75B1CD392C6E0DD40092ED40 /* WA_player4kVC.xib */; };
75B1CD452C6E0DD50092ED40 /* WA_playerRankVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 75B1CD3A2C6E0DD40092ED40 /* WA_playerRankVC.swift */; };
75B1CD462C6E0DD50092ED40 /* WA_playerRankVC.xib in Resources */ = {isa = PBXBuildFile; fileRef = 75B1CD3B2C6E0DD40092ED40 /* WA_playerRankVC.xib */; };
75B1CD472C6E0DD50092ED40 /* WA_playerVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 75B1CD3C2C6E0DD40092ED40 /* WA_playerVC.swift */; };
75B1CD482C6E0DD50092ED40 /* WA_playerVC.xib in Resources */ = {isa = PBXBuildFile; fileRef = 75B1CD3D2C6E0DD40092ED40 /* WA_playerVC.xib */; };
75D453892C0EE875003B6B24 /* idfaManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 75D453882C0EE875003B6B24 /* idfaManager.swift */; };
75D4538C2C0EE949003B6B24 /* ipManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 75D4538B2C0EE949003B6B24 /* ipManager.swift */; };
75D4538F2C0EFE3A003B6B24 /* NetworkManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 75D4538E2C0EFE3A003B6B24 /* NetworkManager.swift */; };
75E288212B9EB0700049AB56 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 75E288202B9EB0700049AB56 /* AppDelegate.swift */; };
75E288252B9EB0700049AB56 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 75E288242B9EB0700049AB56 /* ViewController.swift */; };
75E288282B9EB0700049AB56 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 75E288262B9EB0700049AB56 /* Main.storyboard */; };
@ -136,7 +166,16 @@
6E8D6164F3693D0725EEBE1E /* Pods-wallpaper_project.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-wallpaper_project.debug.xcconfig"; path = "Target Support Files/Pods-wallpaper_project/Pods-wallpaper_project.debug.xcconfig"; sourceTree = "<group>"; };
75200B6B2BA7D34F00BA65FD /* WA_limitsVCViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WA_limitsVCViewController.swift; sourceTree = "<group>"; };
75200B6C2BA7D34F00BA65FD /* WA_limitsVCViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = WA_limitsVCViewController.xib; sourceTree = "<group>"; };
757E9AF12BD26A8000EF854A /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = "<group>"; };
752FFF792C48B7EB00FDA982 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = "<group>"; };
752FFF852C48EC5000FDA982 /* WA_RankVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WA_RankVC.swift; sourceTree = "<group>"; };
752FFF862C48EC5000FDA982 /* WA_RankVC.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = WA_RankVC.xib; sourceTree = "<group>"; };
752FFF892C48F35F00FDA982 /* custlayout.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = custlayout.swift; sourceTree = "<group>"; };
752FFF8C2C48F4E400FDA982 /* WA_RankCollectionViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WA_RankCollectionViewCell.swift; sourceTree = "<group>"; };
752FFF8D2C48F4E400FDA982 /* WA_RankCollectionViewCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = WA_RankCollectionViewCell.xib; sourceTree = "<group>"; };
752FFF912C48FEBE00FDA982 /* rank.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = rank.json; sourceTree = "<group>"; };
7565BDC22C5D10B9004602CA /* initializationTopOn.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = initializationTopOn.h; sourceTree = "<group>"; };
7565BDC32C5D10B9004602CA /* initializationTopOn.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = initializationTopOn.m; sourceTree = "<group>"; };
757DA8B72C1BE33D0046CAB6 /* stringADID.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = stringADID.swift; sourceTree = "<group>"; };
759BB05F2BABE3EC001C0031 /* loanding.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = loanding.json; sourceTree = "<group>"; };
759BB0612BAD35D6001C0031 /* loadProgress.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = loadProgress.json; sourceTree = "<group>"; };
75A14D912BA1A9760091D9AD /* WA_PrivacyVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WA_PrivacyVC.swift; sourceTree = "<group>"; };
@ -190,6 +229,28 @@
75A8F1492BB57C2D004B0F5C /* WA_MonRankngCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = WA_MonRankngCell.xib; sourceTree = "<group>"; };
75A8F14C2BB66016004B0F5C /* WA_SCVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WA_SCVC.swift; sourceTree = "<group>"; };
75A8F14D2BB66016004B0F5C /* WA_SCVC.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = WA_SCVC.xib; sourceTree = "<group>"; };
75AF74632C6067B700C1DB9C /* LUXTopOnVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LUXTopOnVC.swift; sourceTree = "<group>"; };
75AF74672C60682200C1DB9C /* LUXToponManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LUXToponManager.swift; sourceTree = "<group>"; };
75AF74692C60685600C1DB9C /* LUXTopOnConfigure.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LUXTopOnConfigure.swift; sourceTree = "<group>"; };
75AF746B2C606C2A00C1DB9C /* LUXNetWorkManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LUXNetWorkManager.swift; sourceTree = "<group>"; };
75AF746E2C609F1C00C1DB9C /* OneVc.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OneVc.swift; sourceTree = "<group>"; };
75AF74702C609F2400C1DB9C /* twovc.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = twovc.swift; sourceTree = "<group>"; };
75AF74722C609F3000C1DB9C /* threeVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = threeVC.swift; sourceTree = "<group>"; };
75AF74762C60A8E200C1DB9C /* LUXTopbtnVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LUXTopbtnVC.swift; sourceTree = "<group>"; };
75AF74772C60A8E200C1DB9C /* LUXTopbtnVC.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = LUXTopbtnVC.xib; sourceTree = "<group>"; };
75B1CD342C6E0DD40092ED40 /* WA_AddPlayerVC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = WA_AddPlayerVC.swift; sourceTree = "<group>"; };
75B1CD352C6E0DD40092ED40 /* WA_AddPlayerVC.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = WA_AddPlayerVC.xib; sourceTree = "<group>"; };
75B1CD362C6E0DD40092ED40 /* WA_CommunityPlayerVC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = WA_CommunityPlayerVC.swift; sourceTree = "<group>"; };
75B1CD372C6E0DD40092ED40 /* WA_CommunityPlayerVC.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = WA_CommunityPlayerVC.xib; sourceTree = "<group>"; };
75B1CD382C6E0DD40092ED40 /* WA_player4kVC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = WA_player4kVC.swift; sourceTree = "<group>"; };
75B1CD392C6E0DD40092ED40 /* WA_player4kVC.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = WA_player4kVC.xib; sourceTree = "<group>"; };
75B1CD3A2C6E0DD40092ED40 /* WA_playerRankVC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = WA_playerRankVC.swift; sourceTree = "<group>"; };
75B1CD3B2C6E0DD40092ED40 /* WA_playerRankVC.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = WA_playerRankVC.xib; sourceTree = "<group>"; };
75B1CD3C2C6E0DD40092ED40 /* WA_playerVC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = WA_playerVC.swift; sourceTree = "<group>"; };
75B1CD3D2C6E0DD40092ED40 /* WA_playerVC.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = WA_playerVC.xib; sourceTree = "<group>"; };
75D453882C0EE875003B6B24 /* idfaManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = idfaManager.swift; sourceTree = "<group>"; };
75D4538B2C0EE949003B6B24 /* ipManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ipManager.swift; sourceTree = "<group>"; };
75D4538E2C0EFE3A003B6B24 /* NetworkManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NetworkManager.swift; sourceTree = "<group>"; };
75E2881D2B9EB0700049AB56 /* wallpaper_project.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = wallpaper_project.app; sourceTree = BUILT_PRODUCTS_DIR; };
75E288202B9EB0700049AB56 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
75E288242B9EB0700049AB56 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
@ -290,14 +351,56 @@
path = Pods;
sourceTree = "<group>";
};
75A8F0E12BB3F28E004B0F5C /* Ranking */ = {
752FFF832C48EC3400FDA982 /* Rank */ = {
isa = PBXGroup;
children = (
752FFF8B2C48F4D200FDA982 /* V */,
752FFF842C48EC3B00FDA982 /* C */,
);
path = Rank;
sourceTree = "<group>";
};
752FFF842C48EC3B00FDA982 /* C */ = {
isa = PBXGroup;
children = (
752FFF852C48EC5000FDA982 /* WA_RankVC.swift */,
752FFF862C48EC5000FDA982 /* WA_RankVC.xib */,
752FFF892C48F35F00FDA982 /* custlayout.swift */,
);
path = C;
sourceTree = "<group>";
};
752FFF8B2C48F4D200FDA982 /* V */ = {
isa = PBXGroup;
children = (
752FFF8C2C48F4E400FDA982 /* WA_RankCollectionViewCell.swift */,
752FFF8D2C48F4E400FDA982 /* WA_RankCollectionViewCell.xib */,
);
path = V;
sourceTree = "<group>";
};
7565BDBF2C5CE54C004602CA /* TopOn */ = {
isa = PBXGroup;
children = (
75AF746D2C609F0F00C1DB9C /* vc */,
7565BDC22C5D10B9004602CA /* initializationTopOn.h */,
7565BDC32C5D10B9004602CA /* initializationTopOn.m */,
75AF74632C6067B700C1DB9C /* LUXTopOnVC.swift */,
75AF74672C60682200C1DB9C /* LUXToponManager.swift */,
75AF74692C60685600C1DB9C /* LUXTopOnConfigure.swift */,
75AF746B2C606C2A00C1DB9C /* LUXNetWorkManager.swift */,
);
path = TopOn;
sourceTree = "<group>";
};
75A8F0E12BB3F28E004B0F5C /* Community */ = {
isa = PBXGroup;
children = (
75A8F1082BB42857004B0F5C /* M */,
75A8F0FE2BB40F43004B0F5C /* V */,
75A8F0E22BB3F294004B0F5C /* C */,
);
path = Ranking;
path = Community;
sourceTree = "<group>";
};
75A8F0E22BB3F294004B0F5C /* C */ = {
@ -388,6 +491,59 @@
path = V;
sourceTree = "<group>";
};
75AF746D2C609F0F00C1DB9C /* vc */ = {
isa = PBXGroup;
children = (
75AF746E2C609F1C00C1DB9C /* OneVc.swift */,
75AF74702C609F2400C1DB9C /* twovc.swift */,
75AF74722C609F3000C1DB9C /* threeVC.swift */,
75AF74762C60A8E200C1DB9C /* LUXTopbtnVC.swift */,
75AF74772C60A8E200C1DB9C /* LUXTopbtnVC.xib */,
);
path = vc;
sourceTree = "<group>";
};
75B1CD3E2C6E0DD40092ED40 /* PlayerVC */ = {
isa = PBXGroup;
children = (
75B1CD342C6E0DD40092ED40 /* WA_AddPlayerVC.swift */,
75B1CD352C6E0DD40092ED40 /* WA_AddPlayerVC.xib */,
75B1CD362C6E0DD40092ED40 /* WA_CommunityPlayerVC.swift */,
75B1CD372C6E0DD40092ED40 /* WA_CommunityPlayerVC.xib */,
75B1CD382C6E0DD40092ED40 /* WA_player4kVC.swift */,
75B1CD392C6E0DD40092ED40 /* WA_player4kVC.xib */,
75B1CD3A2C6E0DD40092ED40 /* WA_playerRankVC.swift */,
75B1CD3B2C6E0DD40092ED40 /* WA_playerRankVC.xib */,
75B1CD3C2C6E0DD40092ED40 /* WA_playerVC.swift */,
75B1CD3D2C6E0DD40092ED40 /* WA_playerVC.xib */,
);
path = PlayerVC;
sourceTree = "<group>";
};
75D453862C0EE856003B6B24 /* IDFA */ = {
isa = PBXGroup;
children = (
75D453882C0EE875003B6B24 /* idfaManager.swift */,
);
path = IDFA;
sourceTree = "<group>";
};
75D4538A2C0EE936003B6B24 /* ip */ = {
isa = PBXGroup;
children = (
75D4538B2C0EE949003B6B24 /* ipManager.swift */,
);
path = ip;
sourceTree = "<group>";
};
75D4538D2C0EFE1F003B6B24 /* Network */ = {
isa = PBXGroup;
children = (
75D4538E2C0EFE3A003B6B24 /* NetworkManager.swift */,
);
path = Network;
sourceTree = "<group>";
};
75E288142B9EB0700049AB56 = {
isa = PBXGroup;
children = (
@ -413,7 +569,10 @@
75E2881F2B9EB0700049AB56 /* wallpaper_project */ = {
isa = PBXGroup;
children = (
75A8F0E12BB3F28E004B0F5C /* Ranking */,
75B1CD3E2C6E0DD40092ED40 /* PlayerVC */,
7565BDBF2C5CE54C004602CA /* TopOn */,
752FFF832C48EC3400FDA982 /* Rank */,
75A8F0E12BB3F28E004B0F5C /* Community */,
75E288A32BA0542F0049AB56 /* json */,
75E2886B2B9EB4670049AB56 /* Tool */,
75E2885F2B9EB2AC0049AB56 /* Mine */,
@ -530,6 +689,9 @@
75E2886B2B9EB4670049AB56 /* Tool */ = {
isa = PBXGroup;
children = (
75D4538D2C0EFE1F003B6B24 /* Network */,
75D4538A2C0EE936003B6B24 /* ip */,
75D453862C0EE856003B6B24 /* IDFA */,
75FEE5FC2BA3E0ED00E83097 /* DTOtherMacro.swift */,
75FEE5FE2BA3E0ED00E83097 /* JPEG.swift */,
75FEE5FB2BA3E0EC00E83097 /* QuickTimeMov.swift */,
@ -540,6 +702,7 @@
75FEE6032BA3E14A00E83097 /* PrefixHeader.swift */,
75A8F0E72BB3F76E004B0F5C /* historyManager.swift */,
75FDC0B92BCE5461005B3D13 /* AccountManager.swift */,
757DA8B72C1BE33D0046CAB6 /* stringADID.swift */,
);
path = Tool;
sourceTree = "<group>";
@ -571,7 +734,8 @@
75E288A32BA0542F0049AB56 /* json */ = {
isa = PBXGroup;
children = (
757E9AF12BD26A8000EF854A /* GoogleService-Info.plist */,
752FFF912C48FEBE00FDA982 /* rank.json */,
752FFF792C48B7EB00FDA982 /* GoogleService-Info.plist */,
75A8F1252BB54082004B0F5C /* my_wallpaper.json */,
75A8F10B2BB42A32004B0F5C /* rankJson.json */,
759BB0612BAD35D6001C0031 /* loadProgress.json */,
@ -611,6 +775,8 @@
dependencies = (
);
name = wallpaper_project;
packageProductDependencies = (
);
productName = wallpaper_project;
productReference = 75E2881D2B9EB0700049AB56 /* wallpaper_project.app */;
productType = "com.apple.product-type.application";
@ -683,6 +849,8 @@
Base,
);
mainGroup = 75E288142B9EB0700049AB56;
packageReferences = (
);
productRefGroup = 75E2881E2B9EB0700049AB56 /* Products */;
projectDirPath = "";
projectRoot = "";
@ -703,6 +871,7 @@
75A8F0EC2BB3FA69004B0F5C /* WA_HistoryVC.xib in Resources */,
75E2882D2B9EB0730049AB56 /* LaunchScreen.storyboard in Resources */,
759BB0602BABE3EC001C0031 /* loanding.json in Resources */,
75B1CD442C6E0DD50092ED40 /* WA_player4kVC.xib in Resources */,
75FEE60C2BA4212B00E83097 /* WA_tipCell.xib in Resources */,
75E2882A2B9EB0730049AB56 /* Assets.xcassets in Resources */,
75A8F14F2BB66017004B0F5C /* WA_SCVC.xib in Resources */,
@ -713,15 +882,20 @@
75E288792B9ED2A70049AB56 /* WA_4KVC.xib in Resources */,
75A8F1392BB54664004B0F5C /* WA_NewHometypeCell.xib in Resources */,
75A8F1022BB40F6F004B0F5C /* WA_RakingCell.xib in Resources */,
75B1CD462C6E0DD50092ED40 /* WA_playerRankVC.xib in Resources */,
75A8F1352BB54519004B0F5C /* WA_BannerPagerCell.xib in Resources */,
75B1CD422C6E0DD50092ED40 /* WA_CommunityPlayerVC.xib in Resources */,
75AF74792C60A8E200C1DB9C /* LUXTopbtnVC.xib in Resources */,
75A8F11B2BB51092004B0F5C /* WA_RKDetailsVC.xib in Resources */,
75E2887E2B9EDDC60049AB56 /* WA_WallpaperCollectionCell.xib in Resources */,
75A8F13D2BB547A9004B0F5C /* WA_NHTypeCollectCell.xib in Resources */,
75E288662B9EB2CF0049AB56 /* WA_HomeVC.xib in Resources */,
757E9AF22BD26A8000EF854A /* GoogleService-Info.plist in Resources */,
752FFF7A2C48B7EB00FDA982 /* GoogleService-Info.plist in Resources */,
75E288872B9EEA820049AB56 /* 4k.json in Resources */,
75A8F0F02BB3FADF004B0F5C /* WA_HistoryCell.xib in Resources */,
75E2889D2BA034140049AB56 /* WA_LiveVideoVC.xib in Resources */,
752FFF8E2C48F4E400FDA982 /* WA_RankCollectionViewCell.xib in Resources */,
75B1CD402C6E0DD50092ED40 /* WA_AddPlayerVC.xib in Resources */,
75A8F1232BB510D1004B0F5C /* WA_RKTopCell.xib in Resources */,
75A8F1312BB54459004B0F5C /* WA_NewHomeBannerCell.xib in Resources */,
75E288952B9FED680049AB56 /* WA_PreView.xib in Resources */,
@ -732,16 +906,19 @@
75A8F0E62BB3F2A6004B0F5C /* WA_RankingVC.xib in Resources */,
75E288752B9ED2970049AB56 /* WA_LIVEVC.xib in Resources */,
75A8F1222BB510D1004B0F5C /* WA_RKPLCell.xib in Resources */,
752FFF872C48EC5000FDA982 /* WA_RankVC.xib in Resources */,
75A8F1262BB54083004B0F5C /* my_wallpaper.json in Resources */,
75A8F0FD2BB3FE0D004B0F5C /* WA_histortRankig.xib in Resources */,
75A8F1182BB42B43004B0F5C /* WA_MineVC.xib in Resources */,
75E288892B9EEA910049AB56 /* live.json in Resources */,
75A8F1472BB57742004B0F5C /* WA_ToDayCollectCell.xib in Resources */,
752FFF922C48FEBE00FDA982 /* rank.json in Resources */,
75200B6E2BA7D34F00BA65FD /* WA_limitsVCViewController.xib in Resources */,
75A8F1432BB576C2004B0F5C /* WA_TodayCell.xib in Resources */,
75E288822B9EE56C0049AB56 /* 3d.json in Resources */,
75FEE6082BA420C400E83097 /* WA_TipVC.xib in Resources */,
75A8F12A2BB54220004B0F5C /* WA_NewHomeVC.xib in Resources */,
75B1CD482C6E0DD50092ED40 /* WA_playerVC.xib in Resources */,
75A8F0F92BB3FDFE004B0F5C /* WA_history4K.xib in Resources */,
75A14D942BA1A9760091D9AD /* WA_PrivacyVC.xib in Resources */,
75A8F0F52BB3FDE9004B0F5C /* WA_historyLive.xib in Resources */,
@ -829,24 +1006,37 @@
buildActionMask = 2147483647;
files = (
75A8F14E2BB66017004B0F5C /* WA_SCVC.swift in Sources */,
752FFF882C48EC5000FDA982 /* WA_RankVC.swift in Sources */,
75A8F1242BB510D1004B0F5C /* WA_RKPLCell.swift in Sources */,
75AF74732C609F3000C1DB9C /* threeVC.swift in Sources */,
75A8F0F42BB3FDE9004B0F5C /* WA_historyLive.swift in Sources */,
75AF74652C6067B700C1DB9C /* LUXTopOnVC.swift in Sources */,
75B1CD452C6E0DD50092ED40 /* WA_playerRankVC.swift in Sources */,
75D453892C0EE875003B6B24 /* idfaManager.swift in Sources */,
752FFF8F2C48F4E400FDA982 /* WA_RankCollectionViewCell.swift in Sources */,
75E2887D2B9EDDC60049AB56 /* WA_WallpaperCollectionCell.swift in Sources */,
75E2889F2BA043960049AB56 /* videoURL.swift in Sources */,
75A8F1212BB510D1004B0F5C /* WA_RKTopCell.swift in Sources */,
7565BDC42C5D10B9004602CA /* initializationTopOn.m in Sources */,
75FEE5FF2BA3E0ED00E83097 /* QuickTimeMov.swift in Sources */,
75FEE6042BA3E14A00E83097 /* PrefixHeader.swift in Sources */,
75A8F0FC2BB3FE0D004B0F5C /* WA_histortRankig.swift in Sources */,
75E2885C2B9EB22E0049AB56 /* WA_RootNAV.swift in Sources */,
752FFF8A2C48F35F00FDA982 /* custlayout.swift in Sources */,
75B1CD412C6E0DD50092ED40 /* WA_CommunityPlayerVC.swift in Sources */,
75A8F1172BB42B43004B0F5C /* WA_MineVC.swift in Sources */,
75E2886D2B9EB48A0049AB56 /* colorManager.swift in Sources */,
75FEE6012BA3E0ED00E83097 /* Toast.swift in Sources */,
75D4538F2C0EFE3A003B6B24 /* NetworkManager.swift in Sources */,
75A8F0E52BB3F2A6004B0F5C /* WA_RankingVC.swift in Sources */,
75E2885A2B9EB22E0049AB56 /* WA_TabButton.swift in Sources */,
75D4538C2C0EE949003B6B24 /* ipManager.swift in Sources */,
75A8F11C2BB51092004B0F5C /* WA_RKDetailsVC.swift in Sources */,
75E2885B2B9EB22E0049AB56 /* WA_TabbarCommon.swift in Sources */,
75AF746A2C60685600C1DB9C /* LUXTopOnConfigure.swift in Sources */,
75A8F14A2BB57C2D004B0F5C /* WA_MonRankngCell.swift in Sources */,
75A8F0E82BB3F76E004B0F5C /* historyManager.swift in Sources */,
75AF74682C60682200C1DB9C /* LUXToponManager.swift in Sources */,
75A8F13F2BB56338004B0F5C /* WallpaperModel.swift in Sources */,
75A8F1462BB57742004B0F5C /* WA_ToDayCollectCell.swift in Sources */,
75E2889C2BA034140049AB56 /* WA_LiveVideoVC.swift in Sources */,
@ -854,6 +1044,7 @@
75FEE5F92BA3037000E83097 /* testVideoVC.swift in Sources */,
75A8F10A2BB4286A004B0F5C /* WA_RakModel.swift in Sources */,
75A8F1052BB41211004B0F5C /* WA_AddVC.swift in Sources */,
75B1CD3F2C6E0DD50092ED40 /* WA_AddPlayerVC.swift in Sources */,
75A8F0EF2BB3FADF004B0F5C /* WA_HistoryCell.swift in Sources */,
75FEE6072BA420C400E83097 /* WA_TipVC.swift in Sources */,
75A8F0EB2BB3FA69004B0F5C /* WA_HistoryVC.swift in Sources */,
@ -861,22 +1052,29 @@
75A14D932BA1A9760091D9AD /* WA_PrivacyVC.swift in Sources */,
75A8F1012BB40F6F004B0F5C /* WA_RakingCell.swift in Sources */,
75E2885D2B9EB22E0049AB56 /* WA_RootTab.swift in Sources */,
757DA8B82C1BE33E0046CAB6 /* stringADID.swift in Sources */,
75E288252B9EB0700049AB56 /* ViewController.swift in Sources */,
75AF746C2C606C2A00C1DB9C /* LUXNetWorkManager.swift in Sources */,
75E288852B9EE5A50049AB56 /* WA_3DModel.swift in Sources */,
75AF74712C609F2400C1DB9C /* twovc.swift in Sources */,
75200B6D2BA7D34F00BA65FD /* WA_limitsVCViewController.swift in Sources */,
75E288212B9EB0700049AB56 /* AppDelegate.swift in Sources */,
75A8F1302BB54459004B0F5C /* WA_NewHomeBannerCell.swift in Sources */,
75E288782B9ED2A70049AB56 /* WA_4KVC.swift in Sources */,
75FEE60B2BA4212B00E83097 /* WA_tipCell.swift in Sources */,
75B1CD472C6E0DD50092ED40 /* WA_playerVC.swift in Sources */,
75FEE6022BA3E0ED00E83097 /* JPEG.swift in Sources */,
75A8F13C2BB547A9004B0F5C /* WA_NHTypeCollectCell.swift in Sources */,
75B1CD432C6E0DD50092ED40 /* WA_player4kVC.swift in Sources */,
75A8F0F82BB3FDFE004B0F5C /* WA_history4K.swift in Sources */,
75E288742B9ED2970049AB56 /* WA_LIVEVC.swift in Sources */,
75E288802B9EE36A0049AB56 /* CustomCollectionViewFlowLayout.swift in Sources */,
75FDC0BA2BCE5461005B3D13 /* AccountManager.swift in Sources */,
75AF74782C60A8E200C1DB9C /* LUXTopbtnVC.swift in Sources */,
75FEE6002BA3E0ED00E83097 /* DTOtherMacro.swift in Sources */,
75A8F1292BB54220004B0F5C /* WA_NewHomeVC.swift in Sources */,
75E288592B9EB22E0049AB56 /* WA_RootVC.swift in Sources */,
75AF746F2C609F1C00C1DB9C /* OneVc.swift in Sources */,
75A8F1152BB42B43004B0F5C /* WA_LoginVC.swift in Sources */,
75E288932B9FED590049AB56 /* WA_PreView.swift in Sources */,
75E2888C2B9EFC040049AB56 /* WA_DetailsVC.swift in Sources */,
@ -990,7 +1188,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 17.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
@ -1047,7 +1245,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 17.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
@ -1077,8 +1275,9 @@
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = wallpaper_project/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = "Wallpaper Home";
INFOPLIST_KEY_NSPhotoLibraryAddUsageDescription = "We need to save the photo to your album so you can share and save your work";
INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "We need to save the photo to your album so you can share and save your work";
INFOPLIST_KEY_NSPhotoLibraryAddUsageDescription = "Wallpaper Home needs access to your photo album to update your profile picture, save wallpapers to your album, and share updates within the community.";
INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "Wallpaper Home needs access to your photo album to update your profile picture, save wallpapers to your album, and share updates within the community.";
INFOPLIST_KEY_NSUserTrackingUsageDescription = "\"Wallpaper Home\" needs to request tracking permissions to provide a personalized advertising experience. We respect and protect your privacy and will not sell your data to third parties.";
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
INFOPLIST_KEY_UIMainStoryboardFile = Main;
@ -1088,7 +1287,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 2.0;
MARKETING_VERSION = 3.8;
ONLY_ACTIVE_ARCH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.wallpapaer.hd.live.app;
PRODUCT_NAME = "$(TARGET_NAME)";
@ -1096,6 +1295,7 @@
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_OBJC_BRIDGING_HEADER = "$(SRCROOT)/wallpaper_project/Header/Wallpaper_Header.h";
SWIFT_VERSION = 5.0;
@ -1122,8 +1322,9 @@
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = wallpaper_project/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = "Wallpaper Home";
INFOPLIST_KEY_NSPhotoLibraryAddUsageDescription = "We need to save the photo to your album so you can share and save your work";
INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "We need to save the photo to your album so you can share and save your work";
INFOPLIST_KEY_NSPhotoLibraryAddUsageDescription = "Wallpaper Home needs access to your photo album to update your profile picture, save wallpapers to your album, and share updates within the community.";
INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "Wallpaper Home needs access to your photo album to update your profile picture, save wallpapers to your album, and share updates within the community.";
INFOPLIST_KEY_NSUserTrackingUsageDescription = "\"Wallpaper Home\" needs to request tracking permissions to provide a personalized advertising experience. We respect and protect your privacy and will not sell your data to third parties.";
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
INFOPLIST_KEY_UIMainStoryboardFile = Main;
@ -1133,7 +1334,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 2.0;
MARKETING_VERSION = 3.8;
ONLY_ACTIVE_ARCH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.wallpapaer.hd.live.app;
PRODUCT_NAME = "$(TARGET_NAME)";
@ -1141,6 +1342,7 @@
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_OBJC_BRIDGING_HEADER = "$(SRCROOT)/wallpaper_project/Header/Wallpaper_Header.h";
SWIFT_VERSION = 5.0;
@ -1156,13 +1358,17 @@
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
GENERATE_INFOPLIST_FILE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 17.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = "com.520.cn.wallpaper-projectTests";
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TARGETED_DEVICE_FAMILY = 1;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/wallpaper_project.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/wallpaper_project";
};
name = Debug;
@ -1175,13 +1381,17 @@
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
GENERATE_INFOPLIST_FILE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 17.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = "com.520.cn.wallpaper-projectTests";
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TARGETED_DEVICE_FAMILY = 1;
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/wallpaper_project.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/wallpaper_project";
};
name = Release;
@ -1196,9 +1406,13 @@
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = "com.520.cn.wallpaper-projectUITests";
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TARGETED_DEVICE_FAMILY = 1;
TEST_TARGET_NAME = wallpaper_project;
};
name = Debug;
@ -1213,9 +1427,13 @@
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = "com.520.cn.wallpaper-projectUITests";
PRODUCT_NAME = "$(TARGET_NAME)";
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
SUPPORTS_MACCATALYST = NO;
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TARGETED_DEVICE_FAMILY = 1;
TEST_TARGET_NAME = wallpaper_project;
};
name = Release;

View File

@ -0,0 +1,222 @@
//
// AppDelegate.swift
// wallpaper_project
import UIKit
import IQKeyboardManagerSwift
import AppLovinSDK
import FirebaseCore
import FirebaseAnalytics
import Alamofire
import FBSDKCoreKit
import MTGSDK
import AnyThinkSDK
@main
class AppDelegate: UIResponder, UIApplicationDelegate {
var overlayWindow: UIWindow?
var logTextView: UITextView?
var wasInBackground = false
static var shared: AppDelegate {
return UIApplication.shared.delegate as! AppDelegate
}
var isFirstLaunchq: Bool = true
var window: UIWindow?
var interstitialAd: MAInterstitialAd!
var retryAttempt = 0.0
var adCheckTimer: Timer?
var adCheckStartTime: Date?
let hasLaunchedBeforeKey = "hasLaunchedBefore"
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
FirebaseApp.configure()
ApplicationDelegate.shared.application(application, didFinishLaunchingWithOptions: launchOptions)
IQKeyboardManager.shared.enable = true
let splashViewController = WA_limitsVCViewController()
//
window = UIWindow(frame: UIScreen.main.bounds)
window?.rootViewController = splashViewController
self.window?.makeKeyAndVisible()
setdispatch()
initializationTopOn.toponeSDK()
let userDefaults = UserDefaults.standard
if userDefaults.bool(forKey: hasLaunchedBeforeKey){
let tt = UserDefaults.standard
print("-------\(tt.bool(forKey: "iswindows"))")
}else{
//
UserDefaults.standard.set(true, forKey: hasLaunchedBeforeKey)
UserDefaults.standard.set(false, forKey: "iswindows")
}
Analytics.logEvent("goin_app", parameters: nil)
//
if #available(iOS 13.0, *) {
window?.overrideUserInterfaceStyle = .light
}
return true
}
func application(_ app: UIApplication,open url: URL,options:[UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
ApplicationDelegate.shared.application(
app,
open: url,
sourceApplication: options[UIApplication.OpenURLOptionsKey.sourceApplication] as? String,
annotation: options[UIApplication.OpenURLOptionsKey.annotation]
)
}
func applicationDidEnterBackground(_ application: UIApplication) {
}
func applicationWillEnterForeground(_ application: UIApplication) {
}
func applicationDidBecomeActive(_ application: UIApplication) {
}
func setdispatch(){
// 使
let dispatchGroup = DispatchGroup()
// IDFA
dispatchGroup.enter()
DispatchQueue.global(qos: .background).async {
requestTrackingAuthorization { idfa in
DispatchQueue.main.async {
if let idfa = idfa {
print("IDFA: \(idfa)")
StartManager.shared.idfaid = idfa
print("Stored IDFA: \(StartManager.shared.idfaid ?? "N/A")")
} else {
print("IDFA is not available or tracking authorization denied.")
}
dispatchGroup.leave()
}
}
}
// IP
dispatchGroup.enter()
DispatchQueue.global(qos: .background).async {
if let localIP = getLocalIPAddress() {
DispatchQueue.main.async {
print("Local IP Address: \(localIP)")
StartManager.shared.localIP = localIP
dispatchGroup.leave()
}
} else {
DispatchQueue.main.async {
print("Local IP Address not available")
dispatchGroup.leave()
}
}
}
// IP
dispatchGroup.enter()
DispatchQueue.global(qos: .background).async {
getPublicIPAddress { publicIP in
DispatchQueue.main.async {
if let publicIP = publicIP {
print("Public IP Address: \(publicIP)")
StartManager.shared.publicIP = publicIP
print("Stored Public IP Address: \(StartManager.shared.publicIP ?? "N/A")")
} else {
print("Public IP Address not available")
}
dispatchGroup.leave()
}
}
}
// ID
dispatchGroup.enter()
DispatchQueue.global(qos: .background).async {
let deviceID = UIDevice.current.identifierForVendor?.uuidString
DispatchQueue.main.async {
StartManager.shared.devicID = deviceID
print("Device ID: \(StartManager.shared.devicID ?? "N/A")")
dispatchGroup.leave()
}
}
//
dispatchGroup.notify(queue: .main) {
print("All tasks are completed.")
}
}
func showOverlayWindow() {
//
let overlaySize = CGSize(width: 200, height: 300)
let overlayOrigin = CGPoint(x: UIScreen.main.bounds.width - overlaySize.width,
y: (UIScreen.main.bounds.height - overlaySize.height) - 200)
overlayWindow = UIWindow(frame: CGRect(origin: overlayOrigin, size: overlaySize))
//
overlayWindow?.windowLevel = UIWindow.Level.statusBar + 1
overlayWindow!.isUserInteractionEnabled = true
//
let overlayView = UIView(frame: overlayWindow!.bounds)
overlayView.isUserInteractionEnabled = true
overlayView.backgroundColor = UIColor.red.withAlphaComponent(0.5) //
overlayWindow?.addSubview(overlayView)
// let btn = UIButton(frame: overlayWindow!.bounds)
// btn.addTarget(self, action: #selector(showOverlayView), for: .touchUpInside)
// TextView
logTextView = UITextView(frame: overlayView.bounds.insetBy(dx: 10, dy: 10))
logTextView?.backgroundColor = UIColor.clear
logTextView?.textColor = UIColor.white
logTextView?.isEditable = false
logTextView?.isScrollEnabled = true
overlayView.addSubview(logTextView!)
// overlayView.addSubview(btn)
//
// overlayWindow?.rootViewController = UIViewController()
overlayWindow?.isHidden = false
}
func removeOverlayWindow() {
overlayWindow?.isHidden = true //
overlayWindow = nil //
}
func addLogMessage(_ message: String) {
if logTextView != nil {
let currentText = logTextView?.text ?? ""
let updatedText = "\(message)\n\n\(currentText)"
logTextView?.text = updatedText
//
let range = NSMakeRange(0, 0)
logTextView?.scrollRangeToVisible(range)
} else {
print("Log TextView is not initialized.")
}
}
}

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "post@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "post@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

@ -0,0 +1,14 @@
{
"images" : [
{
"filename" : "logo.jpeg",
"idiom" : "universal",
"platform" : "ios",
"size" : "1024x1024"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1015 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -0,0 +1,23 @@
{
"images" : [
{
"filename" : "Community_off.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Community_off@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Community_off@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -0,0 +1,23 @@
{
"images" : [
{
"filename" : "Community_on.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "Community_on@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "Community_on@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

View File

Before

Width:  |  Height:  |  Size: 317 B

After

Width:  |  Height:  |  Size: 317 B

View File

Before

Width:  |  Height:  |  Size: 97 KiB

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

View File

@ -1,15 +1,16 @@
{
"images" : [
{
"filename" : "Image.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "4k@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "4k@3x.png",
"idiom" : "universal",
"scale" : "3x"
}

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "banner1@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "banner1@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 426 KiB

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "banner2@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "banner2@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 359 KiB

View File

@ -0,0 +1,22 @@
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "banner3@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "banner3@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

Some files were not shown because too many files have changed in this diff Show More