UIPanGestureRecognizer流畅手势示范

此例演示 UIPanGestureRecognizer 的流畅手势,以实现图片按钮的拖拽效果。简短精炼的代码(不超过 10 行)易于理解和学习。

zip
UIPanGestureRecognizerDemo.zip 预估大小:18个文件
folder
UIPanGestureRecognizerDemo 文件夹
folder
UIPanGestureRecognizerDemo 文件夹
file
main.m 345B
file
Default.png 6KB
file
AppDelegate.h 373B
file
AppDelegate.m 2KB
file
Default-568h@2x.png 18KB
file
UIPanGestureRecognizerDemo-Prefix.pch 355B
file
UIPanGestureRecognizerDemo-Info.plist 1KB
file
IMG_0017.PNG 183KB
file
Default@2x.png 16KB
file
ViewController.h 292B
file
ViewController.m 1KB
folder
en.lproj 文件夹
file
ViewController.xib 11KB
file
InfoPlist.strings 45B
folder
UIPanGestureRecognizerDemo.xcodeproj 文件夹
folder
project.xcworkspace 文件夹
file
contents.xcworkspacedata 171B
folder
xcuserdata 文件夹
folder
mac.xcuserdatad 文件夹
file
UserInterfaceState.xcuserstate 14KB
file
project.pbxproj 14KB
folder
xcuserdata 文件夹
folder
mac.xcuserdatad 文件夹
folder
xcschemes 文件夹
file
xcschememanagement.plist 498B
file
UIPanGestureRecognizerDemo.xcscheme 3KB
zip 文件大小:217.3KB