From 0af1704d63036639ce9c7cdce446090fa9172df6 Mon Sep 17 00:00:00 2001 From: Vignesh Kumar Date: Thu, 4 Feb 2021 17:31:19 +0530 Subject: [PATCH] Sample project updated --- Examples/SampleSwift/Podfile | 2 +- .../SampleSwift/SampleSwift.xcodeproj/project.pbxproj | 8 +++++--- Examples/SampleSwift/SampleSwift/ViewController.swift | 4 ++-- SwiftCSVExportTests/SwiftCSVExportTests.swift | 2 +- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Examples/SampleSwift/Podfile b/Examples/SampleSwift/Podfile index 5f82815..244a780 100644 --- a/Examples/SampleSwift/Podfile +++ b/Examples/SampleSwift/Podfile @@ -8,7 +8,7 @@ target 'SampleSwift' do pod 'SwiftLoggly’ # pod 'SwiftCSVExport' - pod 'SwiftCSVExport', :git => 'https://github.com/vigneshuvi/SwiftCSVExport.git', :tag => '2.0.3' + pod 'SwiftCSVExport', :git => 'https://github.com/vigneshuvi/SwiftCSVExport.git', :tag => '2.4.0' # Pods for SampleSwift diff --git a/Examples/SampleSwift/SampleSwift.xcodeproj/project.pbxproj b/Examples/SampleSwift/SampleSwift.xcodeproj/project.pbxproj index 06e7d9e..443816c 100644 --- a/Examples/SampleSwift/SampleSwift.xcodeproj/project.pbxproj +++ b/Examples/SampleSwift/SampleSwift.xcodeproj/project.pbxproj @@ -243,7 +243,7 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 0810; - LastUpgradeCheck = 1020; + LastUpgradeCheck = 1230; ORGANIZATIONNAME = vigneshuvi; TargetAttributes = { 0B3B6C4B1E3F7105003AE9C4 = { @@ -479,6 +479,7 @@ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; @@ -504,7 +505,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 10.1; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -540,6 +541,7 @@ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; @@ -559,7 +561,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 10.1; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; diff --git a/Examples/SampleSwift/SampleSwift/ViewController.swift b/Examples/SampleSwift/SampleSwift/ViewController.swift index c87f48c..3491ca5 100644 --- a/Examples/SampleSwift/SampleSwift/ViewController.swift +++ b/Examples/SampleSwift/SampleSwift/ViewController.swift @@ -28,9 +28,9 @@ class ViewController: UIViewController { super.viewDidLoad() // Generate CSV file - let user1 = ["userid":107,"name" :"vignesh","email":"vigneshuvi@gmail.com","isValidUser":true,"balance":571.05] as [String : Any] + let user1 = ["userid":107,"name" :"洸藤村","email":"vigneshuvi@gmail.com","isValidUser":true,"balance":571.05] as [String : Any] - let user2 = ["userid":107,"name" :"vinoth","email":"vinoth@gmail.com","isValidUser":false,"balance":567.05] as [String : Any] + let user2 = ["userid":107,"name" :"ŸÉÿߟ֟Ñ","email":"vinoth@gmail.com","isValidUser":false,"balance":567.05] as [String : Any] diff --git a/SwiftCSVExportTests/SwiftCSVExportTests.swift b/SwiftCSVExportTests/SwiftCSVExportTests.swift index 793cdc1..4fa658b 100644 --- a/SwiftCSVExportTests/SwiftCSVExportTests.swift +++ b/SwiftCSVExportTests/SwiftCSVExportTests.swift @@ -38,7 +38,7 @@ class SwiftCSVExportTests: XCTestCase { let user2:NSMutableDictionary = NSMutableDictionary() user2.setObject(108, forKey: "userid" as NSCopying); user2.setObject("vinoth", forKey: "name" as NSCopying); - user2.setObject("vinoth@gmail.com", forKey: "email" as NSCopying); + user2.setObject("ŸÉÿߟ֟Ñ", forKey: "email" as NSCopying); user2.setObject(true, forKey:"isValidUser" as NSCopying) user2.setObject("Hi 'Vinoth!', \nHow are you? \t Shall we meet tomorrow? \r Thanks ", forKey: "message" as NSCopying); user2.setObject(567.50, forKey: "balance" as NSCopying);