Merge remote-tracking branch 'origin/feat/telco_vc' into swift_sdk_development
Showing
9 changed files
with
233 additions
and
50 deletions
.DS_Store
deleted
100644 → 0
No preview for this file type
SwiftWarplyFramework/.DS_Store
deleted
100644 → 0
No preview for this file type
... | @@ -177,44 +177,7 @@ | ... | @@ -177,44 +177,7 @@ |
177 | /* End PBXSourcesBuildPhase section */ | 177 | /* End PBXSourcesBuildPhase section */ |
178 | 178 | ||
179 | /* Begin XCBuildConfiguration section */ | 179 | /* Begin XCBuildConfiguration section */ |
180 | - 2FB085E6D4DC89CA0924828582F32C69 /* Debug */ = { | 180 | + 8C3E239946F02EEF0EA8A796F2493F7E /* Release */ = { |
181 | - isa = XCBuildConfiguration; | ||
182 | - baseConfigurationReference = 0AB974C2109C7DBBE55E5D7D226F4EBE /* Pods-SwiftWarplyFramework.debug.xcconfig */; | ||
183 | - buildSettings = { | ||
184 | - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; | ||
185 | - CLANG_ENABLE_OBJC_WEAK = NO; | ||
186 | - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; | ||
187 | - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; | ||
188 | - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; | ||
189 | - CURRENT_PROJECT_VERSION = 1; | ||
190 | - DEFINES_MODULE = YES; | ||
191 | - DYLIB_COMPATIBILITY_VERSION = 1; | ||
192 | - DYLIB_CURRENT_VERSION = 1; | ||
193 | - DYLIB_INSTALL_NAME_BASE = "@rpath"; | ||
194 | - INFOPLIST_FILE = "Target Support Files/Pods-SwiftWarplyFramework/Pods-SwiftWarplyFramework-Info.plist"; | ||
195 | - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; | ||
196 | - IPHONEOS_DEPLOYMENT_TARGET = 15.4; | ||
197 | - LD_RUNPATH_SEARCH_PATHS = ( | ||
198 | - "$(inherited)", | ||
199 | - "@executable_path/Frameworks", | ||
200 | - "@loader_path/Frameworks", | ||
201 | - ); | ||
202 | - MACH_O_TYPE = staticlib; | ||
203 | - MODULEMAP_FILE = "Target Support Files/Pods-SwiftWarplyFramework/Pods-SwiftWarplyFramework.modulemap"; | ||
204 | - OTHER_LDFLAGS = ""; | ||
205 | - OTHER_LIBTOOLFLAGS = ""; | ||
206 | - PODS_ROOT = "$(SRCROOT)"; | ||
207 | - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; | ||
208 | - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; | ||
209 | - SDKROOT = iphoneos; | ||
210 | - SKIP_INSTALL = YES; | ||
211 | - TARGETED_DEVICE_FAMILY = "1,2"; | ||
212 | - VERSIONING_SYSTEM = "apple-generic"; | ||
213 | - VERSION_INFO_PREFIX = ""; | ||
214 | - }; | ||
215 | - name = Debug; | ||
216 | - }; | ||
217 | - 586B3BFF50D4BA81FB04AF75C4E6F2EB /* Release */ = { | ||
218 | isa = XCBuildConfiguration; | 181 | isa = XCBuildConfiguration; |
219 | baseConfigurationReference = 9C56DCEAAECE1BF9FFCB6DA961E060A0 /* Pods-SwiftWarplyFramework.release.xcconfig */; | 182 | baseConfigurationReference = 9C56DCEAAECE1BF9FFCB6DA961E060A0 /* Pods-SwiftWarplyFramework.release.xcconfig */; |
220 | buildSettings = { | 183 | buildSettings = { |
... | @@ -230,7 +193,7 @@ | ... | @@ -230,7 +193,7 @@ |
230 | DYLIB_INSTALL_NAME_BASE = "@rpath"; | 193 | DYLIB_INSTALL_NAME_BASE = "@rpath"; |
231 | INFOPLIST_FILE = "Target Support Files/Pods-SwiftWarplyFramework/Pods-SwiftWarplyFramework-Info.plist"; | 194 | INFOPLIST_FILE = "Target Support Files/Pods-SwiftWarplyFramework/Pods-SwiftWarplyFramework-Info.plist"; |
232 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; | 195 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; |
233 | - IPHONEOS_DEPLOYMENT_TARGET = 15.4; | 196 | + IPHONEOS_DEPLOYMENT_TARGET = 11.0; |
234 | LD_RUNPATH_SEARCH_PATHS = ( | 197 | LD_RUNPATH_SEARCH_PATHS = ( |
235 | "$(inherited)", | 198 | "$(inherited)", |
236 | "@executable_path/Frameworks", | 199 | "@executable_path/Frameworks", |
... | @@ -252,7 +215,7 @@ | ... | @@ -252,7 +215,7 @@ |
252 | }; | 215 | }; |
253 | name = Release; | 216 | name = Release; |
254 | }; | 217 | }; |
255 | - 92486E5E72E54FAF60E1A7D022C21B10 /* Release */ = { | 218 | + 903A0004D3E6651EFD5D2E16214D101B /* Release */ = { |
256 | isa = XCBuildConfiguration; | 219 | isa = XCBuildConfiguration; |
257 | buildSettings = { | 220 | buildSettings = { |
258 | ALWAYS_SEARCH_USER_PATHS = NO; | 221 | ALWAYS_SEARCH_USER_PATHS = NO; |
... | @@ -302,7 +265,7 @@ | ... | @@ -302,7 +265,7 @@ |
302 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | 265 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; |
303 | GCC_WARN_UNUSED_FUNCTION = YES; | 266 | GCC_WARN_UNUSED_FUNCTION = YES; |
304 | GCC_WARN_UNUSED_VARIABLE = YES; | 267 | GCC_WARN_UNUSED_VARIABLE = YES; |
305 | - IPHONEOS_DEPLOYMENT_TARGET = 15.4; | 268 | + IPHONEOS_DEPLOYMENT_TARGET = 11.0; |
306 | MTL_ENABLE_DEBUG_INFO = NO; | 269 | MTL_ENABLE_DEBUG_INFO = NO; |
307 | MTL_FAST_MATH = YES; | 270 | MTL_FAST_MATH = YES; |
308 | PRODUCT_NAME = "$(TARGET_NAME)"; | 271 | PRODUCT_NAME = "$(TARGET_NAME)"; |
... | @@ -314,7 +277,7 @@ | ... | @@ -314,7 +277,7 @@ |
314 | }; | 277 | }; |
315 | name = Release; | 278 | name = Release; |
316 | }; | 279 | }; |
317 | - 934ED2B84836A780113D1F63484628B2 /* Debug */ = { | 280 | + B4EFE046ACF8F37157F6E322C7FCFC28 /* Debug */ = { |
318 | isa = XCBuildConfiguration; | 281 | isa = XCBuildConfiguration; |
319 | buildSettings = { | 282 | buildSettings = { |
320 | ALWAYS_SEARCH_USER_PATHS = NO; | 283 | ALWAYS_SEARCH_USER_PATHS = NO; |
... | @@ -367,7 +330,7 @@ | ... | @@ -367,7 +330,7 @@ |
367 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | 330 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; |
368 | GCC_WARN_UNUSED_FUNCTION = YES; | 331 | GCC_WARN_UNUSED_FUNCTION = YES; |
369 | GCC_WARN_UNUSED_VARIABLE = YES; | 332 | GCC_WARN_UNUSED_VARIABLE = YES; |
370 | - IPHONEOS_DEPLOYMENT_TARGET = 15.4; | 333 | + IPHONEOS_DEPLOYMENT_TARGET = 11.0; |
371 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; | 334 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; |
372 | MTL_FAST_MATH = YES; | 335 | MTL_FAST_MATH = YES; |
373 | ONLY_ACTIVE_ARCH = YES; | 336 | ONLY_ACTIVE_ARCH = YES; |
... | @@ -380,14 +343,51 @@ | ... | @@ -380,14 +343,51 @@ |
380 | }; | 343 | }; |
381 | name = Debug; | 344 | name = Debug; |
382 | }; | 345 | }; |
346 | + D25A872A3923E080CEE85E5E489F52F1 /* Debug */ = { | ||
347 | + isa = XCBuildConfiguration; | ||
348 | + baseConfigurationReference = 0AB974C2109C7DBBE55E5D7D226F4EBE /* Pods-SwiftWarplyFramework.debug.xcconfig */; | ||
349 | + buildSettings = { | ||
350 | + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; | ||
351 | + CLANG_ENABLE_OBJC_WEAK = NO; | ||
352 | + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; | ||
353 | + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; | ||
354 | + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; | ||
355 | + CURRENT_PROJECT_VERSION = 1; | ||
356 | + DEFINES_MODULE = YES; | ||
357 | + DYLIB_COMPATIBILITY_VERSION = 1; | ||
358 | + DYLIB_CURRENT_VERSION = 1; | ||
359 | + DYLIB_INSTALL_NAME_BASE = "@rpath"; | ||
360 | + INFOPLIST_FILE = "Target Support Files/Pods-SwiftWarplyFramework/Pods-SwiftWarplyFramework-Info.plist"; | ||
361 | + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; | ||
362 | + IPHONEOS_DEPLOYMENT_TARGET = 11.0; | ||
363 | + LD_RUNPATH_SEARCH_PATHS = ( | ||
364 | + "$(inherited)", | ||
365 | + "@executable_path/Frameworks", | ||
366 | + "@loader_path/Frameworks", | ||
367 | + ); | ||
368 | + MACH_O_TYPE = staticlib; | ||
369 | + MODULEMAP_FILE = "Target Support Files/Pods-SwiftWarplyFramework/Pods-SwiftWarplyFramework.modulemap"; | ||
370 | + OTHER_LDFLAGS = ""; | ||
371 | + OTHER_LIBTOOLFLAGS = ""; | ||
372 | + PODS_ROOT = "$(SRCROOT)"; | ||
373 | + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; | ||
374 | + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; | ||
375 | + SDKROOT = iphoneos; | ||
376 | + SKIP_INSTALL = YES; | ||
377 | + TARGETED_DEVICE_FAMILY = "1,2"; | ||
378 | + VERSIONING_SYSTEM = "apple-generic"; | ||
379 | + VERSION_INFO_PREFIX = ""; | ||
380 | + }; | ||
381 | + name = Debug; | ||
382 | + }; | ||
383 | /* End XCBuildConfiguration section */ | 383 | /* End XCBuildConfiguration section */ |
384 | 384 | ||
385 | /* Begin XCConfigurationList section */ | 385 | /* Begin XCConfigurationList section */ |
386 | 0FEBE74A1ACE6D0CCBD55530A22DA04D /* Build configuration list for PBXNativeTarget "Pods-SwiftWarplyFramework" */ = { | 386 | 0FEBE74A1ACE6D0CCBD55530A22DA04D /* Build configuration list for PBXNativeTarget "Pods-SwiftWarplyFramework" */ = { |
387 | isa = XCConfigurationList; | 387 | isa = XCConfigurationList; |
388 | buildConfigurations = ( | 388 | buildConfigurations = ( |
389 | - 2FB085E6D4DC89CA0924828582F32C69 /* Debug */, | 389 | + D25A872A3923E080CEE85E5E489F52F1 /* Debug */, |
390 | - 586B3BFF50D4BA81FB04AF75C4E6F2EB /* Release */, | 390 | + 8C3E239946F02EEF0EA8A796F2493F7E /* Release */, |
391 | ); | 391 | ); |
392 | defaultConfigurationIsVisible = 0; | 392 | defaultConfigurationIsVisible = 0; |
393 | defaultConfigurationName = Release; | 393 | defaultConfigurationName = Release; |
... | @@ -395,8 +395,8 @@ | ... | @@ -395,8 +395,8 @@ |
395 | 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { | 395 | 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { |
396 | isa = XCConfigurationList; | 396 | isa = XCConfigurationList; |
397 | buildConfigurations = ( | 397 | buildConfigurations = ( |
398 | - 934ED2B84836A780113D1F63484628B2 /* Debug */, | 398 | + B4EFE046ACF8F37157F6E322C7FCFC28 /* Debug */, |
399 | - 92486E5E72E54FAF60E1A7D022C21B10 /* Release */, | 399 | + 903A0004D3E6651EFD5D2E16214D101B /* Release */, |
400 | ); | 400 | ); |
401 | defaultConfigurationIsVisible = 0; | 401 | defaultConfigurationIsVisible = 0; |
402 | defaultConfigurationName = Release; | 402 | defaultConfigurationName = Release; | ... | ... |
... | @@ -19,6 +19,7 @@ | ... | @@ -19,6 +19,7 @@ |
19 | 1EBE97212865EE460080EFF7 /* MFYInboxTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EBE97202865EE460080EFF7 /* MFYInboxTableViewCell.swift */; }; | 19 | 1EBE97212865EE460080EFF7 /* MFYInboxTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EBE97202865EE460080EFF7 /* MFYInboxTableViewCell.swift */; }; |
20 | 1EBF5F072840E13F00B8B17F /* SwiftEventBus in Frameworks */ = {isa = PBXBuildFile; productRef = 1EBF5F062840E13F00B8B17F /* SwiftEventBus */; }; | 20 | 1EBF5F072840E13F00B8B17F /* SwiftEventBus in Frameworks */ = {isa = PBXBuildFile; productRef = 1EBF5F062840E13F00B8B17F /* SwiftEventBus */; }; |
21 | 7630AD9A6242D60846D6750C /* Pods_SwiftWarplyFramework.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C0D5F56DD4E5371A50AD2D87 /* Pods_SwiftWarplyFramework.framework */; }; | 21 | 7630AD9A6242D60846D6750C /* Pods_SwiftWarplyFramework.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C0D5F56DD4E5371A50AD2D87 /* Pods_SwiftWarplyFramework.framework */; }; |
22 | + A02F34052882B6E60086465F /* TelcoViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A02F34042882B6E60086465F /* TelcoViewController.swift */; }; | ||
22 | E6A77853282933340045BBA8 /* SwiftWarplyFramework.docc in Sources */ = {isa = PBXBuildFile; fileRef = E6A77852282933340045BBA8 /* SwiftWarplyFramework.docc */; }; | 23 | E6A77853282933340045BBA8 /* SwiftWarplyFramework.docc in Sources */ = {isa = PBXBuildFile; fileRef = E6A77852282933340045BBA8 /* SwiftWarplyFramework.docc */; }; |
23 | E6A77854282933340045BBA8 /* SwiftWarplyFramework.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A77851282933340045BBA8 /* SwiftWarplyFramework.h */; settings = {ATTRIBUTES = (Public, ); }; }; | 24 | E6A77854282933340045BBA8 /* SwiftWarplyFramework.h in Headers */ = {isa = PBXBuildFile; fileRef = E6A77851282933340045BBA8 /* SwiftWarplyFramework.h */; settings = {ATTRIBUTES = (Public, ); }; }; |
24 | E6A778DF282933E60045BBA8 /* WarplyReactMethods.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A7785B282933E40045BBA8 /* WarplyReactMethods.m */; }; | 25 | E6A778DF282933E60045BBA8 /* WarplyReactMethods.m in Sources */ = {isa = PBXBuildFile; fileRef = E6A7785B282933E40045BBA8 /* WarplyReactMethods.m */; }; |
... | @@ -157,6 +158,7 @@ | ... | @@ -157,6 +158,7 @@ |
157 | 1EB5F4C728536FD60016F36E /* StepsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StepsViewController.swift; sourceTree = "<group>"; }; | 158 | 1EB5F4C728536FD60016F36E /* StepsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StepsViewController.swift; sourceTree = "<group>"; }; |
158 | 1EB5F4C9285370C90016F36E /* LoyaltyAnalysisViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LoyaltyAnalysisViewController.swift; sourceTree = "<group>"; }; | 159 | 1EB5F4C9285370C90016F36E /* LoyaltyAnalysisViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LoyaltyAnalysisViewController.swift; sourceTree = "<group>"; }; |
159 | 1EBE97202865EE460080EFF7 /* MFYInboxTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MFYInboxTableViewCell.swift; sourceTree = "<group>"; }; | 160 | 1EBE97202865EE460080EFF7 /* MFYInboxTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MFYInboxTableViewCell.swift; sourceTree = "<group>"; }; |
161 | + A02F34042882B6E60086465F /* TelcoViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TelcoViewController.swift; sourceTree = "<group>"; }; | ||
160 | A9B7BE01A4E812DE49866EF8 /* Pods-SwiftWarplyFramework.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwiftWarplyFramework.debug.xcconfig"; path = "Target Support Files/Pods-SwiftWarplyFramework/Pods-SwiftWarplyFramework.debug.xcconfig"; sourceTree = "<group>"; }; | 162 | A9B7BE01A4E812DE49866EF8 /* Pods-SwiftWarplyFramework.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwiftWarplyFramework.debug.xcconfig"; path = "Target Support Files/Pods-SwiftWarplyFramework/Pods-SwiftWarplyFramework.debug.xcconfig"; sourceTree = "<group>"; }; |
161 | B9EB8A451EF0C5AD75094EEE /* Pods-SwiftWarplyFramework.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwiftWarplyFramework.release.xcconfig"; path = "Target Support Files/Pods-SwiftWarplyFramework/Pods-SwiftWarplyFramework.release.xcconfig"; sourceTree = "<group>"; }; | 163 | B9EB8A451EF0C5AD75094EEE /* Pods-SwiftWarplyFramework.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwiftWarplyFramework.release.xcconfig"; path = "Target Support Files/Pods-SwiftWarplyFramework/Pods-SwiftWarplyFramework.release.xcconfig"; sourceTree = "<group>"; }; |
162 | C0D5F56DD4E5371A50AD2D87 /* Pods_SwiftWarplyFramework.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SwiftWarplyFramework.framework; sourceTree = BUILT_PRODUCTS_DIR; }; | 164 | C0D5F56DD4E5371A50AD2D87 /* Pods_SwiftWarplyFramework.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SwiftWarplyFramework.framework; sourceTree = BUILT_PRODUCTS_DIR; }; |
... | @@ -341,6 +343,7 @@ | ... | @@ -341,6 +343,7 @@ |
341 | E6A77850282933340045BBA8 /* SwiftWarplyFramework */ = { | 343 | E6A77850282933340045BBA8 /* SwiftWarplyFramework */ = { |
342 | isa = PBXGroup; | 344 | isa = PBXGroup; |
343 | children = ( | 345 | children = ( |
346 | + A02F34042882B6E60086465F /* TelcoViewController.swift */, | ||
344 | E6A7785E282933E40045BBA8 /* CouponsViewController.swift */, | 347 | E6A7785E282933E40045BBA8 /* CouponsViewController.swift */, |
345 | 1EA1AF092835346A008998AA /* CouponsTableViewCell.swift */, | 348 | 1EA1AF092835346A008998AA /* CouponsTableViewCell.swift */, |
346 | E6A7785D282933E40045BBA8 /* CouponViewController.swift */, | 349 | E6A7785D282933E40045BBA8 /* CouponViewController.swift */, |
... | @@ -765,6 +768,7 @@ | ... | @@ -765,6 +768,7 @@ |
765 | E6A7791E282933E60045BBA8 /* WLSMSActionHanlder.m in Sources */, | 768 | E6A7791E282933E60045BBA8 /* WLSMSActionHanlder.m in Sources */, |
766 | E6A778F5282933E60045BBA8 /* WLCustomNativeAdTableViewCell.m in Sources */, | 769 | E6A778F5282933E60045BBA8 /* WLCustomNativeAdTableViewCell.m in Sources */, |
767 | 1EB5F4C828536FD60016F36E /* StepsViewController.swift in Sources */, | 770 | 1EB5F4C828536FD60016F36E /* StepsViewController.swift in Sources */, |
771 | + A02F34052882B6E60086465F /* TelcoViewController.swift in Sources */, | ||
768 | E6A77901282933E60045BBA8 /* WLBaseItem.m in Sources */, | 772 | E6A77901282933E60045BBA8 /* WLBaseItem.m in Sources */, |
769 | 1E74838D28378AF40042A589 /* CouponBarcodeViewController.swift in Sources */, | 773 | 1E74838D28378AF40042A589 /* CouponBarcodeViewController.swift in Sources */, |
770 | E6A778F0282933E60045BBA8 /* WLNativeAdsCollectionMode.m in Sources */, | 774 | E6A778F0282933E60045BBA8 /* WLNativeAdsCollectionMode.m in Sources */, | ... | ... |
No preview for this file type
... | @@ -615,19 +615,19 @@ | ... | @@ -615,19 +615,19 @@ |
615 | <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="2" translatesAutoresizingMaskIntoConstraints="NO" id="MCY-xv-vpg"> | 615 | <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="2" translatesAutoresizingMaskIntoConstraints="NO" id="MCY-xv-vpg"> |
616 | <rect key="frame" x="20" y="20" width="254" height="60.5"/> | 616 | <rect key="frame" x="20" y="20" width="254" height="60.5"/> |
617 | <subviews> | 617 | <subviews> |
618 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Ενεργός κωδικός:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ucC-u4-AQL"> | 618 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="Ενεργός κωδικός:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ucC-u4-AQL"> |
619 | <rect key="frame" x="0.0" y="0.0" width="254" height="21.5"/> | 619 | <rect key="frame" x="0.0" y="0.0" width="254" height="21.5"/> |
620 | <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="18"/> | 620 | <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="18"/> |
621 | <color key="textColor" red="0.23529411759999999" green="0.32549019610000002" blue="0.39607843139999999" alpha="1" colorSpace="calibratedRGB"/> | 621 | <color key="textColor" red="0.23529411759999999" green="0.32549019610000002" blue="0.39607843139999999" alpha="1" colorSpace="calibratedRGB"/> |
622 | <nil key="highlightedColor"/> | 622 | <nil key="highlightedColor"/> |
623 | </label> | 623 | </label> |
624 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="961544809" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="qBe-Jw-QUx"> | 624 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="961544809" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="qBe-Jw-QUx"> |
625 | <rect key="frame" x="0.0" y="23.5" width="254" height="21.5"/> | 625 | <rect key="frame" x="0.0" y="23.5" width="254" height="21.5"/> |
626 | <fontDescription key="fontDescription" type="system" weight="heavy" pointSize="18"/> | 626 | <fontDescription key="fontDescription" type="system" weight="heavy" pointSize="18"/> |
627 | <color key="textColor" red="0.23529411759999999" green="0.32549019610000002" blue="0.39607843139999999" alpha="1" colorSpace="calibratedRGB"/> | 627 | <color key="textColor" red="0.23529411759999999" green="0.32549019610000002" blue="0.39607843139999999" alpha="1" colorSpace="calibratedRGB"/> |
628 | <nil key="highlightedColor"/> | 628 | <nil key="highlightedColor"/> |
629 | </label> | 629 | </label> |
630 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Λήγει σε 4 ημέρες" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="qL0-3b-eqA"> | 630 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="Λήγει σε 4 ημέρες" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="qL0-3b-eqA"> |
631 | <rect key="frame" x="0.0" y="47" width="254" height="13.5"/> | 631 | <rect key="frame" x="0.0" y="47" width="254" height="13.5"/> |
632 | <fontDescription key="fontDescription" type="system" weight="medium" pointSize="11"/> | 632 | <fontDescription key="fontDescription" type="system" weight="medium" pointSize="11"/> |
633 | <color key="textColor" red="0.2274509804" green="0.32156862749999998" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> | 633 | <color key="textColor" red="0.2274509804" green="0.32156862749999998" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> |
... | @@ -1745,6 +1745,118 @@ | ... | @@ -1745,6 +1745,118 @@ |
1745 | </objects> | 1745 | </objects> |
1746 | <point key="canvasLocation" x="3590" y="144"/> | 1746 | <point key="canvasLocation" x="3590" y="144"/> |
1747 | </scene> | 1747 | </scene> |
1748 | + <!--Telco View Controller--> | ||
1749 | + <scene sceneID="eiY-GQ-hTe"> | ||
1750 | + <objects> | ||
1751 | + <viewController storyboardIdentifier="TelcoViewController" id="lMR-D4-SOW" customClass="TelcoViewController" customModule="SwiftWarplyFramework" customModuleProvider="target" sceneMemberID="viewController"> | ||
1752 | + <view key="view" contentMode="scaleToFill" id="x5a-8c-FEK"> | ||
1753 | + <rect key="frame" x="0.0" y="0.0" width="414" height="896"/> | ||
1754 | + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | ||
1755 | + <subviews> | ||
1756 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="8dQ-SF-Z4E"> | ||
1757 | + <rect key="frame" x="0.0" y="44" width="414" height="852"/> | ||
1758 | + <subviews> | ||
1759 | + <scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" ambiguous="YES" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" translatesAutoresizingMaskIntoConstraints="NO" id="AUR-1f-OXi"> | ||
1760 | + <rect key="frame" x="0.0" y="5" width="414" height="847"/> | ||
1761 | + <subviews> | ||
1762 | + <view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="YmP-9y-EV0"> | ||
1763 | + <rect key="frame" x="0.0" y="0.0" width="414" height="852"/> | ||
1764 | + <subviews> | ||
1765 | + <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="QlP-ct-u6O"> | ||
1766 | + <rect key="frame" x="0.0" y="0.0" width="414" height="200"/> | ||
1767 | + <constraints> | ||
1768 | + <constraint firstAttribute="height" constant="200" id="v6r-oa-0XG"/> | ||
1769 | + </constraints> | ||
1770 | + </imageView> | ||
1771 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="title" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="XJ0-lK-2fk"> | ||
1772 | + <rect key="frame" x="20" y="230" width="374" height="19.5"/> | ||
1773 | + <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="16"/> | ||
1774 | + <color key="textColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="0.84705882349999995" colorSpace="calibratedRGB"/> | ||
1775 | + <nil key="highlightedColor"/> | ||
1776 | + </label> | ||
1777 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="description" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Toi-hN-Bn7"> | ||
1778 | + <rect key="frame" x="20" y="274.5" width="374" height="19.5"/> | ||
1779 | + <fontDescription key="fontDescription" type="system" pointSize="16"/> | ||
1780 | + <color key="textColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="0.84705882349999995" colorSpace="calibratedRGB"/> | ||
1781 | + <nil key="highlightedColor"/> | ||
1782 | + </label> | ||
1783 | + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="uDO-0Z-xFa"> | ||
1784 | + <rect key="frame" x="83" y="394" width="248" height="50"/> | ||
1785 | + <constraints> | ||
1786 | + <constraint firstAttribute="height" constant="50" id="Mve-Wm-jeX"/> | ||
1787 | + </constraints> | ||
1788 | + <fontDescription key="fontDescription" type="system" weight="medium" pointSize="15"/> | ||
1789 | + <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/> | ||
1790 | + <state key="normal" title="Ενεργοποίηση"> | ||
1791 | + <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
1792 | + </state> | ||
1793 | + <connections> | ||
1794 | + <action selector="redeemButtomAction:" destination="lMR-D4-SOW" eventType="touchUpInside" id="Eag-vM-YHG"/> | ||
1795 | + </connections> | ||
1796 | + </button> | ||
1797 | + </subviews> | ||
1798 | + <color key="backgroundColor" systemColor="systemBackgroundColor"/> | ||
1799 | + <constraints> | ||
1800 | + <constraint firstItem="QlP-ct-u6O" firstAttribute="top" secondItem="YmP-9y-EV0" secondAttribute="top" id="2z7-Gk-jiP"/> | ||
1801 | + <constraint firstItem="uDO-0Z-xFa" firstAttribute="centerX" secondItem="YmP-9y-EV0" secondAttribute="centerX" id="3jp-jm-qXu"/> | ||
1802 | + <constraint firstItem="Toi-hN-Bn7" firstAttribute="top" secondItem="XJ0-lK-2fk" secondAttribute="bottom" constant="25" id="A5L-XB-0ef"/> | ||
1803 | + <constraint firstAttribute="trailing" secondItem="QlP-ct-u6O" secondAttribute="trailing" id="Bv6-ZV-dmS"/> | ||
1804 | + <constraint firstItem="XJ0-lK-2fk" firstAttribute="top" secondItem="QlP-ct-u6O" secondAttribute="bottom" constant="30" id="QVa-2f-1RG"/> | ||
1805 | + <constraint firstAttribute="trailing" secondItem="XJ0-lK-2fk" secondAttribute="trailing" constant="20" id="cco-tR-YlH"/> | ||
1806 | + <constraint firstItem="uDO-0Z-xFa" firstAttribute="width" secondItem="YmP-9y-EV0" secondAttribute="width" multiplier="0.6" id="mxO-XZ-O4t"/> | ||
1807 | + <constraint firstItem="uDO-0Z-xFa" firstAttribute="top" secondItem="Toi-hN-Bn7" secondAttribute="bottom" constant="100" id="oRo-i8-goh"/> | ||
1808 | + <constraint firstItem="XJ0-lK-2fk" firstAttribute="leading" secondItem="YmP-9y-EV0" secondAttribute="leading" constant="20" id="olo-Ei-uC2"/> | ||
1809 | + <constraint firstItem="QlP-ct-u6O" firstAttribute="leading" secondItem="YmP-9y-EV0" secondAttribute="leading" id="pwh-Uf-942"/> | ||
1810 | + <constraint firstAttribute="trailing" secondItem="Toi-hN-Bn7" secondAttribute="trailing" constant="20" id="rV1-Mg-rhg"/> | ||
1811 | + <constraint firstItem="Toi-hN-Bn7" firstAttribute="leading" secondItem="YmP-9y-EV0" secondAttribute="leading" constant="20" id="xyt-Bc-HTA"/> | ||
1812 | + </constraints> | ||
1813 | + </view> | ||
1814 | + </subviews> | ||
1815 | + <constraints> | ||
1816 | + <constraint firstItem="YmP-9y-EV0" firstAttribute="top" secondItem="BMi-Lt-iHA" secondAttribute="top" id="2X3-nx-P0y"/> | ||
1817 | + <constraint firstItem="YmP-9y-EV0" firstAttribute="width" secondItem="lpe-11-PKD" secondAttribute="width" id="4dJ-AL-KX2"/> | ||
1818 | + <constraint firstItem="YmP-9y-EV0" firstAttribute="trailing" secondItem="BMi-Lt-iHA" secondAttribute="trailing" id="ger-jH-F9X"/> | ||
1819 | + <constraint firstItem="YmP-9y-EV0" firstAttribute="bottom" secondItem="BMi-Lt-iHA" secondAttribute="bottom" id="nYA-8c-pEd"/> | ||
1820 | + <constraint firstItem="YmP-9y-EV0" firstAttribute="leading" secondItem="BMi-Lt-iHA" secondAttribute="leading" id="vjO-zb-mWP"/> | ||
1821 | + </constraints> | ||
1822 | + <viewLayoutGuide key="contentLayoutGuide" id="BMi-Lt-iHA"/> | ||
1823 | + <viewLayoutGuide key="frameLayoutGuide" id="lpe-11-PKD"/> | ||
1824 | + </scrollView> | ||
1825 | + </subviews> | ||
1826 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
1827 | + <constraints> | ||
1828 | + <constraint firstItem="AUR-1f-OXi" firstAttribute="top" secondItem="8dQ-SF-Z4E" secondAttribute="top" constant="5" id="2WB-7r-OOO"/> | ||
1829 | + <constraint firstAttribute="bottom" secondItem="AUR-1f-OXi" secondAttribute="bottom" id="4vG-Q8-bNz"/> | ||
1830 | + <constraint firstItem="YmP-9y-EV0" firstAttribute="height" relation="greaterThanOrEqual" secondItem="8dQ-SF-Z4E" secondAttribute="height" id="GdS-pE-6aU"/> | ||
1831 | + <constraint firstAttribute="trailing" secondItem="AUR-1f-OXi" secondAttribute="trailing" id="mNF-0M-9EM"/> | ||
1832 | + <constraint firstItem="AUR-1f-OXi" firstAttribute="leading" secondItem="8dQ-SF-Z4E" secondAttribute="leading" id="p3L-E5-UPD"/> | ||
1833 | + </constraints> | ||
1834 | + </view> | ||
1835 | + </subviews> | ||
1836 | + <viewLayoutGuide key="safeArea" id="oUF-UR-3Da"/> | ||
1837 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
1838 | + <constraints> | ||
1839 | + <constraint firstItem="8dQ-SF-Z4E" firstAttribute="leading" secondItem="x5a-8c-FEK" secondAttribute="leading" id="71e-yX-ddZ"/> | ||
1840 | + <constraint firstItem="8dQ-SF-Z4E" firstAttribute="top" secondItem="oUF-UR-3Da" secondAttribute="top" id="KIj-B3-dEW"/> | ||
1841 | + <constraint firstAttribute="bottom" secondItem="8dQ-SF-Z4E" secondAttribute="bottom" id="ajY-pn-DOn"/> | ||
1842 | + <constraint firstAttribute="trailing" secondItem="8dQ-SF-Z4E" secondAttribute="trailing" id="mpt-Er-6mP"/> | ||
1843 | + </constraints> | ||
1844 | + </view> | ||
1845 | + <connections> | ||
1846 | + <outlet property="activateButton" destination="uDO-0Z-xFa" id="6NV-GA-IC0"/> | ||
1847 | + <outlet property="descriptionLabel" destination="Toi-hN-Bn7" id="qYG-6U-TAp"/> | ||
1848 | + <outlet property="heroImage" destination="QlP-ct-u6O" id="7vO-MW-0x2"/> | ||
1849 | + <outlet property="heroImageHeight" destination="v6r-oa-0XG" id="KD0-M1-h02"/> | ||
1850 | + <outlet property="mainView" destination="8dQ-SF-Z4E" id="yan-Lq-3QM"/> | ||
1851 | + <outlet property="nameLabel" destination="XJ0-lK-2fk" id="eEp-v7-JdY"/> | ||
1852 | + <outlet property="scrollContentView" destination="YmP-9y-EV0" id="MDD-gR-b1F"/> | ||
1853 | + <outlet property="scrollView" destination="AUR-1f-OXi" id="B9w-Iy-vob"/> | ||
1854 | + </connections> | ||
1855 | + </viewController> | ||
1856 | + <placeholder placeholderIdentifier="IBFirstResponder" id="UAL-zF-u8I" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/> | ||
1857 | + </objects> | ||
1858 | + <point key="canvasLocation" x="4290" y="144"/> | ||
1859 | + </scene> | ||
1748 | </scenes> | 1860 | </scenes> |
1749 | <resources> | 1861 | <resources> |
1750 | <image name="active_code_logo" width="69.5" height="69"/> | 1862 | <image name="active_code_logo" width="69.5" height="69"/> | ... | ... |
1 | +// | ||
2 | +// TelcoViewController.swift | ||
3 | +// WarplySDKFrameworkIOS | ||
4 | +// | ||
5 | +// Created by Manos Chorianopoulos on 16/7/22. | ||
6 | +// | ||
7 | + | ||
8 | +import UIKit | ||
9 | + | ||
10 | +@objc public class TelcoViewController: UIViewController { | ||
11 | + @IBOutlet weak var mainView: UIView! | ||
12 | + @IBOutlet weak var scrollView: UIScrollView! | ||
13 | + @IBOutlet weak var scrollContentView: UIView! | ||
14 | + @IBOutlet weak var heroImage: UIImageView! | ||
15 | + @IBOutlet weak var heroImageHeight: NSLayoutConstraint! | ||
16 | + @IBOutlet weak var nameLabel: UILabel! | ||
17 | + @IBOutlet weak var descriptionLabel: UILabel! | ||
18 | + @IBOutlet weak var activateButton: UIButton! | ||
19 | + | ||
20 | + let uiscreen: CGRect = UIScreen.main.bounds | ||
21 | + | ||
22 | + // TODO: modify this | ||
23 | + public var couponset: swiftApi.CouponSetItemModel? | ||
24 | + | ||
25 | + public override func viewDidLoad() { | ||
26 | + | ||
27 | + super.viewDidLoad() | ||
28 | + | ||
29 | + self.hidesBottomBarWhenPushed = true | ||
30 | + | ||
31 | + // Do any additional setup after loading the view. | ||
32 | + setBackButton() | ||
33 | + setNavigationTitle("Ενεργοποίηση") | ||
34 | + | ||
35 | + scrollView.clipsToBounds = true | ||
36 | + scrollView.layer.cornerRadius = 30 | ||
37 | + scrollView.layer.maskedCorners = [ .layerMinXMinYCorner] // Top left corner radius | ||
38 | + | ||
39 | + heroImage.load(link: couponset?.img_preview ?? "", placeholder: UIImage(), cache: URLCache()) | ||
40 | + heroImage.contentMode = .scaleAspectFill | ||
41 | + heroImageHeight.constant = self.uiscreen.height * 0.25 | ||
42 | + | ||
43 | + nameLabel.text = couponset?.name ?? "" | ||
44 | + descriptionLabel.text = couponset?.short_description ?? "" | ||
45 | + | ||
46 | + activateButton.titleLabel?.font = UIFont.systemFont(ofSize: 15, weight: .semibold) | ||
47 | + activateButton.setTitle("Ενεργοποίηση", for: .normal) | ||
48 | + activateButton.setTitleColor(.white, for: .normal) | ||
49 | + activateButton.backgroundColor = UIColor(red: 0.47, green: 0.75, blue: 0.08, alpha: 1.00) | ||
50 | + activateButton.layer.cornerRadius = 12.0 | ||
51 | + } | ||
52 | + | ||
53 | + // MARK: - Functions | ||
54 | + func activateSetRequest(uuid: String) { | ||
55 | + assertionFailure("to be implemented") | ||
56 | + } | ||
57 | + | ||
58 | + func activateSetCallback (_ response: swiftApi.GenericResponseModel?) -> Void { | ||
59 | + assertionFailure("to be implemented") | ||
60 | + } | ||
61 | + | ||
62 | + // MARK: - Actions | ||
63 | + @IBAction func activateButtomAction(_ sender: Any) { | ||
64 | + activateSetRequest(uuid: couponset?.uuid ?? "") | ||
65 | + } | ||
66 | +} | ||
67 | + |
No preview for this file type
No preview for this file type
-
Please register or login to post a comment