IOS-1442 try to reproduce in test project
authorDirk Zimmermann <dz@pep.security>
Thu, 17 Jan 2019 08:33:29 +0100
changeset 7539df2bc06b1496
parent 7538 b6d993c9452b
child 7540 8f510d2d414a
IOS-1442 try to reproduce in test project
testProjects/TableViewReload/TableViewReload.xcodeproj/project.pbxproj
testProjects/TableViewReload/TableViewReload.xcodeproj/project.xcworkspace/contents.xcworkspacedata
testProjects/TableViewReload/TableViewReload.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
testProjects/TableViewReload/TableViewReload/AppDelegate.swift
testProjects/TableViewReload/TableViewReload/Assets.xcassets/AppIcon.appiconset/Contents.json
testProjects/TableViewReload/TableViewReload/Assets.xcassets/Contents.json
testProjects/TableViewReload/TableViewReload/Base.lproj/LaunchScreen.storyboard
testProjects/TableViewReload/TableViewReload/Base.lproj/Main.storyboard
testProjects/TableViewReload/TableViewReload/Info.plist
testProjects/TableViewReload/TableViewReload/ViewController.swift
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/testProjects/TableViewReload/TableViewReload.xcodeproj/project.pbxproj	Thu Jan 17 08:33:29 2019 +0100
     1.3 @@ -0,0 +1,341 @@
     1.4 +// !$*UTF8*$!
     1.5 +{
     1.6 +	archiveVersion = 1;
     1.7 +	classes = {
     1.8 +	};
     1.9 +	objectVersion = 50;
    1.10 +	objects = {
    1.11 +
    1.12 +/* Begin PBXBuildFile section */
    1.13 +		43837C2F21EF59E900B37972 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 43837C2E21EF59E900B37972 /* AppDelegate.swift */; };
    1.14 +		43837C3121EF59E900B37972 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 43837C3021EF59E900B37972 /* ViewController.swift */; };
    1.15 +		43837C3421EF59E900B37972 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 43837C3221EF59E900B37972 /* Main.storyboard */; };
    1.16 +		43837C3621EF59EB00B37972 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 43837C3521EF59EB00B37972 /* Assets.xcassets */; };
    1.17 +		43837C3921EF59EB00B37972 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 43837C3721EF59EB00B37972 /* LaunchScreen.storyboard */; };
    1.18 +/* End PBXBuildFile section */
    1.19 +
    1.20 +/* Begin PBXFileReference section */
    1.21 +		43837C2B21EF59E900B37972 /* TableViewReload.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TableViewReload.app; sourceTree = BUILT_PRODUCTS_DIR; };
    1.22 +		43837C2E21EF59E900B37972 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
    1.23 +		43837C3021EF59E900B37972 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
    1.24 +		43837C3321EF59E900B37972 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
    1.25 +		43837C3521EF59EB00B37972 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
    1.26 +		43837C3821EF59EB00B37972 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
    1.27 +		43837C3A21EF59EB00B37972 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
    1.28 +/* End PBXFileReference section */
    1.29 +
    1.30 +/* Begin PBXFrameworksBuildPhase section */
    1.31 +		43837C2821EF59E900B37972 /* Frameworks */ = {
    1.32 +			isa = PBXFrameworksBuildPhase;
    1.33 +			buildActionMask = 2147483647;
    1.34 +			files = (
    1.35 +			);
    1.36 +			runOnlyForDeploymentPostprocessing = 0;
    1.37 +		};
    1.38 +/* End PBXFrameworksBuildPhase section */
    1.39 +
    1.40 +/* Begin PBXGroup section */
    1.41 +		43837C2221EF59E900B37972 = {
    1.42 +			isa = PBXGroup;
    1.43 +			children = (
    1.44 +				43837C2D21EF59E900B37972 /* TableViewReload */,
    1.45 +				43837C2C21EF59E900B37972 /* Products */,
    1.46 +			);
    1.47 +			sourceTree = "<group>";
    1.48 +		};
    1.49 +		43837C2C21EF59E900B37972 /* Products */ = {
    1.50 +			isa = PBXGroup;
    1.51 +			children = (
    1.52 +				43837C2B21EF59E900B37972 /* TableViewReload.app */,
    1.53 +			);
    1.54 +			name = Products;
    1.55 +			sourceTree = "<group>";
    1.56 +		};
    1.57 +		43837C2D21EF59E900B37972 /* TableViewReload */ = {
    1.58 +			isa = PBXGroup;
    1.59 +			children = (
    1.60 +				43837C2E21EF59E900B37972 /* AppDelegate.swift */,
    1.61 +				43837C3021EF59E900B37972 /* ViewController.swift */,
    1.62 +				43837C3221EF59E900B37972 /* Main.storyboard */,
    1.63 +				43837C3521EF59EB00B37972 /* Assets.xcassets */,
    1.64 +				43837C3721EF59EB00B37972 /* LaunchScreen.storyboard */,
    1.65 +				43837C3A21EF59EB00B37972 /* Info.plist */,
    1.66 +			);
    1.67 +			path = TableViewReload;
    1.68 +			sourceTree = "<group>";
    1.69 +		};
    1.70 +/* End PBXGroup section */
    1.71 +
    1.72 +/* Begin PBXNativeTarget section */
    1.73 +		43837C2A21EF59E900B37972 /* TableViewReload */ = {
    1.74 +			isa = PBXNativeTarget;
    1.75 +			buildConfigurationList = 43837C3D21EF59EB00B37972 /* Build configuration list for PBXNativeTarget "TableViewReload" */;
    1.76 +			buildPhases = (
    1.77 +				43837C2721EF59E900B37972 /* Sources */,
    1.78 +				43837C2821EF59E900B37972 /* Frameworks */,
    1.79 +				43837C2921EF59E900B37972 /* Resources */,
    1.80 +			);
    1.81 +			buildRules = (
    1.82 +			);
    1.83 +			dependencies = (
    1.84 +			);
    1.85 +			name = TableViewReload;
    1.86 +			productName = TableViewReload;
    1.87 +			productReference = 43837C2B21EF59E900B37972 /* TableViewReload.app */;
    1.88 +			productType = "com.apple.product-type.application";
    1.89 +		};
    1.90 +/* End PBXNativeTarget section */
    1.91 +
    1.92 +/* Begin PBXProject section */
    1.93 +		43837C2321EF59E900B37972 /* Project object */ = {
    1.94 +			isa = PBXProject;
    1.95 +			attributes = {
    1.96 +				LastSwiftUpdateCheck = 1010;
    1.97 +				LastUpgradeCheck = 1010;
    1.98 +				ORGANIZATIONNAME = "pEp Security AG";
    1.99 +				TargetAttributes = {
   1.100 +					43837C2A21EF59E900B37972 = {
   1.101 +						CreatedOnToolsVersion = 10.1;
   1.102 +					};
   1.103 +				};
   1.104 +			};
   1.105 +			buildConfigurationList = 43837C2621EF59E900B37972 /* Build configuration list for PBXProject "TableViewReload" */;
   1.106 +			compatibilityVersion = "Xcode 9.3";
   1.107 +			developmentRegion = en;
   1.108 +			hasScannedForEncodings = 0;
   1.109 +			knownRegions = (
   1.110 +				en,
   1.111 +				Base,
   1.112 +			);
   1.113 +			mainGroup = 43837C2221EF59E900B37972;
   1.114 +			productRefGroup = 43837C2C21EF59E900B37972 /* Products */;
   1.115 +			projectDirPath = "";
   1.116 +			projectRoot = "";
   1.117 +			targets = (
   1.118 +				43837C2A21EF59E900B37972 /* TableViewReload */,
   1.119 +			);
   1.120 +		};
   1.121 +/* End PBXProject section */
   1.122 +
   1.123 +/* Begin PBXResourcesBuildPhase section */
   1.124 +		43837C2921EF59E900B37972 /* Resources */ = {
   1.125 +			isa = PBXResourcesBuildPhase;
   1.126 +			buildActionMask = 2147483647;
   1.127 +			files = (
   1.128 +				43837C3921EF59EB00B37972 /* LaunchScreen.storyboard in Resources */,
   1.129 +				43837C3621EF59EB00B37972 /* Assets.xcassets in Resources */,
   1.130 +				43837C3421EF59E900B37972 /* Main.storyboard in Resources */,
   1.131 +			);
   1.132 +			runOnlyForDeploymentPostprocessing = 0;
   1.133 +		};
   1.134 +/* End PBXResourcesBuildPhase section */
   1.135 +
   1.136 +/* Begin PBXSourcesBuildPhase section */
   1.137 +		43837C2721EF59E900B37972 /* Sources */ = {
   1.138 +			isa = PBXSourcesBuildPhase;
   1.139 +			buildActionMask = 2147483647;
   1.140 +			files = (
   1.141 +				43837C3121EF59E900B37972 /* ViewController.swift in Sources */,
   1.142 +				43837C2F21EF59E900B37972 /* AppDelegate.swift in Sources */,
   1.143 +			);
   1.144 +			runOnlyForDeploymentPostprocessing = 0;
   1.145 +		};
   1.146 +/* End PBXSourcesBuildPhase section */
   1.147 +
   1.148 +/* Begin PBXVariantGroup section */
   1.149 +		43837C3221EF59E900B37972 /* Main.storyboard */ = {
   1.150 +			isa = PBXVariantGroup;
   1.151 +			children = (
   1.152 +				43837C3321EF59E900B37972 /* Base */,
   1.153 +			);
   1.154 +			name = Main.storyboard;
   1.155 +			sourceTree = "<group>";
   1.156 +		};
   1.157 +		43837C3721EF59EB00B37972 /* LaunchScreen.storyboard */ = {
   1.158 +			isa = PBXVariantGroup;
   1.159 +			children = (
   1.160 +				43837C3821EF59EB00B37972 /* Base */,
   1.161 +			);
   1.162 +			name = LaunchScreen.storyboard;
   1.163 +			sourceTree = "<group>";
   1.164 +		};
   1.165 +/* End PBXVariantGroup section */
   1.166 +
   1.167 +/* Begin XCBuildConfiguration section */
   1.168 +		43837C3B21EF59EB00B37972 /* Debug */ = {
   1.169 +			isa = XCBuildConfiguration;
   1.170 +			buildSettings = {
   1.171 +				ALWAYS_SEARCH_USER_PATHS = NO;
   1.172 +				CLANG_ANALYZER_NONNULL = YES;
   1.173 +				CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
   1.174 +				CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
   1.175 +				CLANG_CXX_LIBRARY = "libc++";
   1.176 +				CLANG_ENABLE_MODULES = YES;
   1.177 +				CLANG_ENABLE_OBJC_ARC = YES;
   1.178 +				CLANG_ENABLE_OBJC_WEAK = YES;
   1.179 +				CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
   1.180 +				CLANG_WARN_BOOL_CONVERSION = YES;
   1.181 +				CLANG_WARN_COMMA = YES;
   1.182 +				CLANG_WARN_CONSTANT_CONVERSION = YES;
   1.183 +				CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
   1.184 +				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
   1.185 +				CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
   1.186 +				CLANG_WARN_EMPTY_BODY = YES;
   1.187 +				CLANG_WARN_ENUM_CONVERSION = YES;
   1.188 +				CLANG_WARN_INFINITE_RECURSION = YES;
   1.189 +				CLANG_WARN_INT_CONVERSION = YES;
   1.190 +				CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
   1.191 +				CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
   1.192 +				CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
   1.193 +				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
   1.194 +				CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
   1.195 +				CLANG_WARN_STRICT_PROTOTYPES = YES;
   1.196 +				CLANG_WARN_SUSPICIOUS_MOVE = YES;
   1.197 +				CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
   1.198 +				CLANG_WARN_UNREACHABLE_CODE = YES;
   1.199 +				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
   1.200 +				CODE_SIGN_IDENTITY = "iPhone Developer";
   1.201 +				COPY_PHASE_STRIP = NO;
   1.202 +				DEBUG_INFORMATION_FORMAT = dwarf;
   1.203 +				ENABLE_STRICT_OBJC_MSGSEND = YES;
   1.204 +				ENABLE_TESTABILITY = YES;
   1.205 +				GCC_C_LANGUAGE_STANDARD = gnu11;
   1.206 +				GCC_DYNAMIC_NO_PIC = NO;
   1.207 +				GCC_NO_COMMON_BLOCKS = YES;
   1.208 +				GCC_OPTIMIZATION_LEVEL = 0;
   1.209 +				GCC_PREPROCESSOR_DEFINITIONS = (
   1.210 +					"DEBUG=1",
   1.211 +					"$(inherited)",
   1.212 +				);
   1.213 +				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
   1.214 +				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
   1.215 +				GCC_WARN_UNDECLARED_SELECTOR = YES;
   1.216 +				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
   1.217 +				GCC_WARN_UNUSED_FUNCTION = YES;
   1.218 +				GCC_WARN_UNUSED_VARIABLE = YES;
   1.219 +				IPHONEOS_DEPLOYMENT_TARGET = 12.1;
   1.220 +				MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
   1.221 +				MTL_FAST_MATH = YES;
   1.222 +				ONLY_ACTIVE_ARCH = YES;
   1.223 +				SDKROOT = iphoneos;
   1.224 +				SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
   1.225 +				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
   1.226 +			};
   1.227 +			name = Debug;
   1.228 +		};
   1.229 +		43837C3C21EF59EB00B37972 /* Release */ = {
   1.230 +			isa = XCBuildConfiguration;
   1.231 +			buildSettings = {
   1.232 +				ALWAYS_SEARCH_USER_PATHS = NO;
   1.233 +				CLANG_ANALYZER_NONNULL = YES;
   1.234 +				CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
   1.235 +				CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
   1.236 +				CLANG_CXX_LIBRARY = "libc++";
   1.237 +				CLANG_ENABLE_MODULES = YES;
   1.238 +				CLANG_ENABLE_OBJC_ARC = YES;
   1.239 +				CLANG_ENABLE_OBJC_WEAK = YES;
   1.240 +				CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
   1.241 +				CLANG_WARN_BOOL_CONVERSION = YES;
   1.242 +				CLANG_WARN_COMMA = YES;
   1.243 +				CLANG_WARN_CONSTANT_CONVERSION = YES;
   1.244 +				CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
   1.245 +				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
   1.246 +				CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
   1.247 +				CLANG_WARN_EMPTY_BODY = YES;
   1.248 +				CLANG_WARN_ENUM_CONVERSION = YES;
   1.249 +				CLANG_WARN_INFINITE_RECURSION = YES;
   1.250 +				CLANG_WARN_INT_CONVERSION = YES;
   1.251 +				CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
   1.252 +				CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
   1.253 +				CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
   1.254 +				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
   1.255 +				CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
   1.256 +				CLANG_WARN_STRICT_PROTOTYPES = YES;
   1.257 +				CLANG_WARN_SUSPICIOUS_MOVE = YES;
   1.258 +				CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
   1.259 +				CLANG_WARN_UNREACHABLE_CODE = YES;
   1.260 +				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
   1.261 +				CODE_SIGN_IDENTITY = "iPhone Developer";
   1.262 +				COPY_PHASE_STRIP = NO;
   1.263 +				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
   1.264 +				ENABLE_NS_ASSERTIONS = NO;
   1.265 +				ENABLE_STRICT_OBJC_MSGSEND = YES;
   1.266 +				GCC_C_LANGUAGE_STANDARD = gnu11;
   1.267 +				GCC_NO_COMMON_BLOCKS = YES;
   1.268 +				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
   1.269 +				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
   1.270 +				GCC_WARN_UNDECLARED_SELECTOR = YES;
   1.271 +				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
   1.272 +				GCC_WARN_UNUSED_FUNCTION = YES;
   1.273 +				GCC_WARN_UNUSED_VARIABLE = YES;
   1.274 +				IPHONEOS_DEPLOYMENT_TARGET = 12.1;
   1.275 +				MTL_ENABLE_DEBUG_INFO = NO;
   1.276 +				MTL_FAST_MATH = YES;
   1.277 +				SDKROOT = iphoneos;
   1.278 +				SWIFT_COMPILATION_MODE = wholemodule;
   1.279 +				SWIFT_OPTIMIZATION_LEVEL = "-O";
   1.280 +				VALIDATE_PRODUCT = YES;
   1.281 +			};
   1.282 +			name = Release;
   1.283 +		};
   1.284 +		43837C3E21EF59EB00B37972 /* Debug */ = {
   1.285 +			isa = XCBuildConfiguration;
   1.286 +			buildSettings = {
   1.287 +				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
   1.288 +				CODE_SIGN_STYLE = Automatic;
   1.289 +				DEVELOPMENT_TEAM = NQLYU6MGPN;
   1.290 +				INFOPLIST_FILE = TableViewReload/Info.plist;
   1.291 +				LD_RUNPATH_SEARCH_PATHS = (
   1.292 +					"$(inherited)",
   1.293 +					"@executable_path/Frameworks",
   1.294 +				);
   1.295 +				PRODUCT_BUNDLE_IDENTIFIER = security.pEp.apps.TableViewReload;
   1.296 +				PRODUCT_NAME = "$(TARGET_NAME)";
   1.297 +				SWIFT_VERSION = 4.2;
   1.298 +				TARGETED_DEVICE_FAMILY = "1,2";
   1.299 +			};
   1.300 +			name = Debug;
   1.301 +		};
   1.302 +		43837C3F21EF59EB00B37972 /* Release */ = {
   1.303 +			isa = XCBuildConfiguration;
   1.304 +			buildSettings = {
   1.305 +				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
   1.306 +				CODE_SIGN_STYLE = Automatic;
   1.307 +				DEVELOPMENT_TEAM = NQLYU6MGPN;
   1.308 +				INFOPLIST_FILE = TableViewReload/Info.plist;
   1.309 +				LD_RUNPATH_SEARCH_PATHS = (
   1.310 +					"$(inherited)",
   1.311 +					"@executable_path/Frameworks",
   1.312 +				);
   1.313 +				PRODUCT_BUNDLE_IDENTIFIER = security.pEp.apps.TableViewReload;
   1.314 +				PRODUCT_NAME = "$(TARGET_NAME)";
   1.315 +				SWIFT_VERSION = 4.2;
   1.316 +				TARGETED_DEVICE_FAMILY = "1,2";
   1.317 +			};
   1.318 +			name = Release;
   1.319 +		};
   1.320 +/* End XCBuildConfiguration section */
   1.321 +
   1.322 +/* Begin XCConfigurationList section */
   1.323 +		43837C2621EF59E900B37972 /* Build configuration list for PBXProject "TableViewReload" */ = {
   1.324 +			isa = XCConfigurationList;
   1.325 +			buildConfigurations = (
   1.326 +				43837C3B21EF59EB00B37972 /* Debug */,
   1.327 +				43837C3C21EF59EB00B37972 /* Release */,
   1.328 +			);
   1.329 +			defaultConfigurationIsVisible = 0;
   1.330 +			defaultConfigurationName = Release;
   1.331 +		};
   1.332 +		43837C3D21EF59EB00B37972 /* Build configuration list for PBXNativeTarget "TableViewReload" */ = {
   1.333 +			isa = XCConfigurationList;
   1.334 +			buildConfigurations = (
   1.335 +				43837C3E21EF59EB00B37972 /* Debug */,
   1.336 +				43837C3F21EF59EB00B37972 /* Release */,
   1.337 +			);
   1.338 +			defaultConfigurationIsVisible = 0;
   1.339 +			defaultConfigurationName = Release;
   1.340 +		};
   1.341 +/* End XCConfigurationList section */
   1.342 +	};
   1.343 +	rootObject = 43837C2321EF59E900B37972 /* Project object */;
   1.344 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/testProjects/TableViewReload/TableViewReload.xcodeproj/project.xcworkspace/contents.xcworkspacedata	Thu Jan 17 08:33:29 2019 +0100
     2.3 @@ -0,0 +1,7 @@
     2.4 +<?xml version="1.0" encoding="UTF-8"?>
     2.5 +<Workspace
     2.6 +   version = "1.0">
     2.7 +   <FileRef
     2.8 +      location = "self:TableViewReload.xcodeproj">
     2.9 +   </FileRef>
    2.10 +</Workspace>
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/testProjects/TableViewReload/TableViewReload.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist	Thu Jan 17 08:33:29 2019 +0100
     3.3 @@ -0,0 +1,8 @@
     3.4 +<?xml version="1.0" encoding="UTF-8"?>
     3.5 +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
     3.6 +<plist version="1.0">
     3.7 +<dict>
     3.8 +	<key>IDEDidComputeMac32BitWarning</key>
     3.9 +	<true/>
    3.10 +</dict>
    3.11 +</plist>
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/testProjects/TableViewReload/TableViewReload/AppDelegate.swift	Thu Jan 17 08:33:29 2019 +0100
     4.3 @@ -0,0 +1,46 @@
     4.4 +//
     4.5 +//  AppDelegate.swift
     4.6 +//  TableViewReload
     4.7 +//
     4.8 +//  Created by Dirk Zimmermann on 16.01.19.
     4.9 +//  Copyright © 2019 pEp Security AG. All rights reserved.
    4.10 +//
    4.11 +
    4.12 +import UIKit
    4.13 +
    4.14 +@UIApplicationMain
    4.15 +class AppDelegate: UIResponder, UIApplicationDelegate {
    4.16 +
    4.17 +    var window: UIWindow?
    4.18 +
    4.19 +
    4.20 +    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
    4.21 +        // Override point for customization after application launch.
    4.22 +        return true
    4.23 +    }
    4.24 +
    4.25 +    func applicationWillResignActive(_ application: UIApplication) {
    4.26 +        // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
    4.27 +        // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
    4.28 +    }
    4.29 +
    4.30 +    func applicationDidEnterBackground(_ application: UIApplication) {
    4.31 +        // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
    4.32 +        // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
    4.33 +    }
    4.34 +
    4.35 +    func applicationWillEnterForeground(_ application: UIApplication) {
    4.36 +        // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
    4.37 +    }
    4.38 +
    4.39 +    func applicationDidBecomeActive(_ application: UIApplication) {
    4.40 +        // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
    4.41 +    }
    4.42 +
    4.43 +    func applicationWillTerminate(_ application: UIApplication) {
    4.44 +        // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
    4.45 +    }
    4.46 +
    4.47 +
    4.48 +}
    4.49 +
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/testProjects/TableViewReload/TableViewReload/Assets.xcassets/AppIcon.appiconset/Contents.json	Thu Jan 17 08:33:29 2019 +0100
     5.3 @@ -0,0 +1,98 @@
     5.4 +{
     5.5 +  "images" : [
     5.6 +    {
     5.7 +      "idiom" : "iphone",
     5.8 +      "size" : "20x20",
     5.9 +      "scale" : "2x"
    5.10 +    },
    5.11 +    {
    5.12 +      "idiom" : "iphone",
    5.13 +      "size" : "20x20",
    5.14 +      "scale" : "3x"
    5.15 +    },
    5.16 +    {
    5.17 +      "idiom" : "iphone",
    5.18 +      "size" : "29x29",
    5.19 +      "scale" : "2x"
    5.20 +    },
    5.21 +    {
    5.22 +      "idiom" : "iphone",
    5.23 +      "size" : "29x29",
    5.24 +      "scale" : "3x"
    5.25 +    },
    5.26 +    {
    5.27 +      "idiom" : "iphone",
    5.28 +      "size" : "40x40",
    5.29 +      "scale" : "2x"
    5.30 +    },
    5.31 +    {
    5.32 +      "idiom" : "iphone",
    5.33 +      "size" : "40x40",
    5.34 +      "scale" : "3x"
    5.35 +    },
    5.36 +    {
    5.37 +      "idiom" : "iphone",
    5.38 +      "size" : "60x60",
    5.39 +      "scale" : "2x"
    5.40 +    },
    5.41 +    {
    5.42 +      "idiom" : "iphone",
    5.43 +      "size" : "60x60",
    5.44 +      "scale" : "3x"
    5.45 +    },
    5.46 +    {
    5.47 +      "idiom" : "ipad",
    5.48 +      "size" : "20x20",
    5.49 +      "scale" : "1x"
    5.50 +    },
    5.51 +    {
    5.52 +      "idiom" : "ipad",
    5.53 +      "size" : "20x20",
    5.54 +      "scale" : "2x"
    5.55 +    },
    5.56 +    {
    5.57 +      "idiom" : "ipad",
    5.58 +      "size" : "29x29",
    5.59 +      "scale" : "1x"
    5.60 +    },
    5.61 +    {
    5.62 +      "idiom" : "ipad",
    5.63 +      "size" : "29x29",
    5.64 +      "scale" : "2x"
    5.65 +    },
    5.66 +    {
    5.67 +      "idiom" : "ipad",
    5.68 +      "size" : "40x40",
    5.69 +      "scale" : "1x"
    5.70 +    },
    5.71 +    {
    5.72 +      "idiom" : "ipad",
    5.73 +      "size" : "40x40",
    5.74 +      "scale" : "2x"
    5.75 +    },
    5.76 +    {
    5.77 +      "idiom" : "ipad",
    5.78 +      "size" : "76x76",
    5.79 +      "scale" : "1x"
    5.80 +    },
    5.81 +    {
    5.82 +      "idiom" : "ipad",
    5.83 +      "size" : "76x76",
    5.84 +      "scale" : "2x"
    5.85 +    },
    5.86 +    {
    5.87 +      "idiom" : "ipad",
    5.88 +      "size" : "83.5x83.5",
    5.89 +      "scale" : "2x"
    5.90 +    },
    5.91 +    {
    5.92 +      "idiom" : "ios-marketing",
    5.93 +      "size" : "1024x1024",
    5.94 +      "scale" : "1x"
    5.95 +    }
    5.96 +  ],
    5.97 +  "info" : {
    5.98 +    "version" : 1,
    5.99 +    "author" : "xcode"
   5.100 +  }
   5.101 +}
   5.102 \ No newline at end of file
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/testProjects/TableViewReload/TableViewReload/Assets.xcassets/Contents.json	Thu Jan 17 08:33:29 2019 +0100
     6.3 @@ -0,0 +1,6 @@
     6.4 +{
     6.5 +  "info" : {
     6.6 +    "version" : 1,
     6.7 +    "author" : "xcode"
     6.8 +  }
     6.9 +}
    6.10 \ No newline at end of file
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/testProjects/TableViewReload/TableViewReload/Base.lproj/LaunchScreen.storyboard	Thu Jan 17 08:33:29 2019 +0100
     7.3 @@ -0,0 +1,25 @@
     7.4 +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
     7.5 +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
     7.6 +    <dependencies>
     7.7 +        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13104.12"/>
     7.8 +        <capability name="Safe area layout guides" minToolsVersion="9.0"/>
     7.9 +        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
    7.10 +    </dependencies>
    7.11 +    <scenes>
    7.12 +        <!--View Controller-->
    7.13 +        <scene sceneID="EHf-IW-A2E">
    7.14 +            <objects>
    7.15 +                <viewController id="01J-lp-oVM" sceneMemberID="viewController">
    7.16 +                    <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
    7.17 +                        <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
    7.18 +                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
    7.19 +                        <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
    7.20 +                        <viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
    7.21 +                    </view>
    7.22 +                </viewController>
    7.23 +                <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
    7.24 +            </objects>
    7.25 +            <point key="canvasLocation" x="53" y="375"/>
    7.26 +        </scene>
    7.27 +    </scenes>
    7.28 +</document>
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/testProjects/TableViewReload/TableViewReload/Base.lproj/Main.storyboard	Thu Jan 17 08:33:29 2019 +0100
     8.3 @@ -0,0 +1,30 @@
     8.4 +<?xml version="1.0" encoding="UTF-8"?>
     8.5 +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
     8.6 +    <device id="retina4_7" orientation="portrait">
     8.7 +        <adaptation id="fullscreen"/>
     8.8 +    </device>
     8.9 +    <dependencies>
    8.10 +        <deployment identifier="iOS"/>
    8.11 +        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14460.20"/>
    8.12 +        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
    8.13 +    </dependencies>
    8.14 +    <scenes>
    8.15 +        <!--View Controller-->
    8.16 +        <scene sceneID="tne-QT-ifu">
    8.17 +            <objects>
    8.18 +                <viewController id="BYZ-38-t0r" customClass="ViewController" customModule="TableViewReload" customModuleProvider="target" sceneMemberID="viewController">
    8.19 +                    <tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" id="3yj-hY-vyM">
    8.20 +                        <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
    8.21 +                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
    8.22 +                        <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
    8.23 +                        <connections>
    8.24 +                            <outlet property="dataSource" destination="BYZ-38-t0r" id="YaK-X9-VRS"/>
    8.25 +                            <outlet property="delegate" destination="BYZ-38-t0r" id="beN-p0-JaJ"/>
    8.26 +                        </connections>
    8.27 +                    </tableView>
    8.28 +                </viewController>
    8.29 +                <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
    8.30 +            </objects>
    8.31 +        </scene>
    8.32 +    </scenes>
    8.33 +</document>
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/testProjects/TableViewReload/TableViewReload/Info.plist	Thu Jan 17 08:33:29 2019 +0100
     9.3 @@ -0,0 +1,45 @@
     9.4 +<?xml version="1.0" encoding="UTF-8"?>
     9.5 +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
     9.6 +<plist version="1.0">
     9.7 +<dict>
     9.8 +	<key>CFBundleDevelopmentRegion</key>
     9.9 +	<string>$(DEVELOPMENT_LANGUAGE)</string>
    9.10 +	<key>CFBundleExecutable</key>
    9.11 +	<string>$(EXECUTABLE_NAME)</string>
    9.12 +	<key>CFBundleIdentifier</key>
    9.13 +	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
    9.14 +	<key>CFBundleInfoDictionaryVersion</key>
    9.15 +	<string>6.0</string>
    9.16 +	<key>CFBundleName</key>
    9.17 +	<string>$(PRODUCT_NAME)</string>
    9.18 +	<key>CFBundlePackageType</key>
    9.19 +	<string>APPL</string>
    9.20 +	<key>CFBundleShortVersionString</key>
    9.21 +	<string>1.0</string>
    9.22 +	<key>CFBundleVersion</key>
    9.23 +	<string>1</string>
    9.24 +	<key>LSRequiresIPhoneOS</key>
    9.25 +	<true/>
    9.26 +	<key>UILaunchStoryboardName</key>
    9.27 +	<string>LaunchScreen</string>
    9.28 +	<key>UIMainStoryboardFile</key>
    9.29 +	<string>Main</string>
    9.30 +	<key>UIRequiredDeviceCapabilities</key>
    9.31 +	<array>
    9.32 +		<string>armv7</string>
    9.33 +	</array>
    9.34 +	<key>UISupportedInterfaceOrientations</key>
    9.35 +	<array>
    9.36 +		<string>UIInterfaceOrientationPortrait</string>
    9.37 +		<string>UIInterfaceOrientationLandscapeLeft</string>
    9.38 +		<string>UIInterfaceOrientationLandscapeRight</string>
    9.39 +	</array>
    9.40 +	<key>UISupportedInterfaceOrientations~ipad</key>
    9.41 +	<array>
    9.42 +		<string>UIInterfaceOrientationPortrait</string>
    9.43 +		<string>UIInterfaceOrientationPortraitUpsideDown</string>
    9.44 +		<string>UIInterfaceOrientationLandscapeLeft</string>
    9.45 +		<string>UIInterfaceOrientationLandscapeRight</string>
    9.46 +	</array>
    9.47 +</dict>
    9.48 +</plist>
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/testProjects/TableViewReload/TableViewReload/ViewController.swift	Thu Jan 17 08:33:29 2019 +0100
    10.3 @@ -0,0 +1,71 @@
    10.4 +//
    10.5 +//  ViewController.swift
    10.6 +//  TableViewReload
    10.7 +//
    10.8 +//  Created by Dirk Zimmermann on 16.01.19.
    10.9 +//  Copyright © 2019 pEp Security AG. All rights reserved.
   10.10 +//
   10.11 +
   10.12 +import UIKit
   10.13 +
   10.14 +class Model {
   10.15 +    var shouldIncrease = true
   10.16 +    var numRows = 6
   10.17 +}
   10.18 +
   10.19 +class ViewController: UITableViewController {
   10.20 +    override func viewDidLoad() {
   10.21 +        super.viewDidLoad()
   10.22 +        // Do any additional setup after loading the view, typically from a nib.
   10.23 +    }
   10.24 +
   10.25 +    func changeModel() {
   10.26 +        if model.shouldIncrease {
   10.27 +            model.numRows += 1
   10.28 +        } else {
   10.29 +            model.numRows -= 1
   10.30 +        }
   10.31 +        model.shouldIncrease = !model.shouldIncrease
   10.32 +        (view as! UITableView).reloadData()
   10.33 +    }
   10.34 +
   10.35 +    // MARK: - UITableViewDataSource
   10.36 +
   10.37 +    let model = Model()
   10.38 +
   10.39 +    override func numberOfSections(in tableView: UITableView) -> Int {
   10.40 +        return 1
   10.41 +    }
   10.42 +
   10.43 +    override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
   10.44 +        if section == 0 {
   10.45 +            return model.numRows
   10.46 +        }
   10.47 +        return 0
   10.48 +    }
   10.49 +
   10.50 +    override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
   10.51 +        let cellId = "the_cell_id"
   10.52 +
   10.53 +        if indexPath.row >= model.numRows {
   10.54 +            print("*** ERROR")
   10.55 +        }
   10.56 +
   10.57 +        if indexPath.section == 0 {
   10.58 +            let cell = UITableViewCell(style: .default, reuseIdentifier: cellId)
   10.59 +            cell.textLabel?.text = "\(indexPath.row)"
   10.60 +
   10.61 +            if indexPath.row == model.numRows - 1 {
   10.62 +                DispatchQueue.main.async {
   10.63 +                    self.changeModel()
   10.64 +                }
   10.65 +            }
   10.66 +
   10.67 +            return cell
   10.68 +        } else {
   10.69 +            let cell = UITableViewCell(style: .default, reuseIdentifier: cellId)
   10.70 +            cell.textLabel?.text = "ERROR: Wrong section"
   10.71 +            return cell
   10.72 +        }
   10.73 +    }
   10.74 +}