SMScrollView:SMScrollView 是 UIScrollView 的子类,具有扩展功能,如居中缩放视图、双击缩放、缩放以适合等-源码

上传者: 42107165 | 上传时间: 2021-06-22 15:04:35 | 文件大小: 490KB | 文件类型: ZIP
SM滚动视图 SMScrollView是UIScrollView的子类,具有扩展功能,例如居中缩放视图、双击缩放、缩放以适合等。 安装 SMScrollView 可通过。 要安装它,只需将以下行添加到您的 Podfile 中: pod "SMScrollView" 如果您没有使用 ,那么只需将文件从Pod/Classes复制到您的项目中。 描述 SMScrollView 将其delegate的viewForZoomingInScrollView:返回的缩放视图的位置保持在其自身边界的中心。 SMScrollView 具有双击手势来放大和缩小其缩放视图。 具体来说,当其zoomScale == minimumZoomScale ,它将视图放大到点击点和由maximumZoomScale定义的maximumZoomScale 。 否则,当zoomScale > minimumZoomS

文件下载

资源详情

[{"title":"( 43 个子文件 490KB ) SMScrollView:SMScrollView 是 UIScrollView 的子类,具有扩展功能,如居中缩放视图、双击缩放、缩放以适合等-源码","children":[{"title":"SMScrollView-master","children":[{"title":".gitignore <span style='color:#111;'> 267B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 2.62KB </span>","children":null,"spread":false},{"title":"Example","children":[{"title":"Podfile.lock <span style='color:#111;'> 219B </span>","children":null,"spread":false},{"title":"SMScrollView.xcodeproj","children":[{"title":"project.xcworkspace","children":[{"title":"contents.xcworkspacedata <span style='color:#111;'> 157B </span>","children":null,"spread":false}],"spread":true},{"title":"project.pbxproj <span style='color:#111;'> 32.11KB </span>","children":null,"spread":false}],"spread":true},{"title":"Resources","children":[{"title":"Images","children":[{"title":"word-map@2x.png <span style='color:#111;'> 306.76KB </span>","children":null,"spread":false},{"title":"word-map.png <span style='color:#111;'> 144.92KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Pods","children":[{"title":"Pods.xcodeproj","children":[{"title":"project.pbxproj <span style='color:#111;'> 31.74KB </span>","children":null,"spread":false}],"spread":true},{"title":"Manifest.lock <span style='color:#111;'> 219B </span>","children":null,"spread":false},{"title":"Local Podspecs","children":[{"title":"SMScrollView.podspec <span style='color:#111;'> 3.40KB </span>","children":null,"spread":false}],"spread":true},{"title":"Target Support Files","children":[{"title":"Pods-SMScrollView","children":[{"title":"Pods-SMScrollView.debug.xcconfig <span style='color:#111;'> 411B </span>","children":null,"spread":false},{"title":"Pods-SMScrollView-environment.h <span style='color:#111;'> 430B </span>","children":null,"spread":false},{"title":"Pods-SMScrollView.release.xcconfig <span style='color:#111;'> 411B </span>","children":null,"spread":false},{"title":"Pods-SMScrollView-dummy.m <span style='color:#111;'> 138B </span>","children":null,"spread":false},{"title":"Pods-SMScrollView-acknowledgements.markdown <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"Pods-SMScrollView-acknowledgements.plist <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false},{"title":"Pods-SMScrollView-resources.sh <span style='color:#111;'> 3.80KB </span>","children":null,"spread":false}],"spread":true},{"title":"Pods-SMScrollView-SMScrollView","children":[{"title":"Pods-SMScrollView-SMScrollView-dummy.m <span style='color:#111;'> 164B </span>","children":null,"spread":false},{"title":"Pods-SMScrollView-SMScrollView.xcconfig <span style='color:#111;'> 65B </span>","children":null,"spread":false},{"title":"Pods-SMScrollView-SMScrollView-prefix.pch <span style='color:#111;'> 90B </span>","children":null,"spread":false},{"title":"Pods-SMScrollView-SMScrollView-Private.xcconfig <span style='color:#111;'> 365B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Headers","children":[{"title":"Public","children":[{"title":"SMScrollView","children":[{"title":"SMScrollView.h <span style='color:#111;'> 41B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"SMScrollView","children":[{"title":"SMAppDelegate.h <span style='color:#111;'> 282B </span>","children":null,"spread":false},{"title":"SMAppDelegate.m <span style='color:#111;'> 2.33KB </span>","children":null,"spread":false},{"title":"SMViewController.h <span style='color:#111;'> 212B </span>","children":null,"spread":false},{"title":"en.lproj","children":[{"title":"InfoPlist.strings <span style='color:#111;'> 45B </span>","children":null,"spread":false}],"spread":true},{"title":"SMScrollView-Prefix.pch <span style='color:#111;'> 344B </span>","children":null,"spread":false},{"title":"SMViewController.m <span style='color:#111;'> 2.42KB </span>","children":null,"spread":false},{"title":"main.m <span style='color:#111;'> 342B </span>","children":null,"spread":false},{"title":"Images.xcassets","children":[{"title":"LaunchImage.launchimage","children":[{"title":"Contents.json <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false}],"spread":false},{"title":"AppIcon.appiconset","children":[{"title":"Contents.json <span style='color:#111;'> 825B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"SMScrollView-Info.plist <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false}],"spread":true},{"title":"SMScrollView.xcworkspace","children":[{"title":"contents.xcworkspacedata <span style='color:#111;'> 230B </span>","children":null,"spread":false}],"spread":true},{"title":"Podfile <span style='color:#111;'> 135B </span>","children":null,"spread":false},{"title":"SMScrollViewTests","children":[{"title":"SMScrollViewTests.m <span style='color:#111;'> 652B </span>","children":null,"spread":false},{"title":"en.lproj","children":[{"title":"InfoPlist.strings <span style='color:#111;'> 45B </span>","children":null,"spread":false}],"spread":true},{"title":"SMScrollViewTests-Info.plist <span style='color:#111;'> 687B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Pod","children":[{"title":"Assets","children":[{"title":".gitkeep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"Classes","children":[{"title":"SMScrollView.h <span style='color:#111;'> 1.93KB </span>","children":null,"spread":false},{"title":".gitkeep <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"SMScrollView.m <span style='color:#111;'> 8.46KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"SMScrollView.podspec <span style='color:#111;'> 3.30KB </span>","children":null,"spread":false},{"title":"LICENSE.txt <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明