diff --git a/Sample Project/Classes/RootViewController.m b/Sample Project/Classes/RootViewController.m index c5f3381..0e56b27 100644 --- a/Sample Project/Classes/RootViewController.m +++ b/Sample Project/Classes/RootViewController.m @@ -40,7 +40,7 @@ - (void)viewDidLoad { arrayOfItems = [[NSMutableArray alloc] initWithCapacity:numberOfItems]; for (NSUInteger i = 0; i < numberOfItems; ++i) - [arrayOfItems addObject:[NSString stringWithFormat:@"Item #%i", i + 1]]; + [arrayOfItems addObject:[NSString stringWithFormat:@"Item #%@", @(i + 1)]]; } } diff --git a/Sample Project/Default-568h@2x.png b/Sample Project/Default-568h@2x.png new file mode 100644 index 0000000..0891b7a Binary files /dev/null and b/Sample Project/Default-568h@2x.png differ diff --git a/Sample Project/Reordering.xcodeproj/project.pbxproj b/Sample Project/Reordering.xcodeproj/project.pbxproj index 1b28793..b5fdc63 100755 --- a/Sample Project/Reordering.xcodeproj/project.pbxproj +++ b/Sample Project/Reordering.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 45; + objectVersion = 46; objects = { /* Begin PBXBuildFile section */ @@ -15,6 +15,7 @@ 28AD73600D9D9599002E5188 /* MainWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 28AD735F0D9D9599002E5188 /* MainWindow.xib */; }; 28C286E10D94DF7D0034E888 /* RootViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 28C286E00D94DF7D0034E888 /* RootViewController.m */; }; 28F335F11007B36200424DE2 /* RootViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 28F335F01007B36200424DE2 /* RootViewController.xib */; }; + 94FDDC8B1B063E7200EC8E7E /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 94FDDC8A1B063E7200EC8E7E /* Default-568h@2x.png */; }; C338732F12CE80FD006F6950 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C338732E12CE80FD006F6950 /* QuartzCore.framework */; }; C33CD2841342BE0900560354 /* ATSDragToReorderTableViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C33CD2831342BE0900560354 /* ATSDragToReorderTableViewController.m */; }; /* End PBXBuildFile section */ @@ -33,6 +34,7 @@ 28F335F01007B36200424DE2 /* RootViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = RootViewController.xib; sourceTree = ""; }; 29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 8D1107310486CEB800E47090 /* Reordering-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "Reordering-Info.plist"; plistStructureDefinitionIdentifier = "com.apple.xcode.plist.structure-definition.iphone.info-plist"; sourceTree = ""; }; + 94FDDC8A1B063E7200EC8E7E /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = ""; }; C338732E12CE80FD006F6950 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; }; C33CD2821342BE0900560354 /* ATSDragToReorderTableViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ATSDragToReorderTableViewController.h; path = ../ATSDragToReorderTableViewController.h; sourceTree = ""; }; C33CD2831342BE0900560354 /* ATSDragToReorderTableViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = ATSDragToReorderTableViewController.m; path = ../ATSDragToReorderTableViewController.m; sourceTree = ""; }; @@ -75,6 +77,7 @@ 29B97314FDCFA39411CA2CEA /* CustomTemplate */ = { isa = PBXGroup; children = ( + 94FDDC8A1B063E7200EC8E7E /* Default-568h@2x.png */, 080E96DDFE201D6D7F000001 /* Classes */, 29B97315FDCFA39411CA2CEA /* Other Sources */, 29B97317FDCFA39411CA2CEA /* Resources */, @@ -141,8 +144,11 @@ /* Begin PBXProject section */ 29B97313FDCFA39411CA2CEA /* Project object */ = { isa = PBXProject; + attributes = { + LastUpgradeCheck = 0630; + }; buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "Reordering" */; - compatibilityVersion = "Xcode 3.1"; + compatibilityVersion = "Xcode 3.2"; developmentRegion = English; hasScannedForEncodings = 1; knownRegions = ( @@ -168,6 +174,7 @@ files = ( 28AD73600D9D9599002E5188 /* MainWindow.xib in Resources */, 28F335F11007B36200424DE2 /* RootViewController.xib in Resources */, + 94FDDC8B1B063E7200EC8E7E /* Default-568h@2x.png in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -226,12 +233,25 @@ C01FCF4F08A954540054247B /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - ARCHS = "$(ARCHS_STANDARD_32_BIT)"; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_C_LANGUAGE_STANDARD = c99; + GCC_NO_COMMON_BLOCKS = YES; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; + ONLY_ACTIVE_ARCH = YES; PREBINDING = NO; RUN_CLANG_STATIC_ANALYZER = YES; SDKROOT = iphoneos; @@ -241,11 +261,23 @@ C01FCF5008A954540054247B /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - ARCHS = "$(ARCHS_STANDARD_32_BIT)"; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_C_LANGUAGE_STANDARD = c99; + GCC_NO_COMMON_BLOCKS = YES; GCC_VERSION = com.apple.compilers.llvm.clang.1_0; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; PREBINDING = NO; diff --git a/Sample Project/Reordering.xcodeproj/project.xcworkspace/xcshareddata/Reordering.xccheckout b/Sample Project/Reordering.xcodeproj/project.xcworkspace/xcshareddata/Reordering.xccheckout new file mode 100644 index 0000000..8291dfd --- /dev/null +++ b/Sample Project/Reordering.xcodeproj/project.xcworkspace/xcshareddata/Reordering.xccheckout @@ -0,0 +1,41 @@ + + + + + IDESourceControlProjectFavoriteDictionaryKey + + IDESourceControlProjectIdentifier + 5D7FE0D7-0E3D-469C-B446-76A0E24B6F9A + IDESourceControlProjectName + Reordering + IDESourceControlProjectOriginsDictionary + + 5F42430963F32A0F591AFCBD5EEE93B9F12051F6 + github.com:shusta/ReorderingTableViewController.git + + IDESourceControlProjectPath + Sample Project/Reordering.xcodeproj + IDESourceControlProjectRelativeInstallPathDictionary + + 5F42430963F32A0F591AFCBD5EEE93B9F12051F6 + ../../.. + + IDESourceControlProjectURL + github.com:shusta/ReorderingTableViewController.git + IDESourceControlProjectVersion + 111 + IDESourceControlProjectWCCIdentifier + 5F42430963F32A0F591AFCBD5EEE93B9F12051F6 + IDESourceControlProjectWCConfigurations + + + IDESourceControlRepositoryExtensionIdentifierKey + public.vcs.git + IDESourceControlWCCIdentifierKey + 5F42430963F32A0F591AFCBD5EEE93B9F12051F6 + IDESourceControlWCCName + ReorderingTableViewController + + + +