├── MMTableCellAnimation.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ └── contents.xcworkspacedata └── xcuserdata │ └── muku.xcuserdatad │ └── xcschemes │ ├── MMTableCellAnimation.xcscheme │ └── xcschememanagement.plist ├── MMTableCellAnimation ├── Base.lproj │ └── Main.storyboard ├── Images.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ └── LaunchImage.launchimage │ │ └── Contents.json ├── MMAppDelegate.h ├── MMAppDelegate.m ├── MMCell.h ├── MMCell.m ├── MMTableCellAnimation-Info.plist ├── MMTableCellAnimation-Prefix.pch ├── MMViewController.h ├── MMViewController.m ├── en.lproj │ └── InfoPlist.strings ├── five.jpg ├── main.m ├── one.jpg ├── three.png └── two.jpg ├── MMTableCellAnimationTests ├── MMTableCellAnimationTests-Info.plist ├── MMTableCellAnimationTests.m └── en.lproj │ └── InfoPlist.strings └── README.md /MMTableCellAnimation.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | AC7B2C5719EAE96300AC12A5 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AC7B2C5619EAE96300AC12A5 /* Foundation.framework */; }; 11 | AC7B2C5919EAE96300AC12A5 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AC7B2C5819EAE96300AC12A5 /* CoreGraphics.framework */; }; 12 | AC7B2C5B19EAE96300AC12A5 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AC7B2C5A19EAE96300AC12A5 /* UIKit.framework */; }; 13 | AC7B2C6119EAE96300AC12A5 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = AC7B2C5F19EAE96300AC12A5 /* InfoPlist.strings */; }; 14 | AC7B2C6319EAE96300AC12A5 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = AC7B2C6219EAE96300AC12A5 /* main.m */; }; 15 | AC7B2C6719EAE96300AC12A5 /* MMAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = AC7B2C6619EAE96300AC12A5 /* MMAppDelegate.m */; }; 16 | AC7B2C6A19EAE96300AC12A5 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = AC7B2C6819EAE96300AC12A5 /* Main.storyboard */; }; 17 | AC7B2C6D19EAE96300AC12A5 /* MMViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = AC7B2C6C19EAE96300AC12A5 /* MMViewController.m */; }; 18 | AC7B2C6F19EAE96300AC12A5 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = AC7B2C6E19EAE96300AC12A5 /* Images.xcassets */; }; 19 | AC7B2C7619EAE96300AC12A5 /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AC7B2C7519EAE96300AC12A5 /* XCTest.framework */; }; 20 | AC7B2C7719EAE96300AC12A5 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AC7B2C5619EAE96300AC12A5 /* Foundation.framework */; }; 21 | AC7B2C7819EAE96300AC12A5 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AC7B2C5A19EAE96300AC12A5 /* UIKit.framework */; }; 22 | AC7B2C8019EAE96300AC12A5 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = AC7B2C7E19EAE96300AC12A5 /* InfoPlist.strings */; }; 23 | AC7B2C8219EAE96300AC12A5 /* MMTableCellAnimationTests.m in Sources */ = {isa = PBXBuildFile; fileRef = AC7B2C8119EAE96300AC12A5 /* MMTableCellAnimationTests.m */; }; 24 | AC7B2C8F19EAECC600AC12A5 /* five.jpg in Resources */ = {isa = PBXBuildFile; fileRef = AC7B2C8B19EAECC600AC12A5 /* five.jpg */; }; 25 | AC7B2C9019EAECC600AC12A5 /* one.jpg in Resources */ = {isa = PBXBuildFile; fileRef = AC7B2C8C19EAECC600AC12A5 /* one.jpg */; }; 26 | AC7B2C9119EAECC600AC12A5 /* three.png in Resources */ = {isa = PBXBuildFile; fileRef = AC7B2C8D19EAECC600AC12A5 /* three.png */; }; 27 | AC7B2C9219EAECC600AC12A5 /* two.jpg in Resources */ = {isa = PBXBuildFile; fileRef = AC7B2C8E19EAECC600AC12A5 /* two.jpg */; }; 28 | AC7B2C9619EAF41700AC12A5 /* MMCell.m in Sources */ = {isa = PBXBuildFile; fileRef = AC7B2C9519EAF41700AC12A5 /* MMCell.m */; }; 29 | /* End PBXBuildFile section */ 30 | 31 | /* Begin PBXContainerItemProxy section */ 32 | AC7B2C7919EAE96300AC12A5 /* PBXContainerItemProxy */ = { 33 | isa = PBXContainerItemProxy; 34 | containerPortal = AC7B2C4B19EAE96300AC12A5 /* Project object */; 35 | proxyType = 1; 36 | remoteGlobalIDString = AC7B2C5219EAE96300AC12A5; 37 | remoteInfo = MMTableCellAnimation; 38 | }; 39 | /* End PBXContainerItemProxy section */ 40 | 41 | /* Begin PBXFileReference section */ 42 | AC7B2C5319EAE96300AC12A5 /* MMTableCellAnimation.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MMTableCellAnimation.app; sourceTree = BUILT_PRODUCTS_DIR; }; 43 | AC7B2C5619EAE96300AC12A5 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 44 | AC7B2C5819EAE96300AC12A5 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 45 | AC7B2C5A19EAE96300AC12A5 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 46 | AC7B2C5E19EAE96300AC12A5 /* MMTableCellAnimation-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "MMTableCellAnimation-Info.plist"; sourceTree = ""; }; 47 | AC7B2C6019EAE96300AC12A5 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 48 | AC7B2C6219EAE96300AC12A5 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 49 | AC7B2C6419EAE96300AC12A5 /* MMTableCellAnimation-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "MMTableCellAnimation-Prefix.pch"; sourceTree = ""; }; 50 | AC7B2C6519EAE96300AC12A5 /* MMAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MMAppDelegate.h; sourceTree = ""; }; 51 | AC7B2C6619EAE96300AC12A5 /* MMAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MMAppDelegate.m; sourceTree = ""; }; 52 | AC7B2C6919EAE96300AC12A5 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 53 | AC7B2C6B19EAE96300AC12A5 /* MMViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MMViewController.h; sourceTree = ""; }; 54 | AC7B2C6C19EAE96300AC12A5 /* MMViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MMViewController.m; sourceTree = ""; }; 55 | AC7B2C6E19EAE96300AC12A5 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 56 | AC7B2C7419EAE96300AC12A5 /* MMTableCellAnimationTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MMTableCellAnimationTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 57 | AC7B2C7519EAE96300AC12A5 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; 58 | AC7B2C7D19EAE96300AC12A5 /* MMTableCellAnimationTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "MMTableCellAnimationTests-Info.plist"; sourceTree = ""; }; 59 | AC7B2C7F19EAE96300AC12A5 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 60 | AC7B2C8119EAE96300AC12A5 /* MMTableCellAnimationTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MMTableCellAnimationTests.m; sourceTree = ""; }; 61 | AC7B2C8B19EAECC600AC12A5 /* five.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = five.jpg; sourceTree = ""; }; 62 | AC7B2C8C19EAECC600AC12A5 /* one.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = one.jpg; sourceTree = ""; }; 63 | AC7B2C8D19EAECC600AC12A5 /* three.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = three.png; sourceTree = ""; }; 64 | AC7B2C8E19EAECC600AC12A5 /* two.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = two.jpg; sourceTree = ""; }; 65 | AC7B2C9419EAF41700AC12A5 /* MMCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MMCell.h; sourceTree = ""; }; 66 | AC7B2C9519EAF41700AC12A5 /* MMCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MMCell.m; sourceTree = ""; }; 67 | /* End PBXFileReference section */ 68 | 69 | /* Begin PBXFrameworksBuildPhase section */ 70 | AC7B2C5019EAE96300AC12A5 /* Frameworks */ = { 71 | isa = PBXFrameworksBuildPhase; 72 | buildActionMask = 2147483647; 73 | files = ( 74 | AC7B2C5919EAE96300AC12A5 /* CoreGraphics.framework in Frameworks */, 75 | AC7B2C5B19EAE96300AC12A5 /* UIKit.framework in Frameworks */, 76 | AC7B2C5719EAE96300AC12A5 /* Foundation.framework in Frameworks */, 77 | ); 78 | runOnlyForDeploymentPostprocessing = 0; 79 | }; 80 | AC7B2C7119EAE96300AC12A5 /* Frameworks */ = { 81 | isa = PBXFrameworksBuildPhase; 82 | buildActionMask = 2147483647; 83 | files = ( 84 | AC7B2C7619EAE96300AC12A5 /* XCTest.framework in Frameworks */, 85 | AC7B2C7819EAE96300AC12A5 /* UIKit.framework in Frameworks */, 86 | AC7B2C7719EAE96300AC12A5 /* Foundation.framework in Frameworks */, 87 | ); 88 | runOnlyForDeploymentPostprocessing = 0; 89 | }; 90 | /* End PBXFrameworksBuildPhase section */ 91 | 92 | /* Begin PBXGroup section */ 93 | AC7B2C4A19EAE96300AC12A5 = { 94 | isa = PBXGroup; 95 | children = ( 96 | AC7B2C5C19EAE96300AC12A5 /* MMTableCellAnimation */, 97 | AC7B2C7B19EAE96300AC12A5 /* MMTableCellAnimationTests */, 98 | AC7B2C5519EAE96300AC12A5 /* Frameworks */, 99 | AC7B2C5419EAE96300AC12A5 /* Products */, 100 | ); 101 | sourceTree = ""; 102 | }; 103 | AC7B2C5419EAE96300AC12A5 /* Products */ = { 104 | isa = PBXGroup; 105 | children = ( 106 | AC7B2C5319EAE96300AC12A5 /* MMTableCellAnimation.app */, 107 | AC7B2C7419EAE96300AC12A5 /* MMTableCellAnimationTests.xctest */, 108 | ); 109 | name = Products; 110 | sourceTree = ""; 111 | }; 112 | AC7B2C5519EAE96300AC12A5 /* Frameworks */ = { 113 | isa = PBXGroup; 114 | children = ( 115 | AC7B2C5619EAE96300AC12A5 /* Foundation.framework */, 116 | AC7B2C5819EAE96300AC12A5 /* CoreGraphics.framework */, 117 | AC7B2C5A19EAE96300AC12A5 /* UIKit.framework */, 118 | AC7B2C7519EAE96300AC12A5 /* XCTest.framework */, 119 | ); 120 | name = Frameworks; 121 | sourceTree = ""; 122 | }; 123 | AC7B2C5C19EAE96300AC12A5 /* MMTableCellAnimation */ = { 124 | isa = PBXGroup; 125 | children = ( 126 | AC7B2C9319EAEDCE00AC12A5 /* Images */, 127 | AC7B2C6519EAE96300AC12A5 /* MMAppDelegate.h */, 128 | AC7B2C6619EAE96300AC12A5 /* MMAppDelegate.m */, 129 | AC7B2C6819EAE96300AC12A5 /* Main.storyboard */, 130 | AC7B2C6B19EAE96300AC12A5 /* MMViewController.h */, 131 | AC7B2C6C19EAE96300AC12A5 /* MMViewController.m */, 132 | AC7B2C6E19EAE96300AC12A5 /* Images.xcassets */, 133 | AC7B2C5D19EAE96300AC12A5 /* Supporting Files */, 134 | AC7B2C9419EAF41700AC12A5 /* MMCell.h */, 135 | AC7B2C9519EAF41700AC12A5 /* MMCell.m */, 136 | ); 137 | path = MMTableCellAnimation; 138 | sourceTree = ""; 139 | }; 140 | AC7B2C5D19EAE96300AC12A5 /* Supporting Files */ = { 141 | isa = PBXGroup; 142 | children = ( 143 | AC7B2C5E19EAE96300AC12A5 /* MMTableCellAnimation-Info.plist */, 144 | AC7B2C5F19EAE96300AC12A5 /* InfoPlist.strings */, 145 | AC7B2C6219EAE96300AC12A5 /* main.m */, 146 | AC7B2C6419EAE96300AC12A5 /* MMTableCellAnimation-Prefix.pch */, 147 | ); 148 | name = "Supporting Files"; 149 | sourceTree = ""; 150 | }; 151 | AC7B2C7B19EAE96300AC12A5 /* MMTableCellAnimationTests */ = { 152 | isa = PBXGroup; 153 | children = ( 154 | AC7B2C8119EAE96300AC12A5 /* MMTableCellAnimationTests.m */, 155 | AC7B2C7C19EAE96300AC12A5 /* Supporting Files */, 156 | ); 157 | path = MMTableCellAnimationTests; 158 | sourceTree = ""; 159 | }; 160 | AC7B2C7C19EAE96300AC12A5 /* Supporting Files */ = { 161 | isa = PBXGroup; 162 | children = ( 163 | AC7B2C7D19EAE96300AC12A5 /* MMTableCellAnimationTests-Info.plist */, 164 | AC7B2C7E19EAE96300AC12A5 /* InfoPlist.strings */, 165 | ); 166 | name = "Supporting Files"; 167 | sourceTree = ""; 168 | }; 169 | AC7B2C9319EAEDCE00AC12A5 /* Images */ = { 170 | isa = PBXGroup; 171 | children = ( 172 | AC7B2C8B19EAECC600AC12A5 /* five.jpg */, 173 | AC7B2C8C19EAECC600AC12A5 /* one.jpg */, 174 | AC7B2C8D19EAECC600AC12A5 /* three.png */, 175 | AC7B2C8E19EAECC600AC12A5 /* two.jpg */, 176 | ); 177 | name = Images; 178 | sourceTree = ""; 179 | }; 180 | /* End PBXGroup section */ 181 | 182 | /* Begin PBXNativeTarget section */ 183 | AC7B2C5219EAE96300AC12A5 /* MMTableCellAnimation */ = { 184 | isa = PBXNativeTarget; 185 | buildConfigurationList = AC7B2C8519EAE96300AC12A5 /* Build configuration list for PBXNativeTarget "MMTableCellAnimation" */; 186 | buildPhases = ( 187 | AC7B2C4F19EAE96300AC12A5 /* Sources */, 188 | AC7B2C5019EAE96300AC12A5 /* Frameworks */, 189 | AC7B2C5119EAE96300AC12A5 /* Resources */, 190 | ); 191 | buildRules = ( 192 | ); 193 | dependencies = ( 194 | ); 195 | name = MMTableCellAnimation; 196 | productName = MMTableCellAnimation; 197 | productReference = AC7B2C5319EAE96300AC12A5 /* MMTableCellAnimation.app */; 198 | productType = "com.apple.product-type.application"; 199 | }; 200 | AC7B2C7319EAE96300AC12A5 /* MMTableCellAnimationTests */ = { 201 | isa = PBXNativeTarget; 202 | buildConfigurationList = AC7B2C8819EAE96300AC12A5 /* Build configuration list for PBXNativeTarget "MMTableCellAnimationTests" */; 203 | buildPhases = ( 204 | AC7B2C7019EAE96300AC12A5 /* Sources */, 205 | AC7B2C7119EAE96300AC12A5 /* Frameworks */, 206 | AC7B2C7219EAE96300AC12A5 /* Resources */, 207 | ); 208 | buildRules = ( 209 | ); 210 | dependencies = ( 211 | AC7B2C7A19EAE96300AC12A5 /* PBXTargetDependency */, 212 | ); 213 | name = MMTableCellAnimationTests; 214 | productName = MMTableCellAnimationTests; 215 | productReference = AC7B2C7419EAE96300AC12A5 /* MMTableCellAnimationTests.xctest */; 216 | productType = "com.apple.product-type.bundle.unit-test"; 217 | }; 218 | /* End PBXNativeTarget section */ 219 | 220 | /* Begin PBXProject section */ 221 | AC7B2C4B19EAE96300AC12A5 /* Project object */ = { 222 | isa = PBXProject; 223 | attributes = { 224 | CLASSPREFIX = MM; 225 | LastUpgradeCheck = 0510; 226 | ORGANIZATIONNAME = com.muku; 227 | TargetAttributes = { 228 | AC7B2C7319EAE96300AC12A5 = { 229 | TestTargetID = AC7B2C5219EAE96300AC12A5; 230 | }; 231 | }; 232 | }; 233 | buildConfigurationList = AC7B2C4E19EAE96300AC12A5 /* Build configuration list for PBXProject "MMTableCellAnimation" */; 234 | compatibilityVersion = "Xcode 3.2"; 235 | developmentRegion = English; 236 | hasScannedForEncodings = 0; 237 | knownRegions = ( 238 | en, 239 | Base, 240 | ); 241 | mainGroup = AC7B2C4A19EAE96300AC12A5; 242 | productRefGroup = AC7B2C5419EAE96300AC12A5 /* Products */; 243 | projectDirPath = ""; 244 | projectRoot = ""; 245 | targets = ( 246 | AC7B2C5219EAE96300AC12A5 /* MMTableCellAnimation */, 247 | AC7B2C7319EAE96300AC12A5 /* MMTableCellAnimationTests */, 248 | ); 249 | }; 250 | /* End PBXProject section */ 251 | 252 | /* Begin PBXResourcesBuildPhase section */ 253 | AC7B2C5119EAE96300AC12A5 /* Resources */ = { 254 | isa = PBXResourcesBuildPhase; 255 | buildActionMask = 2147483647; 256 | files = ( 257 | AC7B2C9219EAECC600AC12A5 /* two.jpg in Resources */, 258 | AC7B2C6F19EAE96300AC12A5 /* Images.xcassets in Resources */, 259 | AC7B2C9019EAECC600AC12A5 /* one.jpg in Resources */, 260 | AC7B2C9119EAECC600AC12A5 /* three.png in Resources */, 261 | AC7B2C8F19EAECC600AC12A5 /* five.jpg in Resources */, 262 | AC7B2C6119EAE96300AC12A5 /* InfoPlist.strings in Resources */, 263 | AC7B2C6A19EAE96300AC12A5 /* Main.storyboard in Resources */, 264 | ); 265 | runOnlyForDeploymentPostprocessing = 0; 266 | }; 267 | AC7B2C7219EAE96300AC12A5 /* Resources */ = { 268 | isa = PBXResourcesBuildPhase; 269 | buildActionMask = 2147483647; 270 | files = ( 271 | AC7B2C8019EAE96300AC12A5 /* InfoPlist.strings in Resources */, 272 | ); 273 | runOnlyForDeploymentPostprocessing = 0; 274 | }; 275 | /* End PBXResourcesBuildPhase section */ 276 | 277 | /* Begin PBXSourcesBuildPhase section */ 278 | AC7B2C4F19EAE96300AC12A5 /* Sources */ = { 279 | isa = PBXSourcesBuildPhase; 280 | buildActionMask = 2147483647; 281 | files = ( 282 | AC7B2C6719EAE96300AC12A5 /* MMAppDelegate.m in Sources */, 283 | AC7B2C9619EAF41700AC12A5 /* MMCell.m in Sources */, 284 | AC7B2C6D19EAE96300AC12A5 /* MMViewController.m in Sources */, 285 | AC7B2C6319EAE96300AC12A5 /* main.m in Sources */, 286 | ); 287 | runOnlyForDeploymentPostprocessing = 0; 288 | }; 289 | AC7B2C7019EAE96300AC12A5 /* Sources */ = { 290 | isa = PBXSourcesBuildPhase; 291 | buildActionMask = 2147483647; 292 | files = ( 293 | AC7B2C8219EAE96300AC12A5 /* MMTableCellAnimationTests.m in Sources */, 294 | ); 295 | runOnlyForDeploymentPostprocessing = 0; 296 | }; 297 | /* End PBXSourcesBuildPhase section */ 298 | 299 | /* Begin PBXTargetDependency section */ 300 | AC7B2C7A19EAE96300AC12A5 /* PBXTargetDependency */ = { 301 | isa = PBXTargetDependency; 302 | target = AC7B2C5219EAE96300AC12A5 /* MMTableCellAnimation */; 303 | targetProxy = AC7B2C7919EAE96300AC12A5 /* PBXContainerItemProxy */; 304 | }; 305 | /* End PBXTargetDependency section */ 306 | 307 | /* Begin PBXVariantGroup section */ 308 | AC7B2C5F19EAE96300AC12A5 /* InfoPlist.strings */ = { 309 | isa = PBXVariantGroup; 310 | children = ( 311 | AC7B2C6019EAE96300AC12A5 /* en */, 312 | ); 313 | name = InfoPlist.strings; 314 | sourceTree = ""; 315 | }; 316 | AC7B2C6819EAE96300AC12A5 /* Main.storyboard */ = { 317 | isa = PBXVariantGroup; 318 | children = ( 319 | AC7B2C6919EAE96300AC12A5 /* Base */, 320 | ); 321 | name = Main.storyboard; 322 | sourceTree = ""; 323 | }; 324 | AC7B2C7E19EAE96300AC12A5 /* InfoPlist.strings */ = { 325 | isa = PBXVariantGroup; 326 | children = ( 327 | AC7B2C7F19EAE96300AC12A5 /* en */, 328 | ); 329 | name = InfoPlist.strings; 330 | sourceTree = ""; 331 | }; 332 | /* End PBXVariantGroup section */ 333 | 334 | /* Begin XCBuildConfiguration section */ 335 | AC7B2C8319EAE96300AC12A5 /* Debug */ = { 336 | isa = XCBuildConfiguration; 337 | buildSettings = { 338 | ALWAYS_SEARCH_USER_PATHS = NO; 339 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 340 | CLANG_CXX_LIBRARY = "libc++"; 341 | CLANG_ENABLE_MODULES = YES; 342 | CLANG_ENABLE_OBJC_ARC = YES; 343 | CLANG_WARN_BOOL_CONVERSION = YES; 344 | CLANG_WARN_CONSTANT_CONVERSION = YES; 345 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 346 | CLANG_WARN_EMPTY_BODY = YES; 347 | CLANG_WARN_ENUM_CONVERSION = YES; 348 | CLANG_WARN_INT_CONVERSION = YES; 349 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 350 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 351 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 352 | COPY_PHASE_STRIP = NO; 353 | GCC_C_LANGUAGE_STANDARD = gnu99; 354 | GCC_DYNAMIC_NO_PIC = NO; 355 | GCC_OPTIMIZATION_LEVEL = 0; 356 | GCC_PREPROCESSOR_DEFINITIONS = ( 357 | "DEBUG=1", 358 | "$(inherited)", 359 | ); 360 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 361 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 362 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 363 | GCC_WARN_UNDECLARED_SELECTOR = YES; 364 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 365 | GCC_WARN_UNUSED_FUNCTION = YES; 366 | GCC_WARN_UNUSED_VARIABLE = YES; 367 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 368 | ONLY_ACTIVE_ARCH = YES; 369 | SDKROOT = iphoneos; 370 | }; 371 | name = Debug; 372 | }; 373 | AC7B2C8419EAE96300AC12A5 /* Release */ = { 374 | isa = XCBuildConfiguration; 375 | buildSettings = { 376 | ALWAYS_SEARCH_USER_PATHS = NO; 377 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 378 | CLANG_CXX_LIBRARY = "libc++"; 379 | CLANG_ENABLE_MODULES = YES; 380 | CLANG_ENABLE_OBJC_ARC = YES; 381 | CLANG_WARN_BOOL_CONVERSION = YES; 382 | CLANG_WARN_CONSTANT_CONVERSION = YES; 383 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 384 | CLANG_WARN_EMPTY_BODY = YES; 385 | CLANG_WARN_ENUM_CONVERSION = YES; 386 | CLANG_WARN_INT_CONVERSION = YES; 387 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 388 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 389 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 390 | COPY_PHASE_STRIP = YES; 391 | ENABLE_NS_ASSERTIONS = NO; 392 | GCC_C_LANGUAGE_STANDARD = gnu99; 393 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 394 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 395 | GCC_WARN_UNDECLARED_SELECTOR = YES; 396 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 397 | GCC_WARN_UNUSED_FUNCTION = YES; 398 | GCC_WARN_UNUSED_VARIABLE = YES; 399 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 400 | SDKROOT = iphoneos; 401 | VALIDATE_PRODUCT = YES; 402 | }; 403 | name = Release; 404 | }; 405 | AC7B2C8619EAE96300AC12A5 /* Debug */ = { 406 | isa = XCBuildConfiguration; 407 | buildSettings = { 408 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 409 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 410 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 411 | GCC_PREFIX_HEADER = "MMTableCellAnimation/MMTableCellAnimation-Prefix.pch"; 412 | INFOPLIST_FILE = "MMTableCellAnimation/MMTableCellAnimation-Info.plist"; 413 | PRODUCT_NAME = "$(TARGET_NAME)"; 414 | WRAPPER_EXTENSION = app; 415 | }; 416 | name = Debug; 417 | }; 418 | AC7B2C8719EAE96300AC12A5 /* Release */ = { 419 | isa = XCBuildConfiguration; 420 | buildSettings = { 421 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 422 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 423 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 424 | GCC_PREFIX_HEADER = "MMTableCellAnimation/MMTableCellAnimation-Prefix.pch"; 425 | INFOPLIST_FILE = "MMTableCellAnimation/MMTableCellAnimation-Info.plist"; 426 | PRODUCT_NAME = "$(TARGET_NAME)"; 427 | WRAPPER_EXTENSION = app; 428 | }; 429 | name = Release; 430 | }; 431 | AC7B2C8919EAE96300AC12A5 /* Debug */ = { 432 | isa = XCBuildConfiguration; 433 | buildSettings = { 434 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/MMTableCellAnimation.app/MMTableCellAnimation"; 435 | FRAMEWORK_SEARCH_PATHS = ( 436 | "$(SDKROOT)/Developer/Library/Frameworks", 437 | "$(inherited)", 438 | "$(DEVELOPER_FRAMEWORKS_DIR)", 439 | ); 440 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 441 | GCC_PREFIX_HEADER = "MMTableCellAnimation/MMTableCellAnimation-Prefix.pch"; 442 | GCC_PREPROCESSOR_DEFINITIONS = ( 443 | "DEBUG=1", 444 | "$(inherited)", 445 | ); 446 | INFOPLIST_FILE = "MMTableCellAnimationTests/MMTableCellAnimationTests-Info.plist"; 447 | PRODUCT_NAME = "$(TARGET_NAME)"; 448 | TEST_HOST = "$(BUNDLE_LOADER)"; 449 | WRAPPER_EXTENSION = xctest; 450 | }; 451 | name = Debug; 452 | }; 453 | AC7B2C8A19EAE96300AC12A5 /* Release */ = { 454 | isa = XCBuildConfiguration; 455 | buildSettings = { 456 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/MMTableCellAnimation.app/MMTableCellAnimation"; 457 | FRAMEWORK_SEARCH_PATHS = ( 458 | "$(SDKROOT)/Developer/Library/Frameworks", 459 | "$(inherited)", 460 | "$(DEVELOPER_FRAMEWORKS_DIR)", 461 | ); 462 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 463 | GCC_PREFIX_HEADER = "MMTableCellAnimation/MMTableCellAnimation-Prefix.pch"; 464 | INFOPLIST_FILE = "MMTableCellAnimationTests/MMTableCellAnimationTests-Info.plist"; 465 | PRODUCT_NAME = "$(TARGET_NAME)"; 466 | TEST_HOST = "$(BUNDLE_LOADER)"; 467 | WRAPPER_EXTENSION = xctest; 468 | }; 469 | name = Release; 470 | }; 471 | /* End XCBuildConfiguration section */ 472 | 473 | /* Begin XCConfigurationList section */ 474 | AC7B2C4E19EAE96300AC12A5 /* Build configuration list for PBXProject "MMTableCellAnimation" */ = { 475 | isa = XCConfigurationList; 476 | buildConfigurations = ( 477 | AC7B2C8319EAE96300AC12A5 /* Debug */, 478 | AC7B2C8419EAE96300AC12A5 /* Release */, 479 | ); 480 | defaultConfigurationIsVisible = 0; 481 | defaultConfigurationName = Release; 482 | }; 483 | AC7B2C8519EAE96300AC12A5 /* Build configuration list for PBXNativeTarget "MMTableCellAnimation" */ = { 484 | isa = XCConfigurationList; 485 | buildConfigurations = ( 486 | AC7B2C8619EAE96300AC12A5 /* Debug */, 487 | AC7B2C8719EAE96300AC12A5 /* Release */, 488 | ); 489 | defaultConfigurationIsVisible = 0; 490 | }; 491 | AC7B2C8819EAE96300AC12A5 /* Build configuration list for PBXNativeTarget "MMTableCellAnimationTests" */ = { 492 | isa = XCConfigurationList; 493 | buildConfigurations = ( 494 | AC7B2C8919EAE96300AC12A5 /* Debug */, 495 | AC7B2C8A19EAE96300AC12A5 /* Release */, 496 | ); 497 | defaultConfigurationIsVisible = 0; 498 | }; 499 | /* End XCConfigurationList section */ 500 | }; 501 | rootObject = AC7B2C4B19EAE96300AC12A5 /* Project object */; 502 | } 503 | -------------------------------------------------------------------------------- /MMTableCellAnimation.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /MMTableCellAnimation.xcodeproj/xcuserdata/muku.xcuserdatad/xcschemes/MMTableCellAnimation.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 33 | 39 | 40 | 41 | 42 | 43 | 49 | 50 | 51 | 52 | 61 | 62 | 68 | 69 | 70 | 71 | 72 | 73 | 79 | 80 | 86 | 87 | 88 | 89 | 91 | 92 | 95 | 96 | 97 | -------------------------------------------------------------------------------- /MMTableCellAnimation.xcodeproj/xcuserdata/muku.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | MMTableCellAnimation.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | AC7B2C5219EAE96300AC12A5 16 | 17 | primary 18 | 19 | 20 | AC7B2C7319EAE96300AC12A5 21 | 22 | primary 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /MMTableCellAnimation/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | -------------------------------------------------------------------------------- /MMTableCellAnimation/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "40x40", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "60x60", 16 | "scale" : "2x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /MMTableCellAnimation/Images.xcassets/LaunchImage.launchimage/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "orientation" : "portrait", 5 | "idiom" : "iphone", 6 | "extent" : "full-screen", 7 | "minimum-system-version" : "7.0", 8 | "scale" : "2x" 9 | }, 10 | { 11 | "orientation" : "portrait", 12 | "idiom" : "iphone", 13 | "subtype" : "retina4", 14 | "extent" : "full-screen", 15 | "minimum-system-version" : "7.0", 16 | "scale" : "2x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /MMTableCellAnimation/MMAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // MMAppDelegate.h 3 | // MMTableCellAnimation 4 | // 5 | // Created by muku on 12/10/14. 6 | // Copyright (c) 2014 com.muku. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface MMAppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /MMTableCellAnimation/MMAppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // MMAppDelegate.m 3 | // MMTableCellAnimation 4 | // 5 | // Created by muku on 12/10/14. 6 | // Copyright (c) 2014 com.muku. All rights reserved. 7 | // 8 | 9 | #import "MMAppDelegate.h" 10 | 11 | @implementation MMAppDelegate 12 | 13 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 14 | { 15 | // Override point for customization after application launch. 16 | return YES; 17 | } 18 | 19 | - (void)applicationWillResignActive:(UIApplication *)application 20 | { 21 | // 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. 22 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 23 | } 24 | 25 | - (void)applicationDidEnterBackground:(UIApplication *)application 26 | { 27 | // 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. 28 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 29 | } 30 | 31 | - (void)applicationWillEnterForeground:(UIApplication *)application 32 | { 33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | - (void)applicationDidBecomeActive:(UIApplication *)application 37 | { 38 | // 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. 39 | } 40 | 41 | - (void)applicationWillTerminate:(UIApplication *)application 42 | { 43 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 44 | } 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /MMTableCellAnimation/MMCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // MMCell.h 3 | // MMTableCellAnimation 4 | // 5 | // Created by muku on 12/10/14. 6 | // Copyright (c) 2014 com.muku. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface MMCell : UITableViewCell 12 | @property (weak, nonatomic) IBOutlet UIImageView *mmimageView; 13 | @property (weak, nonatomic) IBOutlet UILabel *mmlabel; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /MMTableCellAnimation/MMCell.m: -------------------------------------------------------------------------------- 1 | // 2 | // MMCell.m 3 | // MMTableCellAnimation 4 | // 5 | // Created by muku on 12/10/14. 6 | // Copyright (c) 2014 com.muku. All rights reserved. 7 | // 8 | 9 | #import "MMCell.h" 10 | 11 | @implementation MMCell 12 | 13 | - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier 14 | { 15 | self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]; 16 | if (self) { 17 | // Initialization code 18 | } 19 | return self; 20 | } 21 | 22 | - (void)awakeFromNib 23 | { 24 | // Initialization code 25 | } 26 | 27 | - (void)setSelected:(BOOL)selected animated:(BOOL)animated 28 | { 29 | [super setSelected:selected animated:animated]; 30 | 31 | // Configure the view for the selected state 32 | } 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /MMTableCellAnimation/MMTableCellAnimation-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIdentifier 12 | com.muku.${PRODUCT_NAME:rfc1034identifier} 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | LSRequiresIPhoneOS 26 | 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /MMTableCellAnimation/MMTableCellAnimation-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #import 8 | 9 | #ifndef __IPHONE_5_0 10 | #warning "This project uses features only available in iOS SDK 5.0 and later." 11 | #endif 12 | 13 | #ifdef __OBJC__ 14 | #import 15 | #import 16 | #endif 17 | -------------------------------------------------------------------------------- /MMTableCellAnimation/MMViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // MMViewController.h 3 | // MMTableCellAnimation 4 | // 5 | // Created by muku on 12/10/14. 6 | // Copyright (c) 2014 com.muku. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface MMViewController : UIViewController 12 | @property (weak, nonatomic) IBOutlet UITableView *tableView; 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /MMTableCellAnimation/MMViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // MMViewController.m 3 | // MMTableCellAnimation 4 | // 5 | // Created by muku on 12/10/14. 6 | // Copyright (c) 2014 com.muku. All rights reserved. 7 | // 8 | 9 | #import "MMViewController.h" 10 | #import "MMCell.h" 11 | 12 | @interface MMViewController (){ 13 | NSArray *array; 14 | } 15 | 16 | @end 17 | 18 | @implementation MMViewController 19 | 20 | - (void)viewDidLoad 21 | { 22 | [super viewDidLoad]; 23 | // Do any additional setup after loading the view, typically from a nib. 24 | UIImageView *backgrnd=[[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 320, 568)]; 25 | backgrnd.contentMode=UIViewContentModeScaleAspectFit; 26 | 27 | backgrnd.image=[UIImage imageNamed:@"five.jpg"]; 28 | [self.view addSubview:backgrnd]; 29 | [self.view bringSubviewToFront:self.tableView]; 30 | 31 | 32 | for (int i=0; i <100; i++) { 33 | 34 | } 35 | } 36 | 37 | - (void)didReceiveMemoryWarning 38 | { 39 | [super didReceiveMemoryWarning]; 40 | // Dispose of any resources that can be recreated. 41 | } 42 | 43 | 44 | #pragma mark - Table view data source 45 | 46 | - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView 47 | { 48 | return 1; 49 | } 50 | 51 | - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section 52 | { 53 | return 100; 54 | } 55 | 56 | 57 | - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath 58 | { 59 | static NSString *simpleTableIdentifier = @"Cell"; 60 | 61 | MMCell *cell = [tableView dequeueReusableCellWithIdentifier:simpleTableIdentifier]; 62 | 63 | if (cell == nil) { 64 | cell = [[MMCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:simpleTableIdentifier]; 65 | } 66 | 67 | cell.mmlabel.text=@"Iron Man"; 68 | cell.mmlabel.textColor=[UIColor whiteColor]; 69 | 70 | cell.mmimageView.layer.cornerRadius = cell.mmimageView.frame.size.width/2; 71 | cell.mmimageView.clipsToBounds = YES; 72 | 73 | cell.mmimageView.image=[UIImage imageNamed:@"one.jpg"]; 74 | 75 | 76 | return cell; 77 | 78 | } 79 | -(void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath{ 80 | 81 | 82 | //1. Setup the CATransform3D structure 83 | CATransform3D translation; 84 | // rotation = CATransform3DMakeRotation( (90.0*M_PI)/180, 0.0, 0.7, 0.4); 85 | translation = CATransform3DMakeTranslation(0, 480, 0); 86 | //rotation.m34 = 1.0/ -600; 87 | 88 | 89 | //2. Define the initial state (Before the animation) 90 | cell.layer.shadowColor = [[UIColor blackColor]CGColor]; 91 | cell.layer.shadowOffset = CGSizeMake(10, 10); 92 | cell.alpha = 0; 93 | 94 | cell.layer.transform = translation; 95 | cell.layer.anchorPoint = CGPointMake(0, 0.5); 96 | 97 | //!!!FIX for issue #1 Cell position wrong------------ 98 | if(cell.layer.position.x != 0){ 99 | cell.layer.position = CGPointMake(0, cell.layer.position.y); 100 | } 101 | 102 | //4. Define the final state (After the animation) and commit the animation 103 | 104 | [UIView beginAnimations:@"translation" context:NULL]; 105 | [UIView setAnimationDuration:0.8]; 106 | cell.layer.transform = CATransform3DIdentity; 107 | 108 | cell.alpha = 1; 109 | cell.layer.shadowOffset = CGSizeMake(0, 0); 110 | 111 | [UIView commitAnimations]; 112 | } 113 | 114 | @end 115 | -------------------------------------------------------------------------------- /MMTableCellAnimation/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /MMTableCellAnimation/five.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukyasa/MMTableCellAnimation/34e4be1b1d179b647636ca1153961b58714187c1/MMTableCellAnimation/five.jpg -------------------------------------------------------------------------------- /MMTableCellAnimation/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // MMTableCellAnimation 4 | // 5 | // Created by muku on 12/10/14. 6 | // Copyright (c) 2014 com.muku. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "MMAppDelegate.h" 12 | 13 | int main(int argc, char * argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([MMAppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /MMTableCellAnimation/one.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukyasa/MMTableCellAnimation/34e4be1b1d179b647636ca1153961b58714187c1/MMTableCellAnimation/one.jpg -------------------------------------------------------------------------------- /MMTableCellAnimation/three.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukyasa/MMTableCellAnimation/34e4be1b1d179b647636ca1153961b58714187c1/MMTableCellAnimation/three.png -------------------------------------------------------------------------------- /MMTableCellAnimation/two.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mukyasa/MMTableCellAnimation/34e4be1b1d179b647636ca1153961b58714187c1/MMTableCellAnimation/two.jpg -------------------------------------------------------------------------------- /MMTableCellAnimationTests/MMTableCellAnimationTests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | com.muku.${PRODUCT_NAME:rfc1034identifier} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /MMTableCellAnimationTests/MMTableCellAnimationTests.m: -------------------------------------------------------------------------------- 1 | // 2 | // MMTableCellAnimationTests.m 3 | // MMTableCellAnimationTests 4 | // 5 | // Created by muku on 12/10/14. 6 | // Copyright (c) 2014 com.muku. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface MMTableCellAnimationTests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation MMTableCellAnimationTests 16 | 17 | - (void)setUp 18 | { 19 | [super setUp]; 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | } 22 | 23 | - (void)tearDown 24 | { 25 | // Put teardown code here. This method is called after the invocation of each test method in the class. 26 | [super tearDown]; 27 | } 28 | 29 | - (void)testExample 30 | { 31 | XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__); 32 | } 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /MMTableCellAnimationTests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | MMTableCellAnimation 2 | ==================== 3 | 4 | This project is about table cell translation animation 5 | 6 | ![Demo MMTableCellAnimation](http://i.imgur.com/mlnGzSa.gif) 7 | 8 | 9 | Contact Me 10 | ========== 11 | Mukesh Mandora 12 | 13 | Contact: mandoramuku07@gmail.com 14 | 15 | Twitter: http://twitter.com/mukyasa1310 16 | 17 | LinkedIn: https://in.linkedin.com/in/mukeshmandora 18 | 19 | 20 | **Add This Code** 21 | 22 | ```objective-c 23 | -(void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath{ 24 | //1. Setup the CATransform structure 25 | CATransform3D translation; 26 | 27 | translation = CATransform3DMakeTranslation(0, 480, 0); 28 | 29 | //2. Define the initial state (Before the animation) 30 | cell.layer.shadowColor = [[UIColor blackColor]CGColor]; 31 | cell.layer.shadowOffset = CGSizeMake(10, 10); 32 | cell.alpha = 0; 33 | cell.layer.transform = translation; 34 | cell.layer.anchorPoint = CGPointMake(0, 0.5); 35 | //!!!FIX for issue #1 Cell position wrong------------ 36 | if(cell.layer.position.x != 0){ 37 | cell.layer.position = CGPointMake(0, cell.layer.position.y); 38 | } 39 | 40 | //4. Define the final state (After the animation) and commit the animation 41 | [UIView beginAnimations:@"translation" context:NULL]; 42 | [UIView setAnimationDuration:0.8]; 43 | cell.layer.transform = CATransform3DIdentity; 44 | cell.alpha = 1; 45 | cell.layer.shadowOffset = CGSizeMake(0, 0); 46 | [UIView commitAnimations]; 47 | } 48 | ``` 49 | --------------------------------------------------------------------------------