From 1d932ecec92af5f363fd51579a0713f7bd30192c Mon Sep 17 00:00:00 2001 From: Bilal Date: Tue, 20 Aug 2024 23:47:15 +0530 Subject: [PATCH] fixed theme 1 moving live tv going out of frame, fixed autolayout for theme 1 --- WOKA.xcodeproj/project.pbxproj | 16 +- WOKA/Home/Controller/MyListVC.swift | 4 +- WOKA/Theme/Base.lproj/Theme.storyboard | 240 ++++++++++++------------- WOKA/Theme/Controller/PlayerVC.swift | 17 +- WOKA/Theme/Controller/ThemeOneVC.swift | 6 +- WOKA/Theme/ViewModel/PlayerVM.swift | 2 +- WOKA/Theme/ViewModel/ThemeOneVM.swift | 80 +++++---- 7 files changed, 187 insertions(+), 178 deletions(-) diff --git a/WOKA.xcodeproj/project.pbxproj b/WOKA.xcodeproj/project.pbxproj index f0c5884..72e9a9a 100644 --- a/WOKA.xcodeproj/project.pbxproj +++ b/WOKA.xcodeproj/project.pbxproj @@ -12,7 +12,6 @@ 5202AB012BDFA7900043B7BD /* EmailValidation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5202AB002BDFA7900043B7BD /* EmailValidation.swift */; }; 520346962C64E29A00D0BD20 /* MyListViewAllCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 520346952C64E29A00D0BD20 /* MyListViewAllCell.xib */; }; 520346972C64E29A00D0BD20 /* MyListViewAllCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 520346942C64E29A00D0BD20 /* MyListViewAllCell.swift */; }; - 520B15092C74652D00C14E5E /* WOKA.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 520B15072C74652D00C14E5E /* WOKA.xcdatamodeld */; }; 520B150B2C746A2700C14E5E /* UsernameCheckVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 520B150A2C746A2700C14E5E /* UsernameCheckVC.swift */; }; 520B150D2C746AFF00C14E5E /* UserNameDM.swift in Sources */ = {isa = PBXBuildFile; fileRef = 520B150C2C746AFF00C14E5E /* UserNameDM.swift */; }; 520CE6AD2C7483CE00974228 /* PopViewControllerGeneric.swift in Sources */ = {isa = PBXBuildFile; fileRef = 520CE6AC2C7483CE00974228 /* PopViewControllerGeneric.swift */; }; @@ -322,6 +321,7 @@ 9C9BEEC72BEE1BBF004ECC2F /* CollectionViewCenteredFlowLayout.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9C9BEEC62BEE1BBF004ECC2F /* CollectionViewCenteredFlowLayout.swift */; }; 9CA7C6C02C1093E500D73742 /* ProfileVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9CA7C6BF2C1093E500D73742 /* ProfileVC.swift */; }; 9CA7C6C22C1095B600D73742 /* ProfileVM.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9CA7C6C12C1095B600D73742 /* ProfileVM.swift */; }; + 9CB06D2C2C7506B500B82096 /* WOKA.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 9CB06D2A2C7506B500B82096 /* WOKA.xcdatamodeld */; }; 9CB3D0852C37BA530062869D /* Karaoke.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 9CB3D0842C37BA530062869D /* Karaoke.storyboard */; }; 9CB3D08B2C37BBA50062869D /* KaraokeListingVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9CB3D08A2C37BBA50062869D /* KaraokeListingVC.swift */; }; 9CB3D08D2C37CDD60062869D /* KaraokeListingVM.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9CB3D08C2C37CDD50062869D /* KaraokeListingVM.swift */; }; @@ -403,7 +403,6 @@ 5202AB002BDFA7900043B7BD /* EmailValidation.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EmailValidation.swift; sourceTree = ""; }; 520346942C64E29A00D0BD20 /* MyListViewAllCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MyListViewAllCell.swift; sourceTree = ""; }; 520346952C64E29A00D0BD20 /* MyListViewAllCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MyListViewAllCell.xib; sourceTree = ""; }; - 520B15082C74652D00C14E5E /* WOKA.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = WOKA.xcdatamodel; sourceTree = ""; }; 520B150A2C746A2700C14E5E /* UsernameCheckVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UsernameCheckVC.swift; sourceTree = ""; }; 520B150C2C746AFF00C14E5E /* UserNameDM.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UserNameDM.swift; sourceTree = ""; }; 520B6E3E2C0751E90091C478 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Theme.strings; sourceTree = ""; }; @@ -709,6 +708,7 @@ 9C9BEEC62BEE1BBF004ECC2F /* CollectionViewCenteredFlowLayout.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CollectionViewCenteredFlowLayout.swift; sourceTree = ""; }; 9CA7C6BF2C1093E500D73742 /* ProfileVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ProfileVC.swift; sourceTree = ""; }; 9CA7C6C12C1095B600D73742 /* ProfileVM.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ProfileVM.swift; sourceTree = ""; }; + 9CB06D2B2C7506B500B82096 /* WOKA.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = WOKA.xcdatamodel; sourceTree = ""; }; 9CB3D0842C37BA530062869D /* Karaoke.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = Karaoke.storyboard; sourceTree = ""; }; 9CB3D08A2C37BBA50062869D /* KaraokeListingVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KaraokeListingVC.swift; sourceTree = ""; }; 9CB3D08C2C37CDD50062869D /* KaraokeListingVM.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KaraokeListingVM.swift; sourceTree = ""; }; @@ -944,7 +944,7 @@ 9C535DC82C00C34000DA6DCD /* Theme */, 52DAC6462C21761700E2F85B /* WebSeries */, 9C834ED92C1C20EC00B29A9C /* WOKA.entitlements */, - 520B15072C74652D00C14E5E /* WOKA.xcdatamodeld */, + 9CB06D2A2C7506B500B82096 /* WOKA.xcdatamodeld */, 52ACC1292C610EC900791528 /* PersistentStorage.swift */, ); path = WOKA; @@ -2266,7 +2266,6 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 520B15092C74652D00C14E5E /* WOKA.xcdatamodeld in Sources */, 9C535DC62C00BF2400DA6DCD /* HomeExploreCell.swift in Sources */, 52D774EF2BDFC50D001D87DE /* StringValidations.swift in Sources */, 52A6DCC52C4F8EA800F63C51 /* CartListVC.swift in Sources */, @@ -2461,6 +2460,7 @@ 52ACC1262C610CBC00791528 /* UserClicks+CoreDataProperties.swift in Sources */, 9CBCB29D2BE4D6BB007D7934 /* LoginVM.swift in Sources */, 52BBFCB42C5275E100F7D0D1 /* AddressListVM.swift in Sources */, + 9CB06D2C2C7506B500B82096 /* WOKA.xcdatamodeld in Sources */, 524C42312C0499560016A11C /* NotificationCenterReloads.swift in Sources */, 9C8C4FAE2C1315410017DD3B /* WebViewVC.swift in Sources */, 52BBFCB62C52764B00F7D0D1 /* AddressListDM.swift in Sources */, @@ -3096,14 +3096,14 @@ /* End XCSwiftPackageProductDependency section */ /* Begin XCVersionGroup section */ - 520B15072C74652D00C14E5E /* WOKA.xcdatamodeld */ = { + 9CB06D2A2C7506B500B82096 /* WOKA.xcdatamodeld */ = { isa = XCVersionGroup; children = ( - 520B15082C74652D00C14E5E /* WOKA.xcdatamodel */, + 9CB06D2B2C7506B500B82096 /* WOKA.xcdatamodel */, ); - currentVersion = 520B15082C74652D00C14E5E /* WOKA.xcdatamodel */; + currentVersion = 9CB06D2B2C7506B500B82096 /* WOKA.xcdatamodel */; name = WOKA.xcdatamodeld; - path = /Users/macbookpro/Desktop/WOKA/WOKA/WOKA.xcdatamodeld; + path = /Users/bilal/Desktop/woka_native_ios_swift/WOKA/WOKA.xcdatamodeld; sourceTree = ""; versionGroupType = wrapper.xcdatamodel; }; diff --git a/WOKA/Home/Controller/MyListVC.swift b/WOKA/Home/Controller/MyListVC.swift index 881a1ea..023c034 100644 --- a/WOKA/Home/Controller/MyListVC.swift +++ b/WOKA/Home/Controller/MyListVC.swift @@ -288,9 +288,9 @@ extension MyListVC : CollectionViewSRC{ // } } - cell.btnTapped = { [self] (type) -> Void in +// cell.btnTapped = { [self] (type) -> Void in // updateFavLikes(cv: collectionView, type: type, index: indexPath.row) - } +// } return cell } diff --git a/WOKA/Theme/Base.lproj/Theme.storyboard b/WOKA/Theme/Base.lproj/Theme.storyboard index 73c3bc9..e61bb71 100644 --- a/WOKA/Theme/Base.lproj/Theme.storyboard +++ b/WOKA/Theme/Base.lproj/Theme.storyboard @@ -1,6 +1,6 @@ - + @@ -23,43 +23,43 @@ - + - + - + - + - + - + - + - + - + @@ -144,23 +144,23 @@ - + - + - + - + - + @@ -184,7 +184,7 @@ - + - + - + @@ -661,16 +657,16 @@ - + - + @@ -707,21 +703,21 @@ - + - +